org.deegree.protocol.csw
Enum CSWConstants.ConstraintLanguage

java.lang.Object
  extended by java.lang.Enum<CSWConstants.ConstraintLanguage>
      extended by org.deegree.protocol.csw.CSWConstants.ConstraintLanguage
All Implemented Interfaces:
Serializable, Comparable<CSWConstants.ConstraintLanguage>
Enclosing class:
CSWConstants

public static enum CSWConstants.ConstraintLanguage
extends Enum<CSWConstants.ConstraintLanguage>

Specifies in which filter mode the query has to be processed. Either there is a OGC XML filter encoding after the filterspecification document OGC 04-095 or there is a common query language string (CqlText) which can be seen as an explicit typed statement like an SQL statement.

Version:
$Revision: $, $Date: $
Author:
Steffen Thomas, last edited by: $Author: thomas $

Enum Constant Summary
CQLTEXT
          Common Queryable Language Text filtering
FILTER
          Filterexpression specified in OGC Spec document 04-095
 
Method Summary
static CSWConstants.ConstraintLanguage valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CSWConstants.ConstraintLanguage[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CQLTEXT

public static final CSWConstants.ConstraintLanguage CQLTEXT
Common Queryable Language Text filtering


FILTER

public static final CSWConstants.ConstraintLanguage FILTER
Filterexpression specified in OGC Spec document 04-095

Method Detail

values

public static CSWConstants.ConstraintLanguage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CSWConstants.ConstraintLanguage c : CSWConstants.ConstraintLanguage.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CSWConstants.ConstraintLanguage valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.