Class XTMSnifferContentHandler

java.lang.Object
org.xml.sax.helpers.DefaultHandler
net.ontopia.topicmaps.xml.XTMSnifferContentHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler, DeclHandler, LexicalHandler

public class XTMSnifferContentHandler extends DefaultHandler implements DeclHandler, LexicalHandler
INTERNAL: This content handler is used to detect whether the XTM event stream being read is an XTM 1.0 or 2.x document. Once this is clear, the handler configures the parser accordingly with the correct handlers.