com.sun.xml.ws.policy.sourcemodel
Enum ModelNode.Type
java.lang.Object
java.lang.Enum<ModelNode.Type>
com.sun.xml.ws.policy.sourcemodel.ModelNode.Type
- All Implemented Interfaces:
- Serializable, Comparable<ModelNode.Type>
- Enclosing class:
- ModelNode
public static enum ModelNode.Type
- extends Enum<ModelNode.Type>
Policy source model node type enumeration
POLICY
public static final ModelNode.Type POLICY
ALL
public static final ModelNode.Type ALL
EXACTLY_ONE
public static final ModelNode.Type EXACTLY_ONE
POLICY_REFERENCE
public static final ModelNode.Type POLICY_REFERENCE
ASSERTION
public static final ModelNode.Type ASSERTION
ASSERTION_PARAMETER_NODE
public static final ModelNode.Type ASSERTION_PARAMETER_NODE
values
public static ModelNode.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 (ModelNode.Type c : ModelNode.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 ModelNode.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
getXmlToken
public XmlToken getXmlToken()
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.