Package org.geotools.wfs.v1_0
Class FeatureCollectionTypeBinding
- Object
-
- AbstractComplexBinding
-
- AbstractComplexEMFBinding
-
- FeatureCollectionTypeBinding
-
- FeatureCollectionTypeBinding
-
- All Implemented Interfaces:
Binding
,ComplexBinding
public class FeatureCollectionTypeBinding extends FeatureCollectionTypeBinding
A WFS 1.0 specific binding with optimizations forSimpleFeatureCollection
encoding- Author:
- Andrea Aime - GeoSolutions
-
-
Constructor Summary
Constructors Constructor Description FeatureCollectionTypeBinding(WfsFactory factory)
FeatureCollectionTypeBinding(WfsFactory factory, Encoder encoder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Encoder
getEncoder()
Object
getProperty(Object object, QName name)
Uses EMF reflection dynamically return the property with the specified name.void
setEncoder(Encoder encoder)
-
Methods inherited from class FeatureCollectionTypeBinding
getTarget, parse, setProperty
-
Methods inherited from class AbstractComplexEMFBinding
createEObject, getType
-
Methods inherited from class AbstractComplexBinding
encode, getExecutionMode, getProperties, initialize, initializeChildContext
-
-
-
-
Constructor Detail
-
FeatureCollectionTypeBinding
public FeatureCollectionTypeBinding(WfsFactory factory, Encoder encoder)
-
FeatureCollectionTypeBinding
public FeatureCollectionTypeBinding(WfsFactory factory)
-
-
Method Detail
-
getProperty
public Object getProperty(Object object, QName name) throws Exception
Description copied from class:AbstractComplexEMFBinding
Uses EMF reflection dynamically return the property with the specified name.In the case that the name of a child element or attributes does not match the name of a property on the object, subclasses may wish to extend this method and set the property explicitly.
- Specified by:
getProperty
in interfaceComplexBinding
- Overrides:
getProperty
in classFeatureCollectionTypeBinding
- Parameters:
object
- The object being encoded.name
- The name of the property to obtain.- Returns:
- The value of the property, or
null
. - Throws:
Exception
- See Also:
ComplexBinding.getProperty(Object, QName)
-
getEncoder
public Encoder getEncoder()
- Returns:
- the encoder
-
setEncoder
public void setEncoder(Encoder encoder)
- Parameters:
encoder
- the encoder to set
-
-