org.deegree.protocol.csw
Enum CSWConstants.ResultType

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

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

Specifies the mode of the response that is requested. The modes are:

  • hits (default)
  • results
  • validate

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

    Enum Constant Summary
    hits
              returns an empty SearchResults element that include the size of the result set
    results
              returns one or more records from the result set up to the maximum number of records specified in the request
    validate
              validates the request message
     
    Method Summary
    static CSWConstants.ResultType determineResultType(String typeString)
               
    static CSWConstants.ResultType valueOf(String name)
              Returns the enum constant of this type with the specified name.
    static CSWConstants.ResultType[] 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

    hits

    public static final CSWConstants.ResultType hits
    returns an empty SearchResults element that include the size of the result set


    results

    public static final CSWConstants.ResultType results
    returns one or more records from the result set up to the maximum number of records specified in the request


    validate

    public static final CSWConstants.ResultType validate
    validates the request message

    Method Detail

    values

    public static CSWConstants.ResultType[] 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.ResultType c : CSWConstants.ResultType.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.ResultType 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

    determineResultType

    public static CSWConstants.ResultType determineResultType(String typeString)


    Copyright © 2011. All Rights Reserved.