public class GmlPoint extends ExtensionPoint implements Point
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandlerxmlBloblocalName, namespace| Constructor and Description |
|---|
GmlPoint()
Constructs an empty gml:Point element.
|
GmlPoint(java.lang.Double lat,
java.lang.Double lon)
Constructs a gml:Point element out of the given lat and lon values.
|
GmlPoint(Point point)
Constructs a gml:Point element using the given Point coordinates for the
nested gml:pos element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
|
void |
generate(XmlWriter w,
ExtensionProfile extProfile)
Generates the XML corresponding to this gml point.
|
static ExtensionDescription |
getDefaultDescription()
Returns the suggested extension description and is repeatable.
|
static ExtensionDescription |
getDefaultDescription(boolean repeatable)
Returns the suggested extension description with configurable
repeatability.
|
java.lang.Double |
getLatitude() |
java.lang.Double |
getLongitude() |
void |
setGeoLocation(java.lang.Double lat,
java.lang.Double lon)
Sets the latitude and longitude of the gml:pos element of this Point to the
latitude and longitude coordinates specified.
|
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getHandler, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild, visitChildrenconsumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHandlerpublic GmlPoint()
public GmlPoint(java.lang.Double lat,
java.lang.Double lon)
public GmlPoint(Point point)
public static ExtensionDescription getDefaultDescription(boolean repeatable)
public static ExtensionDescription getDefaultDescription()
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPointdeclareExtensions in class ExtensionPointextProfile - the ExtensionProfile to initialize.public java.lang.Double getLatitude()
getLatitude in interface Pointpublic java.lang.Double getLongitude()
getLongitude in interface Pointpublic void setGeoLocation(java.lang.Double lat,
java.lang.Double lon)
setGeoLocation in interface Pointlat - The latitude coordinate of this point.lon - the longitude coordinate of this point.public void generate(XmlWriter w, ExtensionProfile extProfile) throws java.io.IOException
generate in interface Extensiongenerate in class AbstractExtensionw - XML writerextProfile - extension profilejava.io.IOException