|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ecs.GenericElement
org.apache.ecs.ElementAttributes
org.apache.ecs.ConcreteElement
org.apache.ecs.StringElement
public class StringElement
This class is used to create a String element in ECS. A StringElement has no tags wrapped around it, it is an Element without tags.
Field Summary |
---|
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 | |
---|---|
StringElement()
Basic constructor |
|
StringElement(Element element)
Basic constructor |
|
StringElement(java.lang.String string)
Basic constructor |
Method Summary | |
---|---|
StringElement |
addElement(Element element)
Adds an Element to the element. |
StringElement |
addElement(java.lang.String element)
Adds an Element to the element. |
StringElement |
addElement(java.lang.String hashcode,
Element element)
Adds an Element to the element. |
StringElement |
addElement(java.lang.String hashcode,
java.lang.String element)
Adds an Element to the element. |
private StringElement |
append(java.lang.String string)
|
java.lang.String |
createEndTag()
|
java.lang.String |
createStartTag()
This method overrides createStartTag() in Generic Element. |
StringElement |
removeElement(java.lang.String hashcode)
Removes an Element from the element. |
StringElement |
reset()
Resets the interal string to be empty. |
Methods inherited from class org.apache.ecs.ConcreteElement |
---|
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, isEmpty, keys, output, output, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry |
Methods inherited from class org.apache.ecs.ElementAttributes |
---|
addAttribute, addAttribute, addAttribute, addAttribute, attributes, getAttribute, getAttributeEqualitySign, getAttributeFilter, getAttributeFilterState, getAttributeQuote, getAttributeQuoteChar, hasAttribute, removeAttribute, setAttributeEqualitySign, setAttributeFilter, setAttributeFilterState, setAttributeQuote, setAttributeQuoteChar, setClass, setDir, setID, setLang, setStyle, setTitle |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringElement()
public StringElement(java.lang.String string)
public StringElement(Element element)
Method Detail |
---|
private StringElement append(java.lang.String string)
public StringElement reset()
public StringElement addElement(java.lang.String hashcode, Element element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public StringElement addElement(java.lang.String hashcode, java.lang.String element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public StringElement addElement(java.lang.String element)
element
- Adds an Element to the element.public StringElement addElement(Element element)
element
- Adds an Element to the element.public StringElement removeElement(java.lang.String hashcode)
hashcode
- the name of the element to be removed.public java.lang.String createStartTag()
ElementAttributes
createStartTag
in class ElementAttributes
public java.lang.String createEndTag()
createEndTag
in class GenericElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |