deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.io.datastore.schema.content
Class SpecialContent

java.lang.Object
  extended by org.deegree.io.datastore.schema.content.SpecialContent
All Implemented Interfaces:
FunctionParam

public class SpecialContent
extends java.lang.Object
implements FunctionParam

Special content class that allows to refer to parameters of the Query or other properties of the environment.

Currently defined variables:

Variable name Description
$QUERY.BBOX Bounding box of the query (null if it is not present).

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Nested Class Summary
static class SpecialContent.VARIABLE
          Known variables.
 
Field Summary
static java.lang.String QUERY_BBOX_NAME
          Bounding box of the query (null if it is not present).
 
Constructor Summary
SpecialContent(java.lang.String variableName)
          Initializes a newly created SpecialContent object so that it represents the given variable.
 
Method Summary
static java.lang.String[] getKnownVariables()
          Returns all known variable names.
 int getSRS()
          Returns the vendor dependent descriptor for the SRS of the associated geometry.
 SpecialContent.VARIABLE getVariable()
          Returns the SpecialContent.VARIABLE.
 void setSRS(int internalSRS)
          Sets the vendor dependent descriptor for the SRS of the associated geometry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUERY_BBOX_NAME

public static final java.lang.String QUERY_BBOX_NAME
Bounding box of the query (null if it is not present).

See Also:
Constant Field Values
Constructor Detail

SpecialContent

public SpecialContent(java.lang.String variableName)
Initializes a newly created SpecialContent object so that it represents the given variable.

Parameters:
variableName -
Throws:
java.lang.IllegalArgumentException - if given variable is not known
Method Detail

getVariable

public SpecialContent.VARIABLE getVariable()
Returns the SpecialContent.VARIABLE.

Returns:
the variable

getKnownVariables

public static java.lang.String[] getKnownVariables()
Returns all known variable names.

Returns:
all known variable names

getSRS

public int getSRS()
Returns the vendor dependent descriptor for the SRS of the associated geometry.

Returns:
vendor dependent descriptor for the SRS, may be null

setSRS

public void setSRS(int internalSRS)
Sets the vendor dependent descriptor for the SRS of the associated geometry.

Parameters:
internalSRS - the vendor dependent descriptor for the SRS

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org