|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.xml.XMLElementHandler
org.geotools.xml.handlers.DocumentHandler
Represents the start of an XML document ... serves up elements wrapped in handlers for a specified schema.
| Field Summary | |
static java.lang.String |
DEFAULT_NAMESPACE_HINT_KEY
|
| Fields inherited from class org.geotools.xml.XMLElementHandler |
logger |
| Constructor Summary | |
DocumentHandler(ElementHandlerFactory ehf)
Creates a new DocumentHandler object. |
|
| Method Summary | |
void |
endElement(java.net.URI namespaceURI,
java.lang.String localName,
java.util.Map hints)
handles SAX end Element events. |
Element |
getElement()
This returns the Element specified. |
XMLElementHandler |
getHandler(java.net.URI namespaceURI,
java.lang.String localName,
java.util.Map hints)
This will find an appropriate XMLElementHandler for the specified child if appropriate. |
java.lang.String |
getName()
This returns the name of the element being represented by this handler. |
java.lang.Object |
getValue()
This method will get the value of the element depending on it's type. |
void |
startElement(java.net.URI namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attr)
handles SAX start Element events. |
| Methods inherited from class org.geotools.xml.XMLElementHandler |
characters, setLogLevel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String DEFAULT_NAMESPACE_HINT_KEY
| Constructor Detail |
public DocumentHandler(ElementHandlerFactory ehf)
ehf - ElementHandlerFactory| Method Detail |
public Element getElement()
XMLElementHandler
getElement in class XMLElementHandlerXMLElementHandler.getElement()
public void endElement(java.net.URI namespaceURI,
java.lang.String localName,
java.util.Map hints)
XMLElementHandler
endElement in class XMLElementHandlernamespaceURI - localName - hints - DOCUMENT ME!org.geotools.xml.XMLElementHandler#endElement(java.lang.String,
java.lang.String)
public XMLElementHandler getHandler(java.net.URI namespaceURI,
java.lang.String localName,
java.util.Map hints)
throws org.xml.sax.SAXException
XMLElementHandler
getHandler in class XMLElementHandlernamespaceURI - localName - hints - DOCUMENT ME!
org.xml.sax.SAXExceptionorg.geotools.xml.XMLElementHandler#getHandler(java.lang.String,
java.lang.String)
public void startElement(java.net.URI namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attr)
XMLElementHandler
startElement in class XMLElementHandlernamespaceURI - localName - attr - org.geotools.xml.XMLElementHandler#startElement(java.lang.String,
java.lang.String, org.xml.sax.Attributes)
public java.lang.Object getValue()
throws org.xml.sax.SAXException
XMLElementHandler
getValue in class XMLElementHandlerorg.xml.sax.SAXExceptionXMLElementHandler.getValue()public java.lang.String getName()
XMLElementHandler
getName in class XMLElementHandlerXMLElementHandler.getName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||