|
||||||||||
| 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.MultiPartElement
org.apache.ecs.html.Comment
public class Comment
This class defines a comment <-- VALUE --> Element.
| 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 | |
|---|---|
Comment()
Default constructor use set* methods. |
|
Comment(Element element)
Create a comment object containg this element. |
|
Comment(java.lang.String element)
Create a comment object containg this element. |
|
| Method Summary | |
|---|---|
Comment |
addElement(Element element)
Adds an Element to the element. |
Comment |
addElement(java.lang.String element)
Adds an Element to the element. |
Comment |
addElement(java.lang.String hashcode,
Element element)
Adds an Element to the element. |
Comment |
addElement(java.lang.String hashcode,
java.lang.String element)
Adds an Element to the element. |
java.lang.String |
createEndTag()
|
java.lang.String |
createStartTag()
This method overrides createStartTag() in Generic Element. |
Comment |
removeElement(java.lang.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, 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 Comment()
public Comment(java.lang.String element)
public Comment(Element element)
| Method Detail |
|---|
public Comment addElement(java.lang.String hashcode,
Element element)
hashcode - name of element for hash tableelement - Adds an Element to the element.
public Comment addElement(java.lang.String hashcode,
java.lang.String element)
hashcode - name of element for hash tableelement - Adds an Element to the element.public Comment addElement(Element element)
element - Adds an Element to the element.public Comment addElement(java.lang.String element)
element - Adds an Element to the element.public Comment removeElement(java.lang.String hashcode)
hashcode - the name of the element to be removed.public java.lang.String createStartTag()
ElementAttributes
createStartTag in class ElementAttributespublic java.lang.String createEndTag()
createEndTag in class GenericElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||