Class LocalizedNameImpl

All Implemented Interfaces:
LangBearing, XSString, XMLObject, SAMLObject, LocalizedName
Direct Known Subclasses:
DescriptionImpl, DisplayNameImpl, OrganizationDisplayNameImpl, OrganizationNameImpl, ServiceDescriptionImpl, ServiceNameImpl

public class LocalizedNameImpl extends XSStringImpl implements LocalizedName
Concrete implementation of LocalizedName.
  • Field Details

    • language

      private String language
      Language.
  • Constructor Details

    • LocalizedNameImpl

      protected LocalizedNameImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespaceURI
      elementLocalName - the elementLocalName
      namespacePrefix - the namespacePrefix
  • Method Details

    • getXMLLang

      public String getXMLLang()
      Returns the @xml:lang attribute value.
      Specified by:
      getXMLLang in interface LangBearing
      Returns:
      The @xml:lang attribute value or null.
    • setXMLLang

      public void setXMLLang(String newLang)
      Sets the @xml:lang attribute value.
      Specified by:
      setXMLLang in interface LangBearing
      Parameters:
      newLang - The @xml:lang attribute value
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object