public class GmlEnvelope extends ExtensionPoint implements Box
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandlerxmlBloblocalName, namespace| 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) |
protected void |
validate()
Checks the attributes to see if there are any problems.
|
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, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerate, getHandlerpublic 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)
ExtensionPointdeclareExtensions in class ExtensionPointextProfile - the ExtensionProfile to initialize.public GmlLowerCorner getLowerLeft()
getLowerLeft in interface Boxpublic GmlUpperCorner getUpperRight()
getUpperRight in interface Boxpublic void setGeoLocation(Point lowerLeft, Point upperRight)
BoxsetGeoLocation in interface BoxlowerLeft - 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)
protected void validate()
throws java.lang.IllegalStateException
AbstractExtensionvalidate in class AbstractExtensionjava.lang.IllegalStateException - if any problems are found with the
attributes