Class KeywordsImpl

    • Field Detail

      • lang

        private String lang
        The language.
      • data

        @Nonnull
        private List<String> data
        The data.
    • 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<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
      • 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