public class XTMSnifferContentHandler extends DefaultHandler implements DeclHandler, LexicalHandler
Modifier and Type | Field and Description |
---|---|
protected static String |
EMPTY_LOCALNAME |
protected static String |
EMPTY_NAMESPACE |
Constructor and Description |
---|
XTMSnifferContentHandler(XTMTopicMapReader reader,
TopicMapStoreFactoryIF store_factory,
XMLReader parser,
LocatorIF base_address) |
Modifier and Type | Method and Description |
---|---|
void |
attributeDecl(String eName,
String aName,
String type,
String mode,
String value) |
void |
comment(char[] ch,
int start,
int length) |
void |
elementDecl(String name,
String model) |
void |
endCDATA() |
void |
endDocument() |
void |
endDTD() |
void |
endElement(String uri,
String name,
String qname) |
void |
endEntity(String name) |
void |
externalEntityDecl(String name,
String publicId,
String systemId) |
Collection |
getTopicMaps() |
XTMVersion |
getXTMVersion() |
void |
internalEntityDecl(String name,
String value) |
void |
setDocumentLocator(Locator locator) |
void |
startCDATA() |
void |
startDTD(String name,
String publicId,
String systemId) |
void |
startElement_(String uri,
String name,
String qname,
Attributes atts) |
void |
startElement(String uri,
String name,
String qname,
Attributes atts) |
void |
startEntity(String name) |
characters, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected static final String EMPTY_NAMESPACE
protected static final String EMPTY_LOCALNAME
public XTMSnifferContentHandler(XTMTopicMapReader reader, TopicMapStoreFactoryIF store_factory, XMLReader parser, LocatorIF base_address)
public void startElement(String uri, String name, String qname, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void startElement_(String uri, String name, String qname, Attributes atts) throws SAXException
SAXException
public void endElement(String uri, String name, String qname)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
public void endDocument()
endDocument
in interface ContentHandler
endDocument
in class DefaultHandler
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
setDocumentLocator
in class DefaultHandler
public void externalEntityDecl(String name, String publicId, String systemId)
externalEntityDecl
in interface DeclHandler
public void attributeDecl(String eName, String aName, String type, String mode, String value)
attributeDecl
in interface DeclHandler
public void elementDecl(String name, String model)
elementDecl
in interface DeclHandler
public void internalEntityDecl(String name, String value)
internalEntityDecl
in interface DeclHandler
public void startEntity(String name)
startEntity
in interface LexicalHandler
public void endEntity(String name)
endEntity
in interface LexicalHandler
public void comment(char[] ch, int start, int length)
comment
in interface LexicalHandler
public void startCDATA()
startCDATA
in interface LexicalHandler
public void endCDATA()
endCDATA
in interface LexicalHandler
public void startDTD(String name, String publicId, String systemId)
startDTD
in interface LexicalHandler
public void endDTD()
endDTD
in interface LexicalHandler
public Collection getTopicMaps()
public XTMVersion getXTMVersion()