public class GeometryOperandTypeBinding extends AbstractSimpleBinding
<xsd:simpleType name="GeometryOperandType">
<xsd:restriction base="xsd:QName">
<xsd:enumeration value="gml:Envelope"/>
<xsd:enumeration value="gml:Point"/>
<xsd:enumeration value="gml:LineString"/>
<xsd:enumeration value="gml:Polygon"/>
<xsd:enumeration value="gml:ArcByCenterPoint"/>
<xsd:enumeration value="gml:CircleByCenterPoint"/>
<xsd:enumeration value="gml:Arc"/>
<xsd:enumeration value="gml:Circle"/>
<xsd:enumeration value="gml:ArcByBulge"/>
<xsd:enumeration value="gml:Bezier"/>
<xsd:enumeration value="gml:Clothoid"/>
<xsd:enumeration value="gml:CubicSpline"/>
<xsd:enumeration value="gml:Geodesic"/>
<xsd:enumeration value="gml:OffsetCurve"/>
<xsd:enumeration value="gml:Triangle"/>
<xsd:enumeration value="gml:PolyhedralSurface"/>
<xsd:enumeration value="gml:TriangulatedSurface"/>
<xsd:enumeration value="gml:Tin"/>
<xsd:enumeration value="gml:Solid"/>
</xsd:restriction>
</xsd:simpleType>
Constructor and Description |
---|
GeometryOperandTypeBinding(NamespaceContext namespaceContext) |
Modifier and Type | Method and Description |
---|---|
String |
encode(Object object,
String value)
Performs the encoding of the object as a String.
|
QName |
getTarget() |
Class |
getType() |
Object |
parse(InstanceComponent instance,
Object value) |
getExecutionMode
public GeometryOperandTypeBinding(NamespaceContext namespaceContext)
public QName getTarget()
public Class getType()
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
Copyright © 1996–2023 Geotools. All rights reserved.