public abstract class XSIElementHandler extends Object implements Serializable
When extending this class, one should as a minimum replace the start/end Element methods.
| Modifier and Type | Field and Description | 
|---|---|
| static int | DEFAULTType constants | 
| static int | EXTENSIONType constants | 
| static int | FACETType constants | 
| static int | LISTType constants | 
| static Logger | loggerthe logger -- should be used for debugging (assuming there are bugs LOL) | 
| static int | RESTRICTIONType constants | 
| static int | SEQUENCEType constants | 
| static int | SIMPLETYPEType constants | 
| static int | UNIONType constants | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | XSIElementHandler()Creates a new XSIElementHandler object. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | characters(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(String namespaceURI,
          String localName)handles SAX end Element events. this is an opportunity to complete some post-processing | 
| boolean | equals(Object obj) | 
| abstract XSIElementHandler | getHandler(String namespaceURI,
          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 String | getLocalName()Returns the LocalName for this element (ie this declaration in the Schema ... so ComplexType
 or Sequence ...) | 
| abstract int | hashCode() | 
| static void | setLogLevel(Level l)Sets the logging level for all XSIElementHandlers | 
| abstract void | startElement(String namespaceURI,
            String localName,
            Attributes attr)handles SAX start Element events. | 
public static final 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
protected XSIElementHandler()
public abstract int getHandlerType()
public void characters(String text) throws SAXException
text - SAXExceptionSAXNotSupportedExceptionpublic abstract void endElement(String namespaceURI, String localName) throws SAXException
namespaceURI - localName - SAXExceptionpublic abstract void startElement(String namespaceURI, String localName, Attributes attr) throws SAXException
namespaceURI - localName - attr - SAXExceptionpublic abstract XSIElementHandler getHandler(String namespaceURI, String localName) throws SAXException
namespaceURI - localName - SAXExceptionpublic abstract String getLocalName()
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public abstract int hashCode()
hashCode in class ObjectObject.hashCode()public static void setLogLevel(Level l)
l - Copyright © 1996–2019 Geotools. All rights reserved.