public class SchemaHandler extends XSIElementHandler
represents a Schema element
| Modifier and Type | Field and Description |
|---|---|
static String |
LOCALNAME
'schema'
|
static String |
namespaceURI
"http://www.w3.org/2001/XMLSchema"
|
DEFAULT, EXTENSION, FACET, LIST, logger, RESTRICTION, SEQUENCE, SIMPLETYPE, UNION| Constructor and Description |
|---|
SchemaHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected Schema |
compress(URI thisURI)
creates a smaller, more compact version of the schema
|
void |
endElement(String namespaceURI1,
String localName)
handles SAX end Element events. this is an opportunity to complete some post-processing
|
XSIElementHandler |
getHandler(String namespaceURI1,
String localName)
This method will be used to create the XSI document.
|
int |
getHandlerType()
Returns one of the Specified types ... intended for use by the child packages only
|
String |
getLocalName()
Returns the LocalName for this element (ie this declaration in the Schema ... so ComplexType
or Sequence ...)
|
URI |
getTargetNamespace()
DOCUMENT ME!
|
int |
hashCode() |
protected Attribute |
lookUpAttribute(String qname)
convinience method for package
|
protected AttributeGroup |
lookUpAttributeGroup(String qname)
convinience method for the package
|
protected ComplexType |
lookUpComplexType(String qname)
convinience method for package
|
protected Element |
lookUpElement(String qname)
convinience method for package
|
protected Group |
lookUpGroup(String qname)
convinience method for package
|
protected SimpleType |
lookUpSimpleType(String qname)
convinience method for package classes
|
protected Type |
lookUpType(String qname)
convinience method for package
|
void |
startElement(String namespaceURI1,
String localName,
Attributes atts)
handles SAX start Element events.
|
void |
startPrefixMapping(String pref,
String uri1) |
characters, equals, setLogLevelpublic static final String namespaceURI
public static final String LOCALNAME
public int hashCode()
hashCode in class XSIElementHandlerObject.hashCode()public void startElement(String namespaceURI1, String localName, Attributes atts) throws SAXException
XSIElementHandlerstartElement in class XSIElementHandlerSAXExceptionXSIElementHandler.startElement(java.lang.String, java.lang.String,
org.xml.sax.Attributes)public XSIElementHandler getHandler(String namespaceURI1, String localName)
XSIElementHandlergetHandler in class XSIElementHandlerXSIElementHandler.getHandler(java.lang.String, java.lang.String)public String getLocalName()
XSIElementHandlergetLocalName in class XSIElementHandlerXSIElementHandler.getLocalName()protected Schema compress(URI thisURI) throws SAXException
thisURI - SAXExceptionprotected SimpleType lookUpSimpleType(String qname)
qname - protected ComplexType lookUpComplexType(String qname) throws SAXException
qname - SAXExceptionprotected Element lookUpElement(String qname) throws SAXException
qname - SAXExceptionprotected Group lookUpGroup(String qname) throws SAXException
qname - SAXExceptionprotected AttributeGroup lookUpAttributeGroup(String qname) throws SAXException
qname - SAXExceptionprotected Attribute lookUpAttribute(String qname) throws SAXException
qname - SAXExceptionprotected Type lookUpType(String qname) throws SAXException
qname - SAXExceptionpublic URI getTargetNamespace()
public int getHandlerType()
XSIElementHandlergetHandlerType in class XSIElementHandlerXSIElementHandler.getHandlerType()public void endElement(String namespaceURI1, String localName)
XSIElementHandlerendElement in class XSIElementHandlerXSIElementHandler.endElement(java.lang.String, java.lang.String)Copyright © 1996–2019 Geotools. All rights reserved.