org.gvsig.remoteclient.wms
Class WMSExtent

java.lang.Object
  extended by org.gvsig.remoteclient.wms.WMSExtent

public class WMSExtent
extends java.lang.Object


Constructor Summary
WMSExtent()
           
 
Method Summary
 boolean allowsCurrentTime()
          Tells that the temporal data are normally kept current and that the request parameter TIME may include the keyword 'current' instead of an ending value.
 boolean allowsNearestValue()
           
 java.lang.String getDefaultValue()
          Gets the value that would be used along this dimension if a Web request omits a value for the dimension.
 java.lang.String getExtentExpression()
          Returns the extent expression as it was written in the Capabilities document.
 java.lang.String getName()
           
 void parse(org.kxml2.io.KXmlParser parser)
          Parses the EXTENT tag in the WMS capabilities, filling the Extend fills of the WMSDimension object and loading the data into memory to be easily accesed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSExtent

public WMSExtent()
Method Detail

getName

public java.lang.String getName()

allowsCurrentTime

public boolean allowsCurrentTime()
Tells that the temporal data are normally kept current and that the request parameter TIME may include the keyword 'current' instead of an ending value.

Returns:
true if the server does keep the data, false else.

getDefaultValue

public java.lang.String getDefaultValue()
Gets the value that would be used along this dimension if a Web request omits a value for the dimension.

Returns:
Returns the defaultValue.

getExtentExpression

public java.lang.String getExtentExpression()
Returns the extent expression as it was written in the Capabilities document.

Returns:
String

allowsNearestValue

public boolean allowsNearestValue()
Returns:
Returns the nearestValues.

parse

public void parse(org.kxml2.io.KXmlParser parser)
           throws java.io.IOException,
                  org.xmlpull.v1.XmlPullParserException
Parses the EXTENT tag in the WMS capabilities, filling the Extend fills of the WMSDimension object and loading the data into memory to be easily accesed.

Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException


Copyright © 2004-2013 gvSIG. All Rights Reserved.