public class BindingPropertyExtractor extends Object implements PropertyExtractor
ComplexBinding.getProperty(Object, QName) to obtain properties from the objecet
being encoded.| Constructor and Description |
|---|
BindingPropertyExtractor(Encoder encoder,
MutablePicoContainer context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(Object object)
Determines if this extractor can handle objects of the given type.
|
List |
properties(Object object,
XSDElementDeclaration element)
Exracts the properties from the object being encoded.
|
void |
setContext(MutablePicoContainer context) |
public BindingPropertyExtractor(Encoder encoder, MutablePicoContainer context)
public boolean canHandle(Object object)
PropertyExtractorcanHandle in interface PropertyExtractorobject - The object being encoded.true if the extractor can handle the object,
otherwise false.public void setContext(MutablePicoContainer context)
public List properties(Object object, XSDElementDeclaration element)
PropertyExtractorThis method should return a set of tuples made up of (XSDParticle,Object).
properties in interface PropertyExtractorobject - The object being encoded.element - The element declaration corresponding to the object being encoded.Copyright © 1996–2019 Geotools. All rights reserved.