Class KeywordsImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.ext.saml2mdui.impl.KeywordsImpl
All Implemented Interfaces:
LangBearing, XMLObject, SAMLObject, Keywords

public class KeywordsImpl extends AbstractXMLObject implements Keywords
Concrete Implementation of Keywords.
  • Field Details

    • lang

      private String lang
      The language.
    • data

      @Nonnull private List<String> data
      The data.
  • Constructor Details

    • KeywordsImpl

      protected KeywordsImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the URI
      elementLocalName - the local name
      namespacePrefix - the prefix
  • Method Details

    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements
    • 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
    • getKeywords

      public List<String> getKeywords()
      Gets the keywords.
      Specified by:
      getKeywords in interface Keywords
      Returns:
      the keywords
    • setKeywords

      public void setKeywords(List<String> val)
      Sets the keywords.
      Specified by:
      setKeywords in interface Keywords
      Parameters:
      val - The keywords
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object