Package org.n52.shetland.ogc.gml
Class GmlAbstractGeometry
java.lang.Object
org.n52.shetland.ogc.gml.AbstractGML
org.n52.shetland.ogc.gml.AbstractFeature
org.n52.shetland.ogc.gml.GmlAbstractGeometry
- All Implemented Interfaces:
HasDefaultEncoding<AbstractFeature>
A class that represents a gml:AbstractGeometry (PointType, ...).
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionconstructorconstructor -
Method Summary
Modifier and TypeMethodDescriptionorg.locationtech.jts.geom.GeometryGet geometrybooleanIs geometry setvoidsetGeometry(org.locationtech.jts.geom.Geometry geometry) set geometryMethods inherited from class org.n52.shetland.ogc.gml.AbstractFeature
accept, copyTo, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncodedMethods inherited from class org.n52.shetland.ogc.gml.AbstractGML
addMetaDataProperty, addMetaDataProperty, addName, addName, addName, copyTo, equals, getDescription, getFirstName, getGmlId, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getMetaDataProperty, getName, getOriginalIdentifier, getOriginalIdentifierCodeWithAuthority, hashCode, isReferenced, isSetDescription, isSetGmlID, isSetHumanReadableIdentifier, isSetIdentifier, isSetMetaDataProperty, isSetName, isSetOriginalIdentifier, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setMetaDataProperty, setName, setName
-
Constructor Details
-
GmlAbstractGeometry
public GmlAbstractGeometry()constructor -
GmlAbstractGeometry
constructor- Parameters:
id- GML id
-
-
Method Details
-
getGeometry
public org.locationtech.jts.geom.Geometry getGeometry()Get geometry- Returns:
- the geometry
-
setGeometry
public void setGeometry(org.locationtech.jts.geom.Geometry geometry) set geometry- Parameters:
geometry- the geometry to set
-
isSetGeometry
public boolean isSetGeometry()Is geometry set- Returns:
- true if geometry is set
-
getDefaultElementEncoding
- Specified by:
getDefaultElementEncodingin interfaceHasDefaultEncoding<AbstractFeature>- Overrides:
getDefaultElementEncodingin classAbstractFeature
-