org.gvsig.remoteclient.wms
Class WMSDimension

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

public class WMSDimension
extends java.lang.Object


Constructor Summary
WMSDimension()
           
 
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 allowsMultipleValues()
           
 boolean allowsNearestValues()
           
 java.lang.String getDimDefaultValue()
          Gets the value that would be used along this dimension if a Web request omits a value for the dimension.
 java.lang.String getDimensionExpression()
           
 java.lang.String getExtentExpression()
          Returns the extent expression as it was written in the Capabilities document.
 java.lang.String getName()
           
 java.lang.String getUnits()
           
 java.lang.String getUnitSymbol()
           
 void parse(org.kxml2.io.KXmlParser parser)
          Parses the DIMENSION tag in the WMS capabilities, filling the WMSDimension object and loading the data into memory to be easily accesed
 void setDimensionExpression(java.lang.String exp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSDimension

public WMSDimension()
Method Detail

getName

public java.lang.String getName()

getUnits

public java.lang.String getUnits()

getUnitSymbol

public java.lang.String getUnitSymbol()

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.

getDimDefaultValue

public java.lang.String getDimDefaultValue()
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

allowsMultipleValues

public boolean allowsMultipleValues()
Returns:
Returns the multipleValues.

getDimensionExpression

public java.lang.String getDimensionExpression()
Returns:
Returns the dimensionExpression.

setDimensionExpression

public void setDimensionExpression(java.lang.String exp)

allowsNearestValues

public boolean allowsNearestValues()
Returns:
Returns the nearestValues.

parse

public void parse(org.kxml2.io.KXmlParser parser)
           throws java.io.IOException,
                  org.xmlpull.v1.XmlPullParserException
Parses the DIMENSION tag in the WMS capabilities, filling 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.