org.openanzo.util.properties
Enum PropertiesDefinitionParser.Type

java.lang.Object
  extended by java.lang.Enum<PropertiesDefinitionParser.Type>
      extended by org.openanzo.util.properties.PropertiesDefinitionParser.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PropertiesDefinitionParser.Type>
Enclosing class:
PropertiesDefinitionParser

public static enum PropertiesDefinitionParser.Type
extends java.lang.Enum<PropertiesDefinitionParser.Type>

Types of examples and descriptions


Enum Constant Summary
CLIENT
          Client example or description
EMBEDDED
          Embedded example or description
GENERAL
          General example or description
SERVER
          Server example or description
 
Method Summary
static PropertiesDefinitionParser.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PropertiesDefinitionParser.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CLIENT

public static final PropertiesDefinitionParser.Type CLIENT
Client example or description


SERVER

public static final PropertiesDefinitionParser.Type SERVER
Server example or description


EMBEDDED

public static final PropertiesDefinitionParser.Type EMBEDDED
Embedded example or description


GENERAL

public static final PropertiesDefinitionParser.Type GENERAL
General example or description

Method Detail

values

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

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

valueOf

public static PropertiesDefinitionParser.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.