public class GeometryFactory extends Object implements TypeConstraint
Constructor and Description |
---|
GeometryFactory()
Create a default geometry factory constraint.
|
GeometryFactory(GeometryHandler handler)
Create a geometry factory constraint based on the given geometry handler.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public GeometryFactory()
public GeometryFactory(GeometryHandler handler)
handler
- the geometry handlerpublic boolean isInheritable()
TypeConstraint
isInheritable
in interface TypeConstraint
TypeConstraint.isInheritable()
public Object createGeometry(Instance instance, int srsDimension)
instance
- the instancesrsDimension
- the dimension of the instanceBinding
, may be null
if no
geometry could be created or if no geometry handler is associatedBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a