Package org.geotools.xsd.impl
Class BindingPropertyExtractor
- Object
- 
- BindingPropertyExtractor
 
- 
- All Implemented Interfaces:
- PropertyExtractor
 
 public class BindingPropertyExtractor extends Object implements PropertyExtractor UsesComplexBinding.getProperty(Object, QName)to obtain properties from the object being encoded.- Author:
- Justin Deoliveira, The Open Planning Project
 
- 
- 
Constructor SummaryConstructors Constructor Description BindingPropertyExtractor(Encoder encoder, MutablePicoContainer context)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(Object object)Determines if this extractor can handle objects of the given type.Listproperties(Object object, XSDElementDeclaration element)Extracts the properties from the object being encoded.voidsetContext(MutablePicoContainer context)
 
- 
- 
- 
Constructor Detail- 
BindingPropertyExtractorpublic BindingPropertyExtractor(Encoder encoder, MutablePicoContainer context) 
 
- 
 - 
Method Detail- 
canHandlepublic boolean canHandle(Object object) Description copied from interface:PropertyExtractorDetermines if this extractor can handle objects of the given type.- Specified by:
- canHandlein interface- PropertyExtractor
- Parameters:
- object- The object being encoded.
- Returns:
- trueif the extractor can handle the object, otherwise- false- .
 
 - 
setContextpublic void setContext(MutablePicoContainer context) 
 - 
propertiespublic List properties(Object object, XSDElementDeclaration element) Description copied from interface:PropertyExtractorExtracts the properties from the object being encoded.This method should return a set of tuples made up of ( XSDParticle,Object).- Specified by:
- propertiesin interface- PropertyExtractor
- Parameters:
- object- The object being encoded.
- element- The element declaration corresponding to the object being encoded.
- Returns:
- A set of element, object tuples.
 
 
- 
 
-