|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.xs.bindings.XSDateBinding
public class XSDateBinding
Binding object for the type http://www.w3.org/2001/XMLSchema:date.
<xs:simpleType name="date" id="date">
<xs:annotation>
<xs:appinfo>
<hfp:hasFacet name="pattern"/>
<hfp:hasFacet name="enumeration"/>
<hfp:hasFacet name="whiteSpace"/>
<hfp:hasFacet name="maxInclusive"/>
<hfp:hasFacet name="maxExclusive"/>
<hfp:hasFacet name="minInclusive"/>
<hfp:hasFacet name="minExclusive"/>
<hfp:hasProperty name="ordered" value="partial"/>
<hfp:hasProperty name="bounded" value="false"/>
<hfp:hasProperty name="cardinality" value="countably infinite"/>
<hfp:hasProperty name="numeric" value="false"/>
</xs:appinfo>
<xs:documentation source="http://www.w3.org/TR/xmlschema-2/#date"/>
</xs:annotation>
<xs:restriction base="xs:anySimpleType">
<xs:whiteSpace value="collapse" fixed="true" id="date.whiteSpace"/>
</xs:restriction>
</xs:simpleType>
Field Summary |
---|
Fields inherited from interface org.geotools.xml.Binding |
---|
AFTER, BEFORE, OVERRIDE |
Constructor Summary | |
---|---|
XSDateBinding()
|
Method Summary | |
---|---|
java.lang.String |
encode(java.lang.Object object,
java.lang.String value)
Performs the encoding of the object as a String. |
int |
getExecutionMode()
|
javax.xml.namespace.QName |
getTarget()
|
java.lang.Class |
getType()
This binding returns objects of type Date . |
java.lang.Object |
parse(InstanceComponent instance,
java.lang.Object value)
This binding returns objects of type Calendar . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSDateBinding()
Method Detail |
---|
public javax.xml.namespace.QName getTarget()
getTarget
in interface Binding
public int getExecutionMode()
getExecutionMode
in interface Binding
Binding.AFTER
,
Binding.BEFORE
,
Binding.OVERRIDE
public java.lang.Class getType()
Date
.
getType
in interface Binding
public java.lang.Object parse(InstanceComponent instance, java.lang.Object value) throws java.lang.Exception
Calendar
.
parse
in interface SimpleBinding
instance
- The component being parsed.value
- The result of the parse from another strategy in the type
hierarchy. Could be null if this is the first strategy being executed.
java.lang.Exception
public java.lang.String encode(java.lang.Object object, java.lang.String value) throws java.lang.Exception
SimpleBinding
encode
in interface SimpleBinding
object
- The object being encoded, never null.value
- The string returned from another binding in the type
hierachy, which could be null.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |