|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.io.gml.geometry.constraint.GeometryFactory
public class GeometryFactory
Constraint associating a geometry handler with a type. By default no geometry handler is associated.
Constructor Summary | |
---|---|
GeometryFactory()
Create a default geometry factory constraint. |
|
GeometryFactory(GeometryHandler handler)
Create a geometry factory constraint based on the given geometry handler. |
Method Summary | |
---|---|
Object |
createGeometry(Instance instance,
int srsDimension)
Create a geometry value from a given instance. |
boolean |
isInheritable()
Determines if the constraint is inheritable, meaning it may be used for a sub-type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeometryFactory()
public GeometryFactory(GeometryHandler handler)
handler
- the geometry handlerMethod Detail |
---|
public boolean isInheritable()
TypeConstraint
isInheritable
in interface TypeConstraint
TypeConstraint.isInheritable()
public Object createGeometry(Instance instance, int srsDimension)
instance
- the instancesrsDimension
- the dimension of the instance
Binding
, may be null
if no
geometry could be created or if no geometry handler is associated
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |