public class GmlEnvelope extends ExtensionPoint implements Box
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
Constructor and Description |
---|
GmlEnvelope()
Constructs an empty gml:Envelope element.
|
GmlEnvelope(Box box)
Constructs a gml:Envelope by copying from the given box.
|
GmlEnvelope(java.lang.Double lowerLat,
java.lang.Double lowerLon,
java.lang.Double upperLat,
java.lang.Double upperLon)
Constructs a gml:Envelope with the given coordinates.
|
GmlEnvelope(Point lower,
Point upper)
Constructs a gml:Envelope with the given lower and upper values.
|
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.
|
static ExtensionDescription |
getDefaultDescription()
Returns the suggested extension description and is repeatable.
|
static ExtensionDescription |
getDefaultDescription(boolean repeatable)
Returns the suggested extension description with configurable
repeatability.
|
GmlLowerCorner |
getLowerLeft() |
GmlUpperCorner |
getUpperRight() |
void |
setGeoLocation(Point lowerLeft,
Point upperRight)
Sets the coordinates of this box.
|
void |
setUpperRight(Point upperRight) |
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getHandler, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generate, getHandler
public GmlEnvelope()
public GmlEnvelope(java.lang.Double lowerLat, java.lang.Double lowerLon, java.lang.Double upperLat, java.lang.Double upperLon)
public GmlEnvelope(Point lower, Point upper)
public GmlEnvelope(Box box)
GmlEnvelope(Point, Point)
constructor with the points in the box,
or with nulls if the box itself is null.public static ExtensionDescription getDefaultDescription(boolean repeatable)
public static ExtensionDescription getDefaultDescription()
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.public GmlLowerCorner getLowerLeft()
getLowerLeft
in interface Box
public GmlUpperCorner getUpperRight()
getUpperRight
in interface Box
public void setGeoLocation(Point lowerLeft, Point upperRight)
Box
setGeoLocation
in interface Box
lowerLeft
- the lower left coordinate. The latitude of this point
must be below the latitude of the upper right coordinate.upperRight
- the upper right coordinate. The latitude of this point
must be above the latitude of the lower left coordinate.public void setUpperRight(Point upperRight)