public class XSISAXHandler extends DefaultHandler
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.
XSIElementHandler| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
logger |
protected RootHandler |
rootHandler |
| Constructor and Description |
|---|
XSISAXHandler(URI uri)
Stores the uri being parsed to help resolve relative uris within the document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Implementation of characters. push String
|
void |
endDocument()
Implementation of endDocument.
|
void |
endElement(String namespaceURI,
String localName,
String qName)
Implementation of endElement. push NS,Name
|
void |
error(SAXParseException exception)
Implementation of error.
|
void |
fatalError(SAXParseException exception)
Implementation of fatalError.
|
Schema |
getSchema()
getSchema purpose.
|
void |
setDocumentLocator(Locator locator) |
static void |
setLogLevel(Level l)
Sets the logging level for all the XSISAXHandlers.
|
void |
startDocument()
Implementation of startDocument.
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
Implementation of startElement.
|
void |
startPrefixMapping(String arg0,
String arg1) |
void |
warning(SAXParseException exception)
Implementation of warning.
|
endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, unparsedEntityDeclprotected static final Logger logger
protected RootHandler rootHandler
public XSISAXHandler(URI uri)
uri - public void startPrefixMapping(String arg0, String arg1)
startPrefixMapping in interface ContentHandlerstartPrefixMapping in class DefaultHandlerContentHandler.startPrefixMapping(java.lang.String, java.lang.String)public void endDocument()
endDocument in interface ContentHandlerendDocument in class DefaultHandlerContentHandler.endDocument()public void startDocument()
startDocument in interface ContentHandlerstartDocument in class DefaultHandlerContentHandler.startDocument()public void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerch - start - length - SAXExceptionContentHandler.characters(char[], int, int)public void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlernamespaceURI - localName - qName - SAXExceptionContentHandler.endElement(java.lang.String, java.lang.String,
java.lang.String)public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlernamespaceURI - localName - qName - atts - SAXExceptionContentHandler.startElement(java.lang.String, java.lang.String,
java.lang.String, org.xml.sax.Attributes)public static void setLogLevel(Level l)
l - public Schema getSchema() throws SAXException
This method should be called only after the parse has been completed. This method will then return a compressed schema instance.
SAXExceptionpublic void error(SAXParseException exception)
error in interface ErrorHandlererror in class DefaultHandlerexception - ErrorHandler.error(org.xml.sax.SAXParseException)public void fatalError(SAXParseException exception) throws SAXException
fatalError in interface ErrorHandlerfatalError in class DefaultHandlerexception - SAXExceptionErrorHandler.fatalError(org.xml.sax.SAXParseException)public void warning(SAXParseException exception)
warning in interface ErrorHandlerwarning in class DefaultHandlerexception - ErrorHandler.warning(org.xml.sax.SAXParseException)public void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class DefaultHandlerContentHandler.setDocumentLocator(org.xml.sax.Locator)Copyright © 1996–2019 Geotools. All rights reserved.