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>
public class GmlAbstractGeometry extends AbstractFeature
A class that represents a gml:AbstractGeometry (PointType, ...).- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description GmlAbstractGeometry()constructorGmlAbstractGeometry(String id)constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultElementEncoding()org.locationtech.jts.geom.GeometrygetGeometry()Get geometrybooleanisSetGeometry()Is geometry setvoidsetGeometry(org.locationtech.jts.geom.Geometry geometry)set geometry-
Methods inherited from class org.n52.shetland.ogc.gml.AbstractFeature
accept, copyTo, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncoded
-
Methods 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 Detail
-
GmlAbstractGeometry
public GmlAbstractGeometry()
constructor
-
GmlAbstractGeometry
public GmlAbstractGeometry(String id)
constructor- Parameters:
id- GML id
-
-
Method Detail
-
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
public String getDefaultElementEncoding()
- Specified by:
getDefaultElementEncodingin interfaceHasDefaultEncoding<AbstractFeature>- Overrides:
getDefaultElementEncodingin classAbstractFeature
-
-