|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractSimpleBinding
SortOrderTypeBinding
public class SortOrderTypeBinding
Binding object for the type http://www.opengis.net/ogc:SortOrderType.
<xsd:simpleType name="SortOrderType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="DESC"/>
<xsd:enumeration value="ASC"/>
</xsd:restriction>
</xsd:simpleType>
modules/extension/xsd-filter (gt-xsd-filter.jar)
Field Summary |
---|
Fields inherited from interface Binding |
---|
AFTER, BEFORE, OVERRIDE |
Constructor Summary | |
---|---|
SortOrderTypeBinding(FilterFactory filterfactory)
|
Method Summary | |
---|---|
String |
encode(Object object,
String value)
Performs the encoding of the object as a String. |
int |
getExecutionMode()
This implementation returns Binding.AFTER . |
QName |
getTarget()
|
Class |
getType()
|
Object |
parse(InstanceComponent instance,
Object value)
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortOrderTypeBinding(FilterFactory filterfactory)
Method Detail |
---|
public QName getTarget()
public Class getType()
public int getExecutionMode()
AbstractSimpleBinding
Binding.AFTER
.
Subclasses should override to change this behaviour.
getExecutionMode
in interface Binding
getExecutionMode
in class AbstractSimpleBinding
Binding.AFTER
,
Binding.BEFORE
,
Binding.OVERRIDE
public Object parse(InstanceComponent instance, Object value) throws Exception
parse
in interface SimpleBinding
parse
in class AbstractSimpleBinding
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.
Exception
public String encode(Object object, String value) throws Exception
AbstractSimpleBinding
encode
in interface SimpleBinding
encode
in class AbstractSimpleBinding
object
- The object being encoded, never null.value
- The string returned from another binding in the type
hierachy, which could be null.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |