Class KeywordsImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.LangBearing, org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, org.opensaml.saml.ext.saml2mdui.Keywords

    public class KeywordsImpl
    extends org.opensaml.core.xml.AbstractXMLObject
    implements org.opensaml.saml.ext.saml2mdui.Keywords
    Concrete Implementation of Keywords.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private List<String> data
      The data.
      private String lang
      The language.
      • Fields inherited from interface org.opensaml.saml.ext.saml2mdui.Keywords

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
      • Fields inherited from interface org.opensaml.core.xml.LangBearing

        XML_LANG_ATTR_LOCAL_NAME, XML_LANG_ATTR_NAME
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected KeywordsImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<String> getKeywords()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      String getXMLLang()
      int hashCode()
      void setKeywords​(List<String> val)
      void setXMLLang​(String newLang)
      • Methods inherited from class org.opensaml.core.xml.AbstractXMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
      • Methods inherited from interface org.opensaml.core.xml.XMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
    • Field Detail

      • lang

        private String lang
        The language.
    • Constructor Detail

      • KeywordsImpl

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

      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject
      • getXMLLang

        public String getXMLLang()
        Specified by:
        getXMLLang in interface org.opensaml.core.xml.LangBearing
      • setXMLLang

        public void setXMLLang​(String newLang)
        Specified by:
        setXMLLang in interface org.opensaml.core.xml.LangBearing
      • getKeywords

        public List<String> getKeywords()
        Specified by:
        getKeywords in interface org.opensaml.saml.ext.saml2mdui.Keywords
      • setKeywords

        public void setKeywords​(List<String> val)
        Specified by:
        setKeywords in interface org.opensaml.saml.ext.saml2mdui.Keywords
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object