Interface TransliterationStringType
- All Superinterfaces:
EidasAttributeValueType
,XMLObject
,XSString
- All Known Subinterfaces:
BirthNameType
,CurrentFamilyNameType
,CurrentGivenNameType
- All Known Implementing Classes:
BirthNameTypeImpl
,CurrentFamilyNameTypeImpl
,CurrentGivenNameTypeImpl
,TransliterationStringTypeImpl
Interface for eIDAS attribute values that may be represented as non-Latin scripts.
Section 2.4 of the eIDAS SAML Attribute Profile states the following:
Transliteration allows the consumer of identity assertions to determine which attribute values are recorded in Latin and non-Latin script.
For attribute values where transliteration is applicable (as defined by the profile) a modifying attribute
LatinScript=”false”
MUST be applied to the <AttributeValue>
. This LatinScript
attribute is
optional and set to true
by default.
<AttributeValue>
statements MUST be included in the <Attribute>
statement;
- a Latin script variant of the attribute value
- a non-Latin script variant which MUST be clearly identified using the
LatinScript
attribute set tofalse
.
If a transliterated attribute value is included the LatinScript
attribute MUST be set to false
indicating a non-latin variant of the attribute value. Nodes MUST take account of the LatinScript
attribute
where present and act accordingly.
- Author:
- Martin Lindström
-
Field Summary
FieldsFields inherited from interface org.opensaml.core.xml.schema.XSString
TYPE_LOCAL_NAME, TYPE_NAME
-
Method Summary
Modifier and TypeMethodDescriptionReturns theLatinScript
value.Returns theLatinScript
value.void
setLatinScript
(Boolean latinScript) Assigns theLatinScript
attribute value.void
setLatinScript
(XSBooleanValue latinScript) Assigns theLatinScript
attribute value.Methods inherited from interface se.swedenconnect.opensaml.eidas.ext.attributes.EidasAttributeValueType
parseStringValue, toStringValue
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
LATIN_SCRIPT_ATTRIB_NAME
"LatinScript" attribute's local name.- See Also:
-
-
Method Details
-
getLatinScript
Boolean getLatinScript()Returns theLatinScript
value. If the attribute is not setBoolean#TRUE
will be returned.- Returns:
- the
LatinScript
attribute value
-
getLatinScriptXSBooleanValue
XSBooleanValue getLatinScriptXSBooleanValue()Returns theLatinScript
value. If the attribute is not setnull
will be returned.- Returns:
- the
LatinScript
attribute value
-
setLatinScript
Assigns theLatinScript
attribute value.- Parameters:
latinScript
- theLatinScript
attribute value
-
setLatinScript
Assigns theLatinScript
attribute value.- Parameters:
latinScript
- theLatinScript
attribute value
-