org.geotools.gml2
Class FeaturePropertyExtractor

Object
  extended by FeaturePropertyExtractor
All Implemented Interfaces:
PropertyExtractor

Deprecated. This interface is replaced with ComplexBinding.getProperties(Object, XSDElementDeclaration)

public class FeaturePropertyExtractor
extends Object
implements PropertyExtractor

Special property extractor for extracting attributes from features.

Author:
Justin Deoliveira, The Open Planning Project

Constructor Summary
FeaturePropertyExtractor(SchemaIndex schemaIndex)
          Deprecated.  
 
Method Summary
 boolean canHandle(Object object)
          Deprecated. Determines if this extractor can handle objects of the given type.
 List properties(Object object, XSDElementDeclaration element)
          Deprecated. Exracts the properties from the object being encoded.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeaturePropertyExtractor

public FeaturePropertyExtractor(SchemaIndex schemaIndex)
Deprecated. 
Method Detail

canHandle

public boolean canHandle(Object object)
Deprecated. 
Description copied from interface: PropertyExtractor
Determines if this extractor can handle objects of the given type.

Specified by:
canHandle in interface PropertyExtractor
Parameters:
object - The object being encoded.
Returns:
true if the extractor can handle the object, otherwise false.

properties

public List properties(Object object,
                       XSDElementDeclaration element)
Deprecated. 
Description copied from interface: PropertyExtractor
Exracts the properties from the object being encoded.

This method should return a set of tuples made up of (XSDParticle,Object).

Specified by:
properties in 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.


Copyright © 1996-2014 Geotools. All Rights Reserved.