| java.lang.Object org.xml.sax.helpers.DefaultHandler org.geotools.xml.XMLSAXHandler
XMLSAXHandler | public class XMLSAXHandler extends DefaultHandler (Code) | | XMLSAXHandler purpose.
This is a schema content handler. Code here has been modified from code
written by Ian Schneider.
This class contains one stack used to store part of the parse tree. The
ElementHandlers found on the stack have direct next handlers placed on the
stack. So here's the warning, be careful to read how you may be affecting
(or forgetting to affect) the stack.
If a FlowHandler implementation is available in the hints, the handler will
periodically check it to see if it should stop parsing. See the FlowHandler
interface.
author: dzwiers, Refractions Research, Inc. http://www.refractions.net author: $Author:$ (last modification) version: $Id: XMLSAXHandler.java 27862 2007-11-12 19:51:19Z desruisseaux $ See Also: XMLElementHandler |
Constructor Summary | |
public | XMLSAXHandler(URI intendedDocument, Map hints)
This contructor is intended to create an XMLSAXHandler to be used when
parsing an XML instance document. | public | XMLSAXHandler(Map hints)
This contructor is intended to create an XMLSAXHandler to be used when
parsing an XML instance document. |
logger | final protected static Logger logger(Code) | | the logger -- should be used for debugging (assuming there are bugs LOL)
|
XMLSAXHandler | public XMLSAXHandler(URI intendedDocument, Map hints)(Code) | |
This contructor is intended to create an XMLSAXHandler to be used when
parsing an XML instance document. The instance document's uri is also
be provided, as this will allow the parser to resolve relative uri's.
Parameters: intendedDocument - Parameters: hints - DOCUMENT ME! |
XMLSAXHandler | public XMLSAXHandler(Map hints)(Code) | |
This contructor is intended to create an XMLSAXHandler to be used when
parsing an XML instance document. The instance document's uri is also
be provided, as this will allow the parser to resolve relative uri's.
Parameters: hints - DOCUMENT ME! |
setLogLevel | public static void setLogLevel(Level l)(Code) | |
Used to set the logger level for all XMLSAXHandlers
Parameters: l - |
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|