com.cc.framework.ui.painter.global
Class IncludeElement

java.lang.Object
  extended byorg.apache.ecs.GenericElement
      extended byorg.apache.ecs.ElementAttributes
          extended byorg.apache.ecs.ConcreteElement
              extended bycom.cc.framework.ui.painter.global.IncludeElement
All Implemented Interfaces:
org.apache.ecs.Attributes, java.lang.Cloneable, org.apache.ecs.Element, org.apache.ecs.ElementRegistry, java.io.Serializable

public class IncludeElement
extends org.apache.ecs.ConcreteElement

ECS element for page includes

Since:
1.0
Version:
$Revision: 1.4 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  javax.servlet.jsp.PageContext pageContext
          The PageContext
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class org.apache.ecs.ConcreteElement
 
Fields inherited from class org.apache.ecs.ElementAttributes
 
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
IncludeElement()
          Constructor for IncludeElement
IncludeElement(javax.servlet.jsp.PageContext pageContext, java.lang.String string)
          Constructor for IncludeElement
 
Method Summary
 IncludeElement addElement(org.apache.ecs.Element element)
          Adds an Element to the element.
 IncludeElement addElement(java.lang.String element)
          Adds an Element to the element.
 IncludeElement addElement(java.lang.String hashcode, org.apache.ecs.Element element)
          Adds an Element to the element.
 IncludeElement addElement(java.lang.String hashcode, java.lang.String element)
          Adds an Element to the element.
 void output(java.io.PrintWriter out)
           
 IncludeElement removeElement(java.lang.String hashcode)
          Removes an Element from the element.
 IncludeElement reset()
          Resets the internal string to be empty.
 
Methods inherited from class org.apache.ecs.ConcreteElement
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, isEmpty, 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

pageContext

private javax.servlet.jsp.PageContext pageContext
The PageContext

Constructor Detail

IncludeElement

public IncludeElement()
Constructor for IncludeElement


IncludeElement

public IncludeElement(javax.servlet.jsp.PageContext pageContext,
                      java.lang.String string)
Constructor for IncludeElement

Parameters:
pageContext - The PageContext
string - Include
Method Detail

reset

public IncludeElement reset()
Resets the internal string to be empty.

Returns:
IncludeElement

addElement

public IncludeElement addElement(java.lang.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:
IncludeElement

addElement

public IncludeElement addElement(java.lang.String hashcode,
                                 java.lang.String element)
Adds an Element to the element.

Parameters:
hashcode - name of element for hash table
element - Adds an Element to the element.
Returns:
IncludeElement

addElement

public IncludeElement addElement(java.lang.String element)
Adds an Element to the element.

Parameters:
element - Adds an Element to the element.
Returns:
IncludeElement

addElement

public IncludeElement addElement(org.apache.ecs.Element element)
Adds an Element to the element.

Parameters:
element - Adds an Element to the element.
Returns:
IncludeElement

removeElement

public IncludeElement removeElement(java.lang.String hashcode)
Removes an Element from the element.

Parameters:
hashcode - the name of the element to be removed.
Returns:
IncludeElement

output

public void output(java.io.PrintWriter out)
See Also:
Element.output(java.io.PrintWriter)


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.