| java.lang.Object org.geotools.xml.XSIElementHandler
All known Subclasses: org.geotools.xml.handlers.xsi.FieldHandler, org.geotools.xml.handlers.xsi.ComplexTypeHandler, org.geotools.xml.handlers.xsi.SimpleContentHandler, org.geotools.xml.handlers.xsi.FacetHandler, org.geotools.xml.handlers.xsi.AttributeGroupHandler, org.geotools.xml.handlers.xsi.ExtensionHandler, org.geotools.xml.handlers.xsi.UniqueHandler, org.geotools.xml.handlers.xsi.AttributeHandler, org.geotools.xml.handlers.xsi.ElementGroupingHandler, org.geotools.xml.handlers.xsi.IgnoreHandler, org.geotools.xml.handlers.xsi.SelectorHandler, org.geotools.xml.handlers.xsi.ImportHandler, org.geotools.xml.handlers.xsi.IncludeHandler, org.geotools.xml.handlers.xsi.AnyAttributeHandler, org.geotools.xml.handlers.xsi.ComplexContentHandler, org.geotools.xml.handlers.xsi.SchemaHandler, org.geotools.xml.handlers.xsi.ListHandler, org.geotools.xml.handlers.xsi.UnionHandler, org.geotools.xml.handlers.xsi.RestrictionHandler, org.geotools.xml.handlers.xsi.RedefineHandler, org.geotools.xml.handlers.xsi.KeyHandler, org.geotools.xml.handlers.xsi.RootHandler, org.geotools.xml.handlers.xsi.SimpleTypeHandler, org.geotools.xml.handlers.xsi.KeyrefHandler,
XSIElementHandler | abstract public class XSIElementHandler implements Serializable(Code) | | 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.
author: dzwiers, Refractions Research, Inc. http://www.refractions.net author: $Author:$ (last modification) version: $Id: XSIElementHandler.java 27862 2007-11-12 19:51:19Z desruisseaux $ |
Constructor Summary | |
protected | XSIElementHandler() Creates a new XSIElementHandler object. |
DEFAULT | final public static int DEFAULT(Code) | | Type constants
|
EXTENSION | final public static int EXTENSION(Code) | | Type constants
|
FACET | final public static int FACET(Code) | | Type constants
|
LIST | final public static int LIST(Code) | | Type constants
|
RESTRICTION | final public static int RESTRICTION(Code) | | Type constants
|
SEQUENCE | final public static int SEQUENCE(Code) | | Type constants
|
SIMPLETYPE | final public static int SIMPLETYPE(Code) | | Type constants
|
UNION | final public static int UNION(Code) | | Type constants
|
logger | final public static Logger logger(Code) | | the logger -- should be used for debugging (assuming there are bugs LOL)
|
XSIElementHandler | protected XSIElementHandler()(Code) | | Creates a new XSIElementHandler object. Intended to limit creation to
the sub-packages
|
characters | public void characters(String text) throws SAXException(Code) | | 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. As a result,
information such as annotations are ignored. When used, they method may
be called multiple times for one element. This means the implementor
should keep this in mind when overriding this method.
Parameters: text - throws: SAXException - throws: SAXNotSupportedException - |
endElement | abstract public void endElement(String namespaceURI, String localName) throws SAXException(Code) | | handles SAX end Element events. this is an opportunity to complete some
post-processing
Parameters: namespaceURI - Parameters: localName - throws: SAXException - |
getHandler | abstract public XSIElementHandler getHandler(String namespaceURI, String localName) throws SAXException(Code) | | This method will be used to create the XSI document. Validation and
in-fix processing is expected to exist within this method, along with
data logging for post-processing. This method will directly affect the
stack being used to complete the parse.
Parameters: namespaceURI - Parameters: localName - XSIElementHandler, or null throws: SAXException - |
getHandlerType | abstract public int getHandlerType()(Code) | | Returns one of the Specified types ... intended for use by the child
packages only
int (DEFAULT?) |
getLocalName | abstract public String getLocalName()(Code) | | Returns the LocalName for this element (ie this declaration in the
Schema ... so ComplexType or Sequence ...)
String (not-null) |
setLogLevel | public static void setLogLevel(Level l)(Code) | |
Sets the logging level for all XSIElementHandlers
Parameters: l - |
startElement | abstract public void startElement(String namespaceURI, String localName, Attributes attr) throws SAXException(Code) | | handles SAX start Element events. This is an opportunity to complete
some pre-processing.
Parameters: namespaceURI - Parameters: localName - Parameters: attr - throws: SAXException - |
|
|