Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.instance.geometry
Class GeometryUtil

java.lang.Object
  extended by eu.esdihumboldt.hale.common.instance.geometry.GeometryUtil

public class GeometryUtil
extends Object

TODO Type description

Author:
Simon Templer

Constructor Summary
GeometryUtil()
           
 
Method Summary
static Collection<GeometryProperty<?>> getAllGeometries(Instance instance)
          Get all geometries of an instance.
static Collection<GeometryProperty<?>> getGeometries(Instance instance, List<QName> path)
          Get the default geometry of an instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryUtil

public GeometryUtil()
Method Detail

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 instance
path - 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

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d