Package org.geotools.ows.wms.xml
Class Extent
Object
Extent
Property class for holding and handling of property values declared in Extent-element of a layer
As of WMS Spec 1.3.0 Extent is no longer a valid child element to the element layer. This java representation is maintained to be able to support both WMS Spec 1.1.1 and 1.3.0
http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd <!ELEMENT Extent (#PCDATA) > <!ATTLIST Extent name CDATA #REQUIRED default CDATA #IMPLIED nearestValue (0 | 1) "0">
- Author:
- Per Engstrom, Curalia AB, pereng@gmail.com
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
getValue()
boolean
boolean
isEmpty()
boolean
void
setCurrent
(boolean current) void
setDefaultValue
(String defaultValue) void
setMultipleValues
(boolean multipleValues) void
void
setNearestValue
(boolean nearestValue) void
toString()
-
Field Details
-
name
-
defaultValue
-
nearestValue
protected boolean nearestValue -
multipleValues
protected boolean multipleValues -
current
protected boolean currentOnly valid for Time extents -
value
A CDATA section in the XML; this is actually a structured string.
-
-
Constructor Details
-
Extent
-
-
Method Details
-
isCurrent
public boolean isCurrent() -
setCurrent
public void setCurrent(boolean current) -
getName
-
setName
-
getDefaultValue
-
setDefaultValue
-
getNearestValue
public boolean getNearestValue() -
setNearestValue
public void setNearestValue(boolean nearestValue) -
getValue
-
setValue
-
isMultipleValues
public boolean isMultipleValues() -
setMultipleValues
public void setMultipleValues(boolean multipleValues) -
toString
-
isEmpty
public boolean isEmpty()
-