public interface PropertyExtractor
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.
|
boolean canHandle(Object object)
object
- The object being encoded.true
if the extractor can handle the object,
otherwise false.
List properties(Object object, XSDElementDeclaration element)
This method should return a set of tuples made up of (XSDParticle
,Object).
object
- The object being encoded.element
- The element declaration corresponding to the object being encoded.Copyright © 1996–2019 Geotools. All rights reserved.