public class GeometryFinder extends Object implements InstanceTraversalCallback
Constructor and Description |
---|
GeometryFinder(CRSDefinition crsDef)
Constructor for GeometryFinder with the
CoordinateReferenceSystemDefinition
|
Modifier and Type | Method and Description |
---|---|
List<GeometryProperty<?>> |
getGeometries() |
void |
reset()
Reset the found geometries.
|
boolean |
visit(Group group,
QName name)
Visit a group that is not an
Instance . |
boolean |
visit(Instance instance,
QName name)
Visit an instance.
|
boolean |
visit(Object value,
QName name)
|
public GeometryFinder(CRSDefinition crsDef)
crsDef
- The coordinate reference system definitionpublic boolean visit(Instance instance, QName name)
InstanceTraversalCallback
visit
in interface InstanceTraversalCallback
instance
- the instancename
- the property name the instance is a value of,
null
if it is the traversal rootInstanceTraversalCallback.visit(eu.esdihumboldt.hale.common.instance.model.Instance,
javax.xml.namespace.QName)
public boolean visit(Group group, QName name)
InstanceTraversalCallback
Instance
.visit
in interface InstanceTraversalCallback
group
- the groupname
- the property name the group is a value of, null
if it is the traversal rootInstanceTraversalCallback.visit(eu.esdihumboldt.hale.common.instance.model.Group,
javax.xml.namespace.QName)
public boolean visit(Object value, QName name)
InstanceTraversalCallback
visit
in interface InstanceTraversalCallback
value
- the valuename
- the property name the object is a value of, null
if it is the traversal rootInstanceTraversalCallback.visit(java.lang.Object,
javax.xml.namespace.QName)
public List<GeometryProperty<?>> getGeometries()
public void reset()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a