|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.xml.xsi.XSISimpleTypes.XSISimpleType org.geotools.xml.xsi.XSISimpleTypes.Date
XSI Schema instance of Date
Field Summary |
Fields inherited from interface org.geotools.xml.schema.SimpleType |
ALL, LIST, NONE, RESTRICTION, UNION |
Constructor Summary | |
XSISimpleTypes.Date()
|
Method Summary | |
static SimpleType |
getInstance()
This method is intended to return an instance of the implemented type. |
java.lang.Class |
getInstanceType()
This will return the intended Java Class for this element type. |
java.lang.String |
getName()
This returns the XML Schema declaration name of this type (both complex and simple types have names ...) |
java.lang.Object |
getValue(Element element,
ElementValue[] value,
org.xml.sax.Attributes attrs,
java.util.Map hints)
This method is intended to receive the child elements in the form of ElementValues (@see ElementValue). |
Methods inherited from class org.geotools.xml.xsi.XSISimpleTypes.XSISimpleType |
canCreateAttributes, canEncode, encode, findChildElement, findChildElement, getChildType, getFacets, getFinal, getId, getNamespace, getParent, getParents, toAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XSISimpleTypes.Date()
Method Detail |
public static SimpleType getInstance()
XSISimpleTypes.XSISimpleType
This method is intended to return an instance of the implemented type.
schema.xsi.XSISimpleTypes.XSISimpleType#getInstance()
public java.lang.String getName()
Type
This returns the XML Schema declaration name of this type (both complex and simple types have names ...)
schema.SimpleType#getName()
public java.lang.Object getValue(Element element, ElementValue[] value, org.xml.sax.Attributes attrs, java.util.Map hints) throws org.xml.sax.SAXException
Type
This method is intended to receive the child elements in the form of ElementValues (@see ElementValue). Recall that this is a pairing containing a reference to the type and the actual value (do not call .getValue on the types). This should return the real value (interpreted value) for this element based on it's children. Remember, this is a XML is a tree structure, so if you don't include some children, they are gone forever (so be careful when ignoring data).
If the element had #CData (Nested Child Text), this will appear in the first slot, with a null Element.
A SAXNotSupportedException should be thrown when the child's [inherited, default implementation of getValue(ElementValue[],Attributes)] method should be used.
org.xml.sax.SAXException
schema.Type#getValue(java.lang.Object, org.xml.sax.Attributes)
public java.lang.Class getInstanceType()
Type
This will return the intended Java Class for this element type. For generic complex types this will be an object array. SimpleTypes will match as they are parsed, and custom extensions will also return the appropriate class value.
org.geotools.xml.xsi.Type#getInstanceType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |