|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.xml.XMLElementHandler
XSIElementHandler purpose.
This abstract class is intended to act as both a definition of a generic handler.
Field Summary | |
protected static java.util.logging.Logger |
logger
the logger -- should be used for debugging (assuming there are bugs LOL) |
Constructor Summary | |
protected |
XMLElementHandler()
Creates a new XSIElementHandler object. |
Method Summary | |
void |
characters(java.lang.String text)
This method throws a SAXNotSupportedException if it is called and not overwritten. |
abstract void |
endElement(java.net.URI namespaceURI,
java.lang.String localName,
java.util.Map hints)
handles SAX end Element events. |
abstract Element |
getElement()
This returns the Element specified. |
abstract 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. |
abstract java.lang.String |
getName()
This returns the name of the element being represented by this handler. |
abstract java.lang.Object |
getValue()
This method will get the value of the element depending on it's type. |
static void |
setLogLevel(java.util.logging.Level l)
Sets the logger level for all XMLElementHandlers. |
abstract void |
startElement(java.net.URI namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attr)
handles SAX start Element events. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.util.logging.Logger logger
Constructor Detail |
protected XMLElementHandler()
Method Detail |
public void characters(java.lang.String text) throws org.xml.sax.SAXException
text
-
org.xml.sax.SAXException
org.xml.sax.SAXNotSupportedException
endElement(String,String)).
public abstract void endElement(java.net.URI namespaceURI, java.lang.String localName, java.util.Map hints) throws org.xml.sax.SAXException, javax.naming.OperationNotSupportedException
namespaceURI
- localName
- hints
- DOCUMENT ME!
org.xml.sax.SAXException
javax.naming.OperationNotSupportedException
SchemaContentHandler#endElement
public abstract void startElement(java.net.URI namespaceURI, java.lang.String localName, org.xml.sax.Attributes attr) throws org.xml.sax.SAXException
namespaceURI
- localName
- attr
-
org.xml.sax.SAXException
SchemaContentHandler#startElement
public abstract XMLElementHandler getHandler(java.net.URI namespaceURI, java.lang.String localName, java.util.Map hints) throws org.xml.sax.SAXException
namespaceURI
- localName
- hints
- DOCUMENT ME!
org.xml.sax.SAXException
public abstract java.lang.Object getValue() throws org.xml.sax.SAXException
org.xml.sax.SAXException
Type#getValue;
public abstract java.lang.String getName()
public abstract Element getElement()
public static void setLogLevel(java.util.logging.Level l)
Sets the logger level for all XMLElementHandlers.
l
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |