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, setPropagatedThemesendPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningprotected 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 ContentHandlerstartDocument in class DefaultHandlerpublic void endDocument()
endDocument in interface ContentHandlerendDocument in class DefaultHandlerpublic void startElement(String uri, String name, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class DefaultHandlerpublic void endElement(String uri, String name, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionprotected LocatorIF getBaseAddress()
protected TopicIF resolveTopicRef(String address) throws SAXException
SAXExceptionprotected void registerSourceLocator(TMObjectIF tmobject, String id)