|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.xml.XSIElementHandler
org.geotools.xml.handlers.xsi.RestrictionHandler
public class RestrictionHandler
RestrictionHandler purpose.
Represents a restriction element
Field Summary | |
---|---|
static java.lang.String |
LOCALNAME
'restriction' |
Fields inherited from class org.geotools.xml.XSIElementHandler |
---|
DEFAULT, EXTENSION, FACET, LIST, logger, RESTRICTION, SEQUENCE, SIMPLETYPE, UNION |
Constructor Summary | |
---|---|
RestrictionHandler()
|
Method Summary | |
---|---|
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName)
handles SAX end Element events. |
AnyAttributeHandler |
getAnyAttribute()
returns the AnyAttribute child element |
java.util.List |
getAttributeDeclarations()
returns the list of attribute declarations |
java.lang.String |
getBase()
Retusn the 'base' attribute |
java.lang.Object |
getChild()
Returns a nested child element declaration. |
java.util.List |
getConstraints()
Returns a list of Facets |
XSIElementHandler |
getHandler(java.lang.String namespaceURI,
java.lang.String localName)
This method will be used to create the XSI document. |
int |
getHandlerType()
Returns one of the Specified types ... |
java.lang.String |
getId()
Returns the id attribute |
java.lang.String |
getLocalName()
Returns the LocalName for this element (ie this declaration in the Schema ... |
int |
hashCode()
|
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes atts)
handles SAX start Element events. |
Methods inherited from class org.geotools.xml.XSIElementHandler |
---|
characters, equals, setLogLevel |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LOCALNAME
Constructor Detail |
---|
public RestrictionHandler()
Method Detail |
---|
public int hashCode()
hashCode
in class XSIElementHandler
Object.hashCode()
public XSIElementHandler getHandler(java.lang.String namespaceURI, java.lang.String localName) throws org.xml.sax.SAXException
XSIElementHandler
getHandler
in class XSIElementHandler
org.xml.sax.SAXException
XSIElementHandler.getHandler(java.lang.String,
java.lang.String)
public void startElement(java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes atts)
XSIElementHandler
startElement
in class XSIElementHandler
XSIElementHandler.startElement(java.lang.String,
java.lang.String, org.xml.sax.Attributes)
public java.lang.String getLocalName()
XSIElementHandler
getLocalName
in class XSIElementHandler
XSIElementHandler.getLocalName()
public AnyAttributeHandler getAnyAttribute()
returns the AnyAttribute child element
TODO use this !
public java.util.List getAttributeDeclarations()
returns the list of attribute declarations
public java.lang.String getBase()
Retusn the 'base' attribute
public java.util.List getConstraints()
Returns a list of Facets
public java.lang.String getId()
Returns the id attribute
public java.lang.Object getChild()
Returns a nested child element declaration.
public int getHandlerType()
XSIElementHandler
getHandlerType
in class XSIElementHandler
XSIElementHandler.getHandlerType()
public void endElement(java.lang.String namespaceURI, java.lang.String localName)
XSIElementHandler
endElement
in class XSIElementHandler
XSIElementHandler.endElement(java.lang.String,
java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |