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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLASSERTIONASSERTION_PARAMETER_NODEEXACTLY_ONEPOLICYPOLICY_REFERENCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlTokengetXmlToken()static ModelNode.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static ModelNode.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
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 nameNullPointerException- if the argument is null
-
getXmlToken
public XmlToken getXmlToken()
-
-