|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.xml.AbstractSimpleBinding
org.geotools.kml.bindings.CoordinatesTypeBinding
public class CoordinatesTypeBinding
Binding object for the type http://earth.google.com/kml/2.1:CoordinatesType.
<simpleType name="CoordinatesType">
<list itemType="string"/>
</simpleType>
Field Summary |
---|
Fields inherited from interface org.geotools.xml.Binding |
---|
AFTER, BEFORE, OVERRIDE |
Constructor Summary | |
---|---|
CoordinatesTypeBinding(com.vividsolutions.jts.geom.CoordinateSequenceFactory csFactory)
|
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()
This implementation returns Binding.AFTER . |
javax.xml.namespace.QName |
getTarget()
|
java.lang.Class |
getType()
|
java.lang.Object |
parse(InstanceComponent instance,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoordinatesTypeBinding(com.vividsolutions.jts.geom.CoordinateSequenceFactory csFactory)
Method Detail |
---|
public javax.xml.namespace.QName getTarget()
public java.lang.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 java.lang.Object parse(InstanceComponent instance, java.lang.Object value) throws java.lang.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.
java.lang.Exception
public java.lang.String encode(java.lang.Object object, java.lang.String value) throws java.lang.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.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |