xades4j.verification
Enum XAdESForm

java.lang.Object
  extended by java.lang.Enum<XAdESForm>
      extended by xades4j.verification.XAdESForm
All Implemented Interfaces:
Serializable, Comparable<XAdESForm>

public enum XAdESForm
extends Enum<XAdESForm>

The different XAdES signature forms.

Author:
Luís

Enum Constant Summary
A
           
BES
           
C
           
EPES
           
T
           
X
           
X_L
           
 
Method Summary
 boolean after(XAdESForm f)
           
 boolean before(XAdESForm f)
           
 String getFullName()
           
 String toString()
           
static XAdESForm valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XAdESForm[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BES

public static final XAdESForm BES

EPES

public static final XAdESForm EPES

T

public static final XAdESForm T

C

public static final XAdESForm C

X

public static final XAdESForm X

X_L

public static final XAdESForm X_L

A

public static final XAdESForm A
Method Detail

values

public static XAdESForm[] 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 (XAdESForm c : XAdESForm.values())
    System.out.println(c);

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

valueOf

public static XAdESForm 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

getFullName

public String getFullName()

before

public boolean before(XAdESForm f)

after

public boolean after(XAdESForm f)

toString

public String toString()
Overrides:
toString in class Enum<XAdESForm>


Copyright © 2012. All Rights Reserved.