|
||||||||||
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.rtf.RTFElement
org.apache.ecs.rtf.Bold
public class Bold
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 | |
---|---|
Bold()
Default Constructor. |
|
Bold(RTFElement element)
Instantiate a new Bold element with this Element. |
|
Bold(java.lang.String element)
Instantiate a new Bold element with this String. |
Method Summary | |
---|---|
Bold |
addElement(RTFElement element)
Adds an Element to the element. |
Bold |
addElement(java.lang.String element)
Adds an Element to the element. |
Bold |
addElement(java.lang.String hashcode,
RTFElement element)
Adds an Element to the element. |
Bold |
addElement(java.lang.String hashcode,
java.lang.String element)
Adds an Element to the element. |
java.lang.String |
createEndTag()
Create the end element for output. |
java.lang.String |
createStartTag()
This method overrides createStartTag() in Generic Element. |
Bold |
removeElement(java.lang.String hashcode)
Removes an Element from the element. |
Methods inherited from class org.apache.ecs.rtf.RTFElement |
---|
get |
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 Bold()
public Bold(java.lang.String element)
element
- String to apply a Bold tag too.public Bold(RTFElement element)
element
- RTFElement to apply a Bold tag too.Method Detail |
---|
public java.lang.String createStartTag()
ElementAttributes
createStartTag
in class RTFElement
public java.lang.String createEndTag()
createEndTag
in class RTFElement
public Bold addElement(java.lang.String hashcode, RTFElement element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public Bold addElement(java.lang.String hashcode, java.lang.String element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public Bold addElement(RTFElement element)
element
- Adds an Element to the element.public Bold addElement(java.lang.String element)
element
- Adds an Element to the element.public Bold removeElement(java.lang.String hashcode)
hashcode
- the name of the element to be removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |