Class AbstractTextElement

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ELEMENT  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractTextElement​(java.lang.String text, java.lang.String lang)  
    • Constructor Detail

      • AbstractTextElement

        protected AbstractTextElement​(java.lang.String text,
                                      java.lang.String lang)
    • Method Detail

      • getElementName

        public java.lang.String getElementName()
        Description copied from interface: NamedElement
        Returns the root element name.
        Specified by:
        getElementName in interface NamedElement
        Returns:
        the element name.
      • getText

        public final java.lang.String getText()
      • getLanguage

        public final java.lang.String getLanguage()
        Description copied from interface: XmlLangElement
        Returns the xml:lang of this XML element, or null if one has not been set.
        Specified by:
        getLanguage in interface XmlElement
        Specified by:
        getLanguage in interface XmlLangElement
        Returns:
        the xml:lang of this XML element, or null.