Class HtmlCode

java.lang.Object
org.apache.ecs.GenericElement
org.apache.ecs.ElementAttributes
org.apache.ecs.ConcreteElement
org.apache.ecs.MultiPartElement
org.compiere.util.HtmlCode
All Implemented Interfaces:
Serializable, Cloneable, org.apache.ecs.Attributes, org.apache.ecs.Element, org.apache.ecs.ElementRegistry, org.apache.ecs.Printable

public class HtmlCode extends org.apache.ecs.MultiPartElement implements org.apache.ecs.Printable
ECS Component Collection.
Version:
$Id: HtmlCode.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Field Summary

    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
    HtmlCode
  • Method Summary

    Modifier and Type
    Method
    Description
    addElement(String element)
    Adds an Element to the element.
    addElement(String hashcode, String element)
    Adds an Element to the element.
    addElement(String hashcode, org.apache.ecs.Element element)
    Adds an Element to the element.
    addElement(org.apache.ecs.Element element)
    Adds an Element to the element.
    Removes an Element from the element.

    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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • HtmlCode

      public HtmlCode()
      HtmlCode
  • Method Details

    • addElement

      public HtmlCode addElement(String hashcode, org.apache.ecs.Element element)
      Adds an Element to the element.
      Parameters:
      hashcode - name of element for hash table
      element - Adds an Element to the element.
      Returns:
      this
    • addElement

      public HtmlCode addElement(String hashcode, String element)
      Adds an Element to the element.
      Parameters:
      hashcode - name of element for hash table
      element - Adds an Element to the element.
      Returns:
      this
    • addElement

      public HtmlCode addElement(org.apache.ecs.Element element)
      Adds an Element to the element.
      Parameters:
      element - Adds an Element to the element.
      Returns:
      this
    • addElement

      public HtmlCode addElement(String element)
      Adds an Element to the element.
      Parameters:
      element - Adds an Element to the element.
      Returns:
      this
    • removeElement

      public HtmlCode removeElement(String hashcode)
      Removes an Element from the element.
      Parameters:
      hashcode - the name of the element to be removed.
      Returns:
      this