Package org.geotools.gml3.bindings.ext
Class CompositeCurveTypeBinding
- Object
-
- AbstractComplexBinding
-
- LineStringTypeBinding
-
- CompositeCurveTypeBinding
-
- All Implemented Interfaces:
Binding
,ComplexBinding
public class CompositeCurveTypeBinding extends LineStringTypeBinding
Simple type binding for Composite Curve GML elements.
-
-
Constructor Summary
Constructors Constructor Description CompositeCurveTypeBinding(GeometryFactory gFactory, CoordinateSequenceFactory csFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CoordinateList
extractCurveMemberCoordinates(Node node)
Construct a line string from CurveMembers coordinates.QName
getTarget()
Class
getType()
Object
parse(ElementInstance instance, Node node, Object value)
void
setArcParameters(ArcParameters arcParameters)
-
Methods inherited from class LineStringTypeBinding
getExecutionMode, getProperty
-
Methods inherited from class AbstractComplexBinding
encode, getProperties, initialize, initializeChildContext
-
-
-
-
Constructor Detail
-
CompositeCurveTypeBinding
public CompositeCurveTypeBinding(GeometryFactory gFactory, CoordinateSequenceFactory csFactory)
-
-
Method Detail
-
setArcParameters
public void setArcParameters(ArcParameters arcParameters)
-
getTarget
public QName getTarget()
- Specified by:
getTarget
in interfaceBinding
- Overrides:
getTarget
in classLineStringTypeBinding
- Returns:
- The qualified name of the target for the binding.
-
getType
public Class getType()
Description copied from class:LineStringTypeBinding
- Specified by:
getType
in interfaceBinding
- Overrides:
getType
in classLineStringTypeBinding
- Returns:
- The java type this binding maps to.
-
parse
public Object parse(ElementInstance instance, Node node, Object value) throws Exception
Description copied from class:LineStringTypeBinding
- Specified by:
parse
in interfaceComplexBinding
- Overrides:
parse
in classLineStringTypeBinding
- Parameters:
instance
- The element being parsed.node
- The node in the parse tree representing the element 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.- Returns:
- The parsed object, or null if the component could not be parsed.
- Throws:
Exception
- Strategy objects should not attempt to handle any exceptions.
-
extractCurveMemberCoordinates
public static CoordinateList extractCurveMemberCoordinates(Node node)
Construct a line string from CurveMembers coordinates.
-
-