|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.xml.XMLElementHandler org.geotools.xml.handlers.ComplexElementHandler
This class is intended to handle parsing an xml element from an instance document for elements who's type is both known and complex. This handler is used within the XMLSAXHandler to handle sax events generated by the SAX parser.
ComplexType
,
Serialized FormField Summary |
Fields inherited from class org.geotools.xml.XMLElementHandler |
logger |
Constructor Summary | |
ComplexElementHandler(ElementHandlerFactory ehf,
Element elem)
Creates a new ComplexElementHandler object for Element elem using ElementHandlerFactory ehf. |
Method Summary | |
void |
characters(java.lang.String text1)
This method throws a SAXNotSupportedException if it is called and not overwritten. |
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)
TODO summary sentence for getHandler ... |
java.lang.String |
getName()
This returns the name of the element being represented by this handler. |
java.lang.Object |
getValue()
TODO summary sentence for getValue ... |
void |
startElement(java.net.URI namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attr1)
TODO summary sentence for startElement ... |
Methods inherited from class org.geotools.xml.XMLElementHandler |
setLogLevel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ComplexElementHandler(ElementHandlerFactory ehf, Element elem) throws org.xml.sax.SAXException
ehf
- ElementHandlerFactoryelem
- Element
org.xml.sax.SAXException
Method Detail |
public Element getElement()
XMLElementHandler
getElement
in class XMLElementHandler
XMLElementHandler.getElement()
public void characters(java.lang.String text1) throws org.xml.sax.SAXException
XMLElementHandler
characters
in class XMLElementHandler
text1
-
org.xml.sax.SAXException
XMLElementHandler.characters(java.lang.String)
public void endElement(java.net.URI namespaceURI, java.lang.String localName, java.util.Map hints) throws javax.naming.OperationNotSupportedException, org.xml.sax.SAXException
XMLElementHandler
endElement
in class XMLElementHandler
namespaceURI
- localName
- hints
-
org.xml.sax.SAXException
javax.naming.OperationNotSupportedException
SchemaContentHandler#endElement
public void startElement(java.net.URI namespaceURI, java.lang.String localName, org.xml.sax.Attributes attr1)
startElement
in class XMLElementHandler
namespaceURI
- localName
- attr1
- XMLElementHandler.startElement(java.net.URI, java.lang.String, org.xml.sax.Attributes)
public XMLElementHandler getHandler(java.net.URI namespaceURI, java.lang.String localName, java.util.Map hints) throws org.xml.sax.SAXException
getHandler
in class XMLElementHandler
namespaceURI
- localName
- hints
-
org.xml.sax.SAXException
XMLElementHandler.getHandler(java.net.URI, java.lang.String, java.util.Map)
public java.lang.Object getValue()
getValue
in class XMLElementHandler
XMLElementHandler.getValue()
public java.lang.String getName()
XMLElementHandler
getName
in class XMLElementHandler
XMLElementHandler.getName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |