Package org.geotools.xsd
Interface PropertyExtractor
- 
- All Known Implementing Classes:
- BindingPropertyExtractor
 
 public interface PropertyExtractorFactory used by the encoder to obtain child values from objects being encoded.- Author:
- Justin Deoliveira, The Open Planning Project
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract 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.
 
- 
- 
- 
Method Detail- 
canHandleboolean canHandle(Object object) Determines if this extractor can handle objects of the given type.- Parameters:
- object- The object being encoded.
- Returns:
- trueif the extractor can handle the object, otherwise- false- .
 
 - 
propertiesList properties(Object object, XSDElementDeclaration element) Extracts the properties from the object being encoded.This method should return a set of tuples made up of ( XSDParticle,Object).- Parameters:
- object- The object being encoded.
- element- The element declaration corresponding to the object being encoded.
- Returns:
- A set of element, object tuples.
 
 
- 
 
-