Package org.geotools.xsd
Class ComplexEMFBinding
- Object
-
- AbstractComplexBinding
-
- AbstractComplexEMFBinding
-
- ComplexEMFBinding
-
- All Implemented Interfaces:
Binding
,ComplexBinding
,InstanceBinding
- Direct Known Subclasses:
BoundingBoxTypeBinding
,InputReferenceTypeBinding
,QueryTypeBinding
,RangeBinding
,RecordBinding
,SimpleContentComplexEMFBinding
public class ComplexEMFBinding extends AbstractComplexEMFBinding implements InstanceBinding
A binding implementation which parses / encodes objects from an EMF model.This binding implementation uses EMF reflection to implement all methods of the api. All that is needed is the 'target' of the binding.
These bindings are "instance" bindings in that they are instantiated before the parser is run (see
Configuration.registerBindings(java.util.Map)
) and not at runtime.- Author:
- Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org
- See Also:
Configuration.registerBindings(java.util.Map)
-
-
Constructor Summary
Constructors Constructor Description ComplexEMFBinding(EFactory factory, QName target)
Creates the binding.ComplexEMFBinding(EFactory factory, QName target, Class type)
Creates the binding specifying the type of the object its boiund to.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QName
getTarget()
String
toString()
-
Methods inherited from class AbstractComplexEMFBinding
createEObject, getProperty, getType, parse, setProperty
-
Methods inherited from class AbstractComplexBinding
encode, getExecutionMode, getProperties, initialize, initializeChildContext
-
-
-
-
Constructor Detail
-
ComplexEMFBinding
public ComplexEMFBinding(EFactory factory, QName target)
Creates the binding.- Parameters:
factory
- The factory for the emf model.target
- The qualified name of the type in the emf model that this binding works against.
-
ComplexEMFBinding
public ComplexEMFBinding(EFactory factory, QName target, Class type)
Creates the binding specifying the type of the object its boiund to.The type is specified in cases where it can not be inferred from the qname alone. Such cases occur when EMF runs into a name clash.
- Parameters:
factory
- The factory for the emf model.target
- The qualified name of the type in the emf model that this binding works against.type
- The type of the object this binding is mapped to.
-
-