Compiere 3.1

org.compiere.util
Class HtmlCode

java.lang.Object
  extended by org.apache.ecs.GenericElement
      extended by org.apache.ecs.ElementAttributes
          extended by org.apache.ecs.ConcreteElement
              extended by org.apache.ecs.MultiPartElement
                  extended by 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:
Serialized Form

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
HtmlCode()
          HtmlCode
 
Method Summary
 HtmlCode addElement(org.apache.ecs.Element element)
          Adds an Element to the element.
 HtmlCode addElement(String element)
          Adds an Element to the element.
 HtmlCode addElement(String hashcode, org.apache.ecs.Element element)
          Adds an Element to the element.
 HtmlCode addElement(String hashcode, String element)
          Adds an Element to the element.
 HtmlCode removeElement(String hashcode)
          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 Detail

HtmlCode

public HtmlCode()
HtmlCode

Method Detail

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

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.