org.apache.ws.commons.schema.docpath
Enum XmlSchemaStateMachineNode.Type

java.lang.Object
  extended by java.lang.Enum<XmlSchemaStateMachineNode.Type>
      extended by org.apache.ws.commons.schema.docpath.XmlSchemaStateMachineNode.Type
All Implemented Interfaces:
Serializable, Comparable<XmlSchemaStateMachineNode.Type>
Enclosing class:
XmlSchemaStateMachineNode

public static enum XmlSchemaStateMachineNode.Type
extends Enum<XmlSchemaStateMachineNode.Type>


Enum Constant Summary
ALL
           
ANY
           
CHOICE
           
ELEMENT
           
SEQUENCE
           
SUBSTITUTION_GROUP
           
 
Method Summary
static XmlSchemaStateMachineNode.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XmlSchemaStateMachineNode.Type[] 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

ELEMENT

public static final XmlSchemaStateMachineNode.Type ELEMENT

SUBSTITUTION_GROUP

public static final XmlSchemaStateMachineNode.Type SUBSTITUTION_GROUP

ALL

public static final XmlSchemaStateMachineNode.Type ALL

CHOICE

public static final XmlSchemaStateMachineNode.Type CHOICE

SEQUENCE

public static final XmlSchemaStateMachineNode.Type SEQUENCE

ANY

public static final XmlSchemaStateMachineNode.Type ANY
Method Detail

values

public static XmlSchemaStateMachineNode.Type[] 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 (XmlSchemaStateMachineNode.Type c : XmlSchemaStateMachineNode.Type.values())
    System.out.println(c);

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

valueOf

public static XmlSchemaStateMachineNode.Type 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 © 2004-2015 The Apache Software Foundation. All Rights Reserved.