|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectXSIElementHandler
SchemaHandler
public class SchemaHandler
SchemaHandler purpose.
represents a Schema element
| Field Summary | |
|---|---|
static String |
LOCALNAME
'schema' |
static String |
namespaceURI
"http://www.w3.org/2001/XMLSchema" |
| Fields inherited from class XSIElementHandler |
|---|
DEFAULT, EXTENSION, FACET, LIST, logger, RESTRICTION, SEQUENCE, SIMPLETYPE, UNION |
| Constructor Summary | |
|---|---|
SchemaHandler()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class XSIElementHandler |
|---|
characters, equals, setLogLevel |
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String namespaceURI
public static final String LOCALNAME
| Constructor Detail |
|---|
public SchemaHandler()
| Method Detail |
|---|
public int hashCode()
hashCode in class XSIElementHandlerObject.hashCode()
public void startPrefixMapping(String pref,
String uri1)
ContentHandler.startPrefixMapping(java.lang.String, java.lang.String)
public void startElement(String namespaceURI1,
String localName,
Attributes atts)
throws SAXException
XSIElementHandler
startElement in class XSIElementHandlerSAXExceptionXSIElementHandler.startElement(java.lang.String, java.lang.String, org.xml.sax.Attributes)
public XSIElementHandler getHandler(String namespaceURI1,
String localName)
XSIElementHandler
getHandler in class XSIElementHandlerXSIElementHandler.getHandler(java.lang.String, java.lang.String)public String getLocalName()
XSIElementHandler
getLocalName in class XSIElementHandlerXSIElementHandler.getLocalName()
protected Schema compress(URI thisURI)
throws SAXException
creates a smaller, more compact version of the schema
thisURI -
SAXExceptionprotected SimpleType lookUpSimpleType(String qname)
convinience method for package classes
qname -
protected ComplexType lookUpComplexType(String qname)
throws SAXException
convinience method for package
qname -
SAXException
protected Element lookUpElement(String qname)
throws SAXException
convinience method for package
qname -
SAXException
protected Group lookUpGroup(String qname)
throws SAXException
convinience method for package
qname -
SAXException
protected AttributeGroup lookUpAttributeGroup(String qname)
throws SAXException
convinience method for the package
qname -
SAXException
protected Attribute lookUpAttribute(String qname)
throws SAXException
convinience method for package
qname -
SAXException
protected Type lookUpType(String qname)
throws SAXException
convinience method for package
qname -
SAXExceptionpublic URI getTargetNamespace()
public int getHandlerType()
XSIElementHandler
getHandlerType in class XSIElementHandlerXSIElementHandler.getHandlerType()
public void endElement(String namespaceURI1,
String localName)
XSIElementHandler
endElement in class XSIElementHandlerXSIElementHandler.endElement(java.lang.String,
java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||