|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.xml.XSIElementHandler
XSIElementHandler purpose.
This abstract class is intended to act as both a definition of what a generic handler is, and a default handler.
When extending this class, one should as a minimum replace the start/end Element methods.
Field Summary | |
static int |
DEFAULT
Type constants |
static int |
EXTENSION
Type constants |
static int |
FACET
Type constants |
static int |
LIST
Type constants |
static java.util.logging.Logger |
logger
the logger -- should be used for debugging (assuming there are bugs LOL) |
static int |
RESTRICTION
Type constants |
static int |
SEQUENCE
Type constants |
static int |
SIMPLETYPE
Type constants |
static int |
UNION
Type constants |
Constructor Summary | |
protected |
XSIElementHandler()
Creates a new XSIElementHandler object. |
Method Summary | |
void |
characters(java.lang.String text)
In most cases this class should not be called within this framework as we do not intend to parse + store all the information required to recreate the exact Schema document being parsed. |
abstract void |
endElement(java.lang.String namespaceURI,
java.lang.String localName)
handles SAX end Element events. this is an opportunity to complete some post-processing |
boolean |
equals(java.lang.Object obj)
|
abstract XSIElementHandler |
getHandler(java.lang.String namespaceURI,
java.lang.String localName)
This method will be used to create the XSI document. |
abstract int |
getHandlerType()
Returns one of the Specified types ... intended for use by the child packages only |
abstract java.lang.String |
getLocalName()
Returns the LocalName for this element (ie this declaration in the Schema ... so ComplexType or Sequence ...) |
abstract int |
hashCode()
|
static void |
setLogLevel(java.util.logging.Level l)
Sets the logging level for all XSIElementHandlers |
abstract void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attr)
handles SAX start Element events. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.util.logging.Logger logger
public static final int DEFAULT
public static final int UNION
public static final int LIST
public static final int RESTRICTION
public static final int EXTENSION
public static final int SIMPLETYPE
public static final int SEQUENCE
public static final int FACET
Constructor Detail |
protected XSIElementHandler()
Method Detail |
public abstract int getHandlerType()
public void characters(java.lang.String text) throws org.xml.sax.SAXException
text
-
org.xml.sax.SAXException
org.xml.sax.SAXNotSupportedException
public abstract void endElement(java.lang.String namespaceURI, java.lang.String localName) throws org.xml.sax.SAXException
namespaceURI
- localName
-
org.xml.sax.SAXException
public abstract void startElement(java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attr) throws org.xml.sax.SAXException
namespaceURI
- localName
- attr
-
org.xml.sax.SAXException
public abstract XSIElementHandler getHandler(java.lang.String namespaceURI, java.lang.String localName) throws org.xml.sax.SAXException
namespaceURI
- localName
-
org.xml.sax.SAXException
public abstract java.lang.String getLocalName()
public boolean equals(java.lang.Object obj)
Object.equals(java.lang.Object)
public abstract int hashCode()
Object.hashCode()
public static void setLogLevel(java.util.logging.Level l)
Sets the logging level for all XSIElementHandlers
l
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |