Class StoredHtmlSrc

  • All Implemented Interfaces:
    Serializable, Cloneable, org.apache.ecs.Attributes, org.apache.ecs.Element, org.apache.ecs.ElementRegistry, org.apache.ecs.Printable

    public class StoredHtmlSrc
    extends org.apache.ecs.MultiPartElement
    implements org.apache.ecs.Printable
    Load html-src (text) stored in JAR, e.g. to load a style-sheet
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static CLogger log
      Logger
      • Fields inherited from class org.apache.ecs.ConcreteElement

        NBSP
      • Fields inherited from class org.apache.ecs.GenericElement

        tabLevel
      • Fields inherited from interface org.apache.ecs.Attributes

        NO_ATTRIBUTE_VALUE
      • Fields inherited from interface org.apache.ecs.Element

        CENTER, LEFT, LOWERCASE, MIXEDCASE, RIGHT, UPPERCASE
    • Constructor Summary

      Constructors 
      Constructor Description
      StoredHtmlSrc​(String elementType, String srcLocation)
      Load html-src (text) stored in JAR, e.g. to load a style-sheet
    • Method Summary

      • Methods inherited from class org.apache.ecs.ConcreteElement

        addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, keys, output, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry
      • Methods inherited from class org.apache.ecs.ElementAttributes

        addAttribute, addAttribute, addAttribute, addAttribute, attributes, createStartTag, getAttribute, getAttributeEqualitySign, getAttributeFilter, getAttributeFilterState, getAttributeQuote, getAttributeQuoteChar, hasAttribute, removeAttribute, setAttributeEqualitySign, setAttributeFilter, setAttributeFilterState, setAttributeQuote, setAttributeQuoteChar, setClass, setDir, setID, setLang, setStyle, setTitle
      • Methods inherited from class org.apache.ecs.GenericElement

        alterCase, createEndTag, getBeginEndModifier, getBeginEndModifierDefined, getBeginStartModifier, getBeginStartModifierDefined, getCase, getCodeSet, getElementHashEntry, getElementType, getEndEndModifier, getEndEndModifierDefined, getEndStartModifier, getEndStartModifierDefined, getEndTagChar, getFilter, getFilterState, getNeedClosingTag, getNeedLineBreak, getPrettyPrint, getStartTagChar, getTabLevel, getTagPosition, getTagText, getVersion, putTabs, putTabs, removeBeginEndModifier, removeBeginStartModifier, removeEndEndModifier, removeEndStartModifier, setBeginEndModifier, setBeginModifier, setBeginModifier, setBeginStartModifier, setCase, setCodeSet, setElementType, setEndEndModifier, setEndModifier, setEndModifier, setEndStartModifier, setEndTagChar, setFilter, setFilterState, setNeedClosingTag, setPrettyPrint, setStartTagChar, setTabLevel, setTagPosition, setTagText, toString, toString
    • Field Detail

      • log

        protected static CLogger log
        Logger
    • Constructor Detail

      • StoredHtmlSrc

        public StoredHtmlSrc​(String elementType,
                             String srcLocation)
        Load html-src (text) stored in JAR, e.g. to load a style-sheet
        Parameters:
        elementType - e.g. elementType=STYLE
        srcLocation - package/filename in SRC e.g. org/compiere/util/standard.css todo if needed: also write for SinglePartElement and StringElement