com.sun.xml.ws.policy.sourcemodel
Enum ModelNode.Type

java.lang.Object
  extended by java.lang.Enum<ModelNode.Type>
      extended by 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
ALL
           
ASSERTION
           
ASSERTION_PARAMETER_NODE
           
EXACTLY_ONE
           
POLICY
           
POLICY_REFERENCE
           
 
Method Summary
 XmlToken getXmlToken()
           
static ModelNode.Type valueOf(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.
 
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

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 name
NullPointerException - if the argument is null

getXmlToken

public XmlToken getXmlToken()


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.