public class DocumentHandler extends XMLElementHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_NAMESPACE_HINT_KEY
Supplied
Schema for parsing and validation |
logger| Constructor and Description |
|---|
DocumentHandler(ElementHandlerFactory ehf)
Creates a new DocumentHandler object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(URI namespaceURI,
String localName,
Map hints)
handles SAX end Element events.
|
Element |
getElement()
This returns the Element specified.
|
XMLElementHandler |
getHandler(URI namespaceURI,
String localName,
Map hints)
This will find an appropriate XMLElementHandler for the specified child if appropriate.
|
String |
getName()
This returns the name of the element being represented by this handler.
|
Object |
getValue()
This method will get the value of the element depending on it's type.
|
void |
startElement(URI namespaceURI,
String localName,
Attributes attr)
handles SAX start Element events.
|
characters, setLogLevelpublic static final String DEFAULT_NAMESPACE_HINT_KEY
Schema for parsing and validationpublic DocumentHandler(ElementHandlerFactory ehf)
ehf - ElementHandlerFactorypublic Element getElement()
XMLElementHandlergetElement in class XMLElementHandlerXMLElementHandler.getElement()public void endElement(URI namespaceURI, String localName, Map hints)
XMLElementHandlerendElement in class XMLElementHandlerhints - DOCUMENT ME!org.geotools.xml.XMLElementHandler#endElement(java.lang.String, java.lang.String)public XMLElementHandler getHandler(URI namespaceURI, String localName, Map hints) throws SAXException
XMLElementHandlergetHandler in class XMLElementHandlerhints - DOCUMENT ME!SAXExceptionorg.geotools.xml.XMLElementHandler#getHandler(java.lang.String, java.lang.String)public void startElement(URI namespaceURI, String localName, Attributes attr)
XMLElementHandlerstartElement in class XMLElementHandlerorg.geotools.xml.XMLElementHandler#startElement(java.lang.String, java.lang.String,
org.xml.sax.Attributes)public Object getValue() throws SAXException
XMLElementHandlergetValue in class XMLElementHandlerSAXExceptionXMLElementHandler.getValue()public String getName()
XMLElementHandlergetName in class XMLElementHandlerXMLElementHandler.getName()Copyright © 1996–2019 Geotools. All rights reserved.