public class SimpleElementHandler extends XMLElementHandler
SimpleType
,
XMLElementHandler
,
Serialized Formlogger
Constructor and Description |
---|
SimpleElementHandler(Element st)
Creates a new SimpleElementHandler object.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(String text1)
This method throws a SAXNotSupportedException if it is called and not overwritten.
|
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 attr1)
handles SAX start Element events.
|
setLogLevel
public SimpleElementHandler(Element st)
st
- Element the simple element which we will parsepublic Element getElement()
XMLElementHandler
getElement
in class XMLElementHandler
XMLElementHandler.getElement()
public XMLElementHandler getHandler(URI namespaceURI, String localName, Map hints) throws SAXException
XMLElementHandler
getHandler
in class XMLElementHandler
hints
- DOCUMENT ME!SAXException
org.geotools.xml.XMLElementHandler#getHandler(java.lang.String, java.lang.String)
public Object getValue()
XMLElementHandler
getValue
in class XMLElementHandler
XMLElementHandler.getValue()
public String getName()
XMLElementHandler
getName
in class XMLElementHandler
XMLElementHandler.getName()
public void characters(String text1)
XMLElementHandler
characters
in class XMLElementHandler
XMLElementHandler.characters(java.lang.String)
public void endElement(URI namespaceURI, String localName, Map hints) throws OperationNotSupportedException, SAXException
XMLElementHandler
endElement
in class XMLElementHandler
hints
- DOCUMENT ME!SAXException
OperationNotSupportedException
org.geotools.xml.XMLElementHandler#endElement(java.lang.String, java.lang.String)
public void startElement(URI namespaceURI, String localName, Attributes attr1)
XMLElementHandler
startElement
in class XMLElementHandler
org.geotools.xml.XMLElementHandler#startElement(java.lang.String, java.lang.String,
org.xml.sax.Attributes)
Copyright © 1996–2019 Geotools. All rights reserved.