org.apache.ws.commons.schema.docpath
Enum XmlSchemaStateMachineNode.Type
java.lang.Object
java.lang.Enum<XmlSchemaStateMachineNode.Type>
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>
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
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.