public class XFMLContentHandler extends AbstractTopicMapContentHandler
Modifier and Type | Field and Description |
---|---|
protected LocatorIF |
map_uri |
protected TopicMapStoreFactoryIF |
stores |
doc_address, ehandler, info, locator, parents, processed_documents_accumulated, processed_documents_current, processed_documents_from_parent, propagated_themes
Constructor and Description |
---|
XFMLContentHandler(TopicMapStoreFactoryIF stores,
LocatorIF base_address) |
XFMLContentHandler(TopicMapStoreFactoryIF stores,
LocatorIF base_address,
Collection processed_documents) |
Modifier and Type | Method and Description |
---|---|
protected void |
addItemIdentifier(TopicIF topic,
LocatorIF locator) |
protected void |
addSubjectIdentifier(TopicIF topic,
LocatorIF locator) |
void |
characters(char[] ch,
int start,
int length) |
protected LocatorIF |
createLocator(String address) |
protected LocatorIF |
createURILocator(String address) |
void |
endDocument() |
void |
endElement(String uri,
String name,
String qName) |
protected LocatorIF |
getBaseAddress() |
TopicMapIF |
getTopicMap()
INTERNAL: Gets the topic map found after having parsed the input source.
|
protected void |
registerSourceLocator(TMObjectIF tmobject,
String id) |
protected void |
registerSourceLocator(TopicIF tmobject,
String id) |
protected TopicIF |
resolveTopicRef(String address) |
void |
startDocument() |
void |
startElement(String uri,
String name,
String qName,
Attributes atts) |
getDefaultErrorHandler, getLocationInfo, getPropagatedThemes, propagateThemes, register, setDocumentLocator, setPropagatedThemes
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
protected TopicMapStoreFactoryIF stores
protected LocatorIF map_uri
public XFMLContentHandler(TopicMapStoreFactoryIF stores, LocatorIF base_address)
public XFMLContentHandler(TopicMapStoreFactoryIF stores, LocatorIF base_address, Collection processed_documents)
public TopicMapIF getTopicMap()
public void startDocument()
startDocument
in interface ContentHandler
startDocument
in class DefaultHandler
public void endDocument()
endDocument
in interface ContentHandler
endDocument
in class DefaultHandler
public void startElement(String uri, String name, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
public void endElement(String uri, String name, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
protected LocatorIF getBaseAddress()
protected TopicIF resolveTopicRef(String address) throws SAXException
SAXException
protected void registerSourceLocator(TMObjectIF tmobject, String id)