public class ComplexEMFBinding extends AbstractComplexEMFBinding implements InstanceBinding
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.
Configuration.registerBindings(java.util.Map)
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
QName |
getTarget() |
String |
toString() |
createEObject, getProperty, getType, parse, setProperty
encode, getExecutionMode, getProperties, getProperties, initialize, initializeChildContext
public ComplexEMFBinding(EFactory factory, QName target)
factory
- The factory for the emf model.target
- The qualified name of the type in the emf model that this binding works
against.public ComplexEMFBinding(EFactory factory, QName target, Class type)
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.
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.Copyright © 1996–2019 Geotools. All rights reserved.