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 |
DEFAULT
Type constants
|
static int |
EXTENSION
Type constants
|
static int |
FACET
Type constants
|
static int |
LIST
Type constants
|
static 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
|
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
SAXException
public abstract void endElement(String namespaceURI, String localName) throws SAXException
SAXException
public abstract void startElement(String namespaceURI, String localName, Attributes attr) throws SAXException
SAXException
public abstract XSIElementHandler getHandler(String namespaceURI, String localName) throws SAXException
SAXException
public abstract String getLocalName()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public abstract int hashCode()
hashCode
in class Object
Object.hashCode()
public static void setLogLevel(Level l)
Copyright © 1996–2023 Geotools. All rights reserved.