Interface TransliterationStringType

All Superinterfaces:
EidasAttributeValueType, XMLObject, XSString
All Known Subinterfaces:
BirthNameType, CurrentFamilyNameType, CurrentGivenNameType
All Known Implementing Classes:
BirthNameTypeImpl, CurrentFamilyNameTypeImpl, CurrentGivenNameTypeImpl, TransliterationStringTypeImpl

public interface TransliterationStringType extends XSString, EidasAttributeValueType
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.

To facilitate transliteration two <AttributeValue> statements MUST be included in the <Attribute> statement;
  1. a Latin script variant of the attribute value
  2. a non-Latin script variant which MUST be clearly identified using the LatinScript attribute set to false.

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 Details

    • LATIN_SCRIPT_ATTRIB_NAME

      static final String LATIN_SCRIPT_ATTRIB_NAME
      "LatinScript" attribute's local name.
      See Also:
  • Method Details

    • getLatinScript

      Boolean getLatinScript()
      Returns the LatinScript value. If the attribute is not set Boolean#TRUE will be returned.
      Returns:
      the LatinScript attribute value
    • getLatinScriptXSBooleanValue

      XSBooleanValue getLatinScriptXSBooleanValue()
      Returns the LatinScript value. If the attribute is not set null will be returned.
      Returns:
      the LatinScript attribute value
    • setLatinScript

      void setLatinScript(Boolean latinScript)
      Assigns the LatinScript attribute value.
      Parameters:
      latinScript - the LatinScript attribute value
    • setLatinScript

      void setLatinScript(XSBooleanValue latinScript)
      Assigns the LatinScript attribute value.
      Parameters:
      latinScript - the LatinScript attribute value