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, setLogLevel
public static final String namespaceURI
public static final String LOCALNAME
public int hashCode()
hashCode
in class XSIElementHandler
Object.hashCode()
public void startElement(String namespaceURI1, String localName, Attributes atts) throws SAXException
XSIElementHandler
startElement
in class XSIElementHandler
SAXException
XSIElementHandler.startElement(java.lang.String, java.lang.String,
org.xml.sax.Attributes)
public XSIElementHandler getHandler(String namespaceURI1, String localName)
XSIElementHandler
getHandler
in class XSIElementHandler
XSIElementHandler.getHandler(java.lang.String, java.lang.String)
public String getLocalName()
XSIElementHandler
getLocalName
in class XSIElementHandler
XSIElementHandler.getLocalName()
protected Schema compress(URI thisURI) throws SAXException
thisURI
- SAXException
protected SimpleType lookUpSimpleType(String qname)
qname
- protected ComplexType lookUpComplexType(String qname) throws SAXException
qname
- SAXException
protected Element lookUpElement(String qname) throws SAXException
qname
- SAXException
protected Group lookUpGroup(String qname) throws SAXException
qname
- SAXException
protected AttributeGroup lookUpAttributeGroup(String qname) throws SAXException
qname
- SAXException
protected Attribute lookUpAttribute(String qname) throws SAXException
qname
- SAXException
protected Type lookUpType(String qname) throws SAXException
qname
- SAXException
public URI getTargetNamespace()
public int getHandlerType()
XSIElementHandler
getHandlerType
in class XSIElementHandler
XSIElementHandler.getHandlerType()
public void endElement(String namespaceURI1, String localName)
XSIElementHandler
endElement
in class XSIElementHandler
XSIElementHandler.endElement(java.lang.String, java.lang.String)
Copyright © 1996–2019 Geotools. All rights reserved.