eu.esdihumboldt.hale.common.instance.geometry
Class GeometryUtil
java.lang.Object
eu.esdihumboldt.hale.common.instance.geometry.GeometryUtil
public class GeometryUtil
- extends Object
TODO Type description
- Author:
- Simon Templer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeometryUtil
public GeometryUtil()
getAllGeometries
public static Collection<GeometryProperty<?>> getAllGeometries(Instance instance)
- Get all geometries of an instance.
- Parameters:
instance
- the instance
- Returns:
- the geometries or an empty collection if there are none
getGeometries
public static Collection<GeometryProperty<?>> getGeometries(Instance instance,
List<QName> path)
- Get the default geometry of an instance.
- Parameters:
instance
- the instancepath
- the property path to start the search at, a null
will yield no geometries
- Returns:
- the default geometries or an empty collection if there is none
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d