use of eu.esdihumboldt.hale.io.gml.geometry.constraint.GeometryFactory in project hale by halestudio.
the class ArcByCenterPointHandler method initConstraints.
@Override
protected Collection<? extends TypeConstraint> initConstraints() {
Collection<TypeConstraint> constraints = new ArrayList<TypeConstraint>(2);
constraints.add(Binding.get(GeometryProperty.class));
constraints.add(GeometryType.get(LineString.class));
constraints.add(new GeometryFactory(this));
return constraints;
}
use of eu.esdihumboldt.hale.io.gml.geometry.constraint.GeometryFactory in project hale by halestudio.
the class CircleHandler method initConstraints.
@Override
protected Collection<? extends TypeConstraint> initConstraints() {
Collection<TypeConstraint> constraints = new ArrayList<TypeConstraint>(2);
constraints.add(Binding.get(GeometryProperty.class));
constraints.add(GeometryType.get(LineString.class));
constraints.add(new GeometryFactory(this));
return constraints;
}
use of eu.esdihumboldt.hale.io.gml.geometry.constraint.GeometryFactory in project hale by halestudio.
the class CurveHandler method initConstraints.
/**
* @see FixedConstraintsGeometryHandler#initConstraints()
*/
@Override
protected Collection<? extends TypeConstraint> initConstraints() {
Collection<TypeConstraint> constraints = new ArrayList<TypeConstraint>(2);
constraints.add(Binding.get(GeometryProperty.class));
// FIXME can also be a MultiLineString - is this a problem?
constraints.add(GeometryType.get(LineString.class));
constraints.add(new GeometryFactory(this));
return constraints;
}
use of eu.esdihumboldt.hale.io.gml.geometry.constraint.GeometryFactory in project hale by halestudio.
the class EnvelopeHandler method initConstraints.
/**
* @see eu.esdihumboldt.hale.io.gml.geometry.FixedConstraintsGeometryHandler#initConstraints()
*/
@Override
protected Collection<? extends TypeConstraint> initConstraints() {
Collection<TypeConstraint> constraints = new ArrayList<TypeConstraint>(2);
constraints.add(Binding.get(GeometryProperty.class));
constraints.add(GeometryType.get(Polygon.class));
constraints.add(new GeometryFactory(this));
return constraints;
}
use of eu.esdihumboldt.hale.io.gml.geometry.constraint.GeometryFactory in project hale by halestudio.
the class LineStringHandler method initConstraints.
/**
* @see eu.esdihumboldt.hale.io.gml.geometry.FixedConstraintsGeometryHandler#initConstraints()
*/
@Override
protected Collection<? extends TypeConstraint> initConstraints() {
Collection<TypeConstraint> constraints = new ArrayList<TypeConstraint>(2);
constraints.add(Binding.get(GeometryProperty.class));
constraints.add(GeometryType.get(LineString.class));
constraints.add(new GeometryFactory(this));
return constraints;
}
Aggregations