es.mityc.firmaJava.libreria.xades.elementos.xades
Enum EncodingEnum

java.lang.Object
  extended by java.lang.Enum<EncodingEnum>
      extended by es.mityc.firmaJava.libreria.xades.elementos.xades.EncodingEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EncodingEnum>

public enum EncodingEnum
extends java.lang.Enum<EncodingEnum>

Version:
1.0
Author:
Ministerio de Industria, Energía y Turismo

Enum Constant Summary
BER_ENCODED
           
CER_ENCODED
           
DER_ENCODED
           
PER_ENCODED
           
XER_ENCODED
           
 
Method Summary
static EncodingEnum getEncoding(java.lang.String uri)
           
 java.net.URI getEncodingUri()
           
static EncodingEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EncodingEnum[] 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

DER_ENCODED

public static final EncodingEnum DER_ENCODED

BER_ENCODED

public static final EncodingEnum BER_ENCODED

CER_ENCODED

public static final EncodingEnum CER_ENCODED

PER_ENCODED

public static final EncodingEnum PER_ENCODED

XER_ENCODED

public static final EncodingEnum XER_ENCODED
Method Detail

values

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

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

valueOf

public static EncodingEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getEncodingUri

public java.net.URI getEncodingUri()

getEncoding

public static EncodingEnum getEncoding(java.lang.String uri)


Copyright © 2009 Ministerio de Industria, Energía y Turismo. All Rights Reserved.