Apache CXF API

org.apache.cxf.ws.security.wss4j
Enum CryptoCoverageUtil.CoverageScope

java.lang.Object
  extended by java.lang.Enum<CryptoCoverageUtil.CoverageScope>
      extended by org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageScope
All Implemented Interfaces:
Serializable, Comparable<CryptoCoverageUtil.CoverageScope>
Enclosing class:
CryptoCoverageUtil

public static enum CryptoCoverageUtil.CoverageScope
extends Enum<CryptoCoverageUtil.CoverageScope>

Differentiates which part of an element to check for cryptographic coverage.


Enum Constant Summary
CONTENT
          Checks for encryption of the matching elements.
ELEMENT
          Checks for a signature over the matching elements.
 
Method Summary
static CryptoCoverageUtil.CoverageScope valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CryptoCoverageUtil.CoverageScope[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CONTENT

public static final CryptoCoverageUtil.CoverageScope CONTENT
Checks for encryption of the matching elements.


ELEMENT

public static final CryptoCoverageUtil.CoverageScope ELEMENT
Checks for a signature over the matching elements.

Method Detail

values

public static final CryptoCoverageUtil.CoverageScope[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CryptoCoverageUtil.CoverageScope c : CryptoCoverageUtil.CoverageScope.values())
        System.out.println(c);

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

valueOf

public static CryptoCoverageUtil.CoverageScope 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

Apache CXF API

Apache CXF