public abstract class AbstractTopicMapContentHandler extends DefaultHandler
Modifier and Type | Field and Description |
---|---|
protected LocatorIF |
doc_address
document base uri, used for intra-document references.
|
protected ErrorHandler |
ehandler |
protected Map<String,Object> |
info |
protected Locator |
locator |
protected Stack<String> |
parents |
protected Collection<LocatorIF> |
processed_documents_accumulated |
protected Collection<LocatorIF> |
processed_documents_current |
protected Collection<LocatorIF> |
processed_documents_from_parent |
protected Collection<TopicIF> |
propagated_themes |
Constructor and Description |
---|
AbstractTopicMapContentHandler(LocatorIF base_address) |
AbstractTopicMapContentHandler(LocatorIF base_address,
Collection<LocatorIF> processed_documents_from_parent) |
Modifier and Type | Method and Description |
---|---|
protected ErrorHandler |
getDefaultErrorHandler() |
protected String |
getLocationInfo() |
Collection<TopicIF> |
getPropagatedThemes() |
protected void |
propagateThemes(ScopedIF scoped) |
void |
register(XMLReader parser)
INTERNAL: Registers the content handler with the given XML reader
object.
|
void |
setDocumentLocator(Locator locator) |
void |
setPropagatedThemes(Collection<TopicIF> propagated_themes) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
protected Collection<TopicIF> propagated_themes
protected Collection<LocatorIF> processed_documents_current
protected Collection<LocatorIF> processed_documents_from_parent
protected Collection<LocatorIF> processed_documents_accumulated
protected LocatorIF doc_address
protected Locator locator
protected ErrorHandler ehandler
public AbstractTopicMapContentHandler(LocatorIF base_address)
public AbstractTopicMapContentHandler(LocatorIF base_address, Collection<LocatorIF> processed_documents_from_parent)
public Collection<TopicIF> getPropagatedThemes()
public void setPropagatedThemes(Collection<TopicIF> propagated_themes)
protected void propagateThemes(ScopedIF scoped)
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
setDocumentLocator
in class DefaultHandler
public void register(XMLReader parser)
protected String getLocationInfo()
protected ErrorHandler getDefaultErrorHandler()