|
|||||||||||
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.Alignment
Field Summary | |
private static java.util.Hashtable |
_lookup
|
private static int |
CENTERED
|
private static int |
JUSTIFIED
|
private static int |
LEFT
|
private static int |
RIGHT
|
private RTFElement |
type
|
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, LOWERCASE, MIXEDCASE, UPPERCASE |
Constructor Summary | |
Alignment()
|
Method Summary | |
Element |
addElementToRegistry(Element element)
Registers an element in the head element list |
Element |
addElementToRegistry(Element element,
boolean filter)
Registers an element in the head element list |
Element |
addElementToRegistry(java.lang.String value)
Registers an element in the head element list |
Element |
addElementToRegistry(java.lang.String value,
boolean filter)
Registers an element in the head element list |
Element |
addElementToRegistry(java.lang.String hashcode,
Element element)
Registers an element in the head element list |
Element |
addElementToRegistry(java.lang.String hashcode,
Element element,
boolean filter)
Registers an element in the head element list |
Element |
addElementToRegistry(java.lang.String hashcode,
java.lang.String value)
Registers an element in the head element list |
Element |
addElementToRegistry(java.lang.String hashcode,
java.lang.String value,
boolean filter)
Registers an element in the head element list |
java.util.Enumeration |
elements()
Get an enumeration of the elements that this element contains. |
void |
output(java.io.OutputStream out)
Override output(OutputStream) incase any elements are in the registry. |
void |
output(java.io.PrintWriter out)
Override output(BufferedWriter) incase any elements are in the registry. |
void |
output(java.io.Writer out)
Writer version of this method. |
boolean |
registryHasElement(Element element)
Find out if this element is in the element registry. |
boolean |
registryHasElement(java.lang.String hashcode)
Find out if this element is in the element registry. |
Element |
removeElementFromRegistry(Element element)
Removes an element from the element registry |
Element |
removeElementFromRegistry(java.lang.String hashcode)
Removes an element from the head element registry |
Alignment |
setType(java.lang.String type)
|
Methods inherited from class org.apache.ecs.rtf.RTFElement |
createEndTag, createStartTag, get |
Methods inherited from class org.apache.ecs.ConcreteElement |
clone, getElement, isEmpty, keys, output |
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 |
Field Detail |
private RTFElement type
private static java.util.Hashtable _lookup
private static final int CENTERED
private static final int JUSTIFIED
private static final int RIGHT
private static final int LEFT
Constructor Detail |
public Alignment()
Method Detail |
public Element addElementToRegistry(Element element)
ConcreteElement
addElementToRegistry
in interface ElementRegistry
addElementToRegistry
in class ConcreteElement
element
- element to be added to the registry.public Element addElementToRegistry(java.lang.String hashcode, Element element)
addElementToRegistry
in class ConcreteElement
hashcode
- internal name of elementelement
- element to be added to the registry.public Element addElementToRegistry(Element element, boolean filter)
addElementToRegistry
in class ConcreteElement
element
- element to be added to the registry.filter
- does this need to be filtered?public Element addElementToRegistry(java.lang.String hashcode, Element element, boolean filter)
addElementToRegistry
in class ConcreteElement
element
- element to be added to the registry.filter
- should we filter this element?public Element addElementToRegistry(java.lang.String value, boolean filter)
addElementToRegistry
in class ConcreteElement
filter
- does this need to be filtered?public Element addElementToRegistry(java.lang.String hashcode, java.lang.String value, boolean filter)
addElementToRegistry
in class ConcreteElement
filter
- does this need to be filtered?public Element addElementToRegistry(java.lang.String value)
addElementToRegistry
in interface ElementRegistry
addElementToRegistry
in class ConcreteElement
public Element addElementToRegistry(java.lang.String hashcode, java.lang.String value)
addElementToRegistry
in class ConcreteElement
public Element removeElementFromRegistry(Element element)
removeElementFromRegistry
in interface ElementRegistry
removeElementFromRegistry
in class ConcreteElement
element
- element to be added to the registry.public Element removeElementFromRegistry(java.lang.String hashcode)
removeElementFromRegistry
in interface ElementRegistry
removeElementFromRegistry
in class ConcreteElement
hashcode
- element to be added to the registry.public boolean registryHasElement(Element element)
registryHasElement
in interface ElementRegistry
registryHasElement
in class ConcreteElement
element
- find out if this element is in the registrypublic java.util.Enumeration elements()
elements
in class ConcreteElement
public boolean registryHasElement(java.lang.String hashcode)
registryHasElement
in interface ElementRegistry
registryHasElement
in class ConcreteElement
public Alignment setType(java.lang.String type)
public void output(java.io.OutputStream out)
ConcreteElement
output
in interface Element
output
in class ConcreteElement
public void output(java.io.Writer out)
ConcreteElement
output
in class ConcreteElement
public void output(java.io.PrintWriter out)
ConcreteElement
output
in interface Element
output
in class ConcreteElement
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |