Package eu.europa.esig.dss.enumerations
Enum ObjectIdentifierQualifier
- All Implemented Interfaces:
- Serializable,- Comparable<ObjectIdentifierQualifier>
Declares type of the defines identifier
 Used in XAdES
 
 
                
 			<xsd:simpleType name="QualifierType">
 				<xsd:restriction base="xsd:string">
 					<xsd:enumeration value="OIDAsURI"/>
 					<xsd:enumeration value="OIDAsURN"/>
 				</xsd:restriction>
 			</xsd:simpleType>
 		
 - 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionIdentifies object Identifier encoded as URI (e.g.Identifies object Identifier encoded as URN (e.g.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ObjectIdentifierQualifierReturns anObjectIdentifierQualifierinstance from the given valuegetValue()Returns XML value of the qualifierstatic ObjectIdentifierQualifierReturns the enum constant of this type with the specified name.static ObjectIdentifierQualifier[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
OID_AS_URIIdentifies object Identifier encoded as URI (e.g. 'http://test/public')
- 
OID_AS_URNIdentifies object Identifier encoded as URN (e.g. 'urn:oid:1.2.840.113549.1.9.16.6.3')
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
getValueReturns XML value of the qualifier- Returns:
- Stringvalue
 
- 
fromValueReturns anObjectIdentifierQualifierinstance from the given value- Parameters:
- v-- Stringvalue to get the- ObjectIdentifierQualifierfor
- Returns:
- ObjectIdentifierQualifier
 
 
-