Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.types.content.sealing
Enum ContentParseException.Reason

java.lang.Object
  extended by java.lang.Enum<ContentParseException.Reason>
      extended by oracle.irm.engine.types.content.sealing.ContentParseException.Reason

All Implemented Interfaces:
Serializable, Comparable<ContentParseException.Reason>
Enclosing class:
ContentParseException

public static enum ContentParseException.Reason
extends Enum<ContentParseException.Reason>

Reason enumeration. This enumeration is the enumeration type used by JAXB for XML to object binding as well as as parameters in the EJB and Web Service interfaces. This enumeration also includes two additional methods ContentParseException.Reason.value() and ContentParseException.Reason.fromValue(java.lang.String) which are used by Web Service bindings for this enumeration.


Enum Constant Summary
CONTENT_TRUNCATED
           
MAGIC_NOT_FOUND
           
PREAMBLE_NOT_FOUND
           
PRIVATE_BLOCK_DIGEST_MISMATCH
           
PRIVATE_HEADER_CORRUPT
           
PUBLIC_HEADER_CORRUPT
           
PUBLIC_HEADER_DATA_DIGEST_MISMATCH
           
PUBLIC_HEADER_MISSING
           
PUBLIC_HEADER_SIGNATURE_CORRUPT
           
PUBLIC_HEADER_SIGNATURE_MISMATCH
           
PUBLIC_HEADER_SIGNATURE_MISSING
           
XML_BLOCK_EMPTY
           
XML_BLOCK_INVALID_SIZE
           
XML_BLOCK_TRUNCATED
           

 

Method Summary
static ContentParseException.Reason fromValue(String value)
          Get the enumeration value from a string.
 String value()
          Get the enumeration string value.
static ContentParseException.Reason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContentParseException.Reason[] 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

CONTENT_TRUNCATED

public static final ContentParseException.Reason CONTENT_TRUNCATED

XML_BLOCK_INVALID_SIZE

public static final ContentParseException.Reason XML_BLOCK_INVALID_SIZE

XML_BLOCK_EMPTY

public static final ContentParseException.Reason XML_BLOCK_EMPTY

XML_BLOCK_TRUNCATED

public static final ContentParseException.Reason XML_BLOCK_TRUNCATED

PREAMBLE_NOT_FOUND

public static final ContentParseException.Reason PREAMBLE_NOT_FOUND

MAGIC_NOT_FOUND

public static final ContentParseException.Reason MAGIC_NOT_FOUND

PUBLIC_HEADER_MISSING

public static final ContentParseException.Reason PUBLIC_HEADER_MISSING

PUBLIC_HEADER_CORRUPT

public static final ContentParseException.Reason PUBLIC_HEADER_CORRUPT

PUBLIC_HEADER_SIGNATURE_MISMATCH

public static final ContentParseException.Reason PUBLIC_HEADER_SIGNATURE_MISMATCH

PUBLIC_HEADER_SIGNATURE_MISSING

public static final ContentParseException.Reason PUBLIC_HEADER_SIGNATURE_MISSING

PUBLIC_HEADER_SIGNATURE_CORRUPT

public static final ContentParseException.Reason PUBLIC_HEADER_SIGNATURE_CORRUPT

PUBLIC_HEADER_DATA_DIGEST_MISMATCH

public static final ContentParseException.Reason PUBLIC_HEADER_DATA_DIGEST_MISMATCH

PRIVATE_BLOCK_DIGEST_MISMATCH

public static final ContentParseException.Reason PRIVATE_BLOCK_DIGEST_MISMATCH

PRIVATE_HEADER_CORRUPT

public static final ContentParseException.Reason PRIVATE_HEADER_CORRUPT

Method Detail

values

public static ContentParseException.Reason[] 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 (ContentParseException.Reason c : ContentParseException.Reason.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ContentParseException.Reason 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

value

public String value()
Get the enumeration string value.
Returns:
The enumeration value as a string value.

fromValue

public static ContentParseException.Reason fromValue(String value)
Get the enumeration value from a string.
Parameters:
value - The enumeration value as a string value.
Returns:
The enumeration value.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.