Package xades4j.properties
Enum IdentifierType
- All Implemented Interfaces:
Serializable
,Comparable<IdentifierType>
The object
IdentifierType
as defined in XAdES.
<xsd:complexType name="IdentifierType">
<xsd:simpleContent>
<xsd:extension base="xsd:anyURI">
<xsd:attribute name="Qualifier" type="QualifierType" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="QualifierType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="OIDAsURI"/>
<xsd:enumeration value="OIDAsURN"/>
</xsd:restriction>
</xsd:simpleType>- Author:
- Luís
-
Enum Constant Summary
Enum ConstantDescriptionThe identifier is an Object Identifier encoded as a URIThe identifier is an Object Identifier encoded as a URNDeprecated.Deprecated.The identifier is a URI. -
Method Summary
Modifier and TypeMethodDescriptionstatic IdentifierType
Returns the enum constant of this type with the specified name.static IdentifierType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
URI
The identifier is a URI. -
OID_AS_URI
The identifier is an Object Identifier encoded as a URI -
OIDAsURI
Deprecated. -
OID_AS_URN
The identifier is an Object Identifier encoded as a URN -
OIDAsURN
Deprecated.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-