|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.ecs.Element | +--org.apache.ecs.ElementAttributes | +--org.apache.ecs.MultiPartElement
This class is to be subclassed by those elements that are made up of other elements. i.e. BODY,HEAD,etc.
Field Summary | |
protected java.util.Vector |
v_element
|
Fields inherited from class org.apache.ecs.Element |
attribute_filter,
case_type,
codeset,
element,
end_element,
end_modifier,
end_modifier_defined,
filter,
filter_attribute_state,
filter_state,
NO_ATTRIBUTE_VALUE,
start_modifier,
start_modifier_defined,
VERSION |
Constructor Summary | |
MultiPartElement()
|
|
MultiPartElement(java.lang.String tag)
|
Method Summary | |
(package private) void |
Private Initializer |
void |
addElementToRegistry(Element element)
Registers an element in the head element list |
void |
addElementToRegistry(Element element,
boolean filter)
Registers an element in the head element list |
void |
addElementToRegistry(java.lang.String value)
Registers an element in the head element list |
void |
addElementToRegistry(java.lang.String value,
boolean filter)
Registers an element in the head element list |
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. |
boolean |
registryHasElement(Element element)
Find out if this element is in the element registry. |
boolean |
registryHasElement(java.lang.String element)
Find out if this element is in the element registry. |
void |
removeElementFromRegistry(Element element)
Removes an element from the head element registry |
void |
removeElementFromRegistry(java.lang.String element)
Removes an element from the head element registry |
Methods inherited from class org.apache.ecs.ElementAttributes |
setClass,
setDir,
setID,
setLang,
setStyle,
setTitle |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Field Detail |
protected java.util.Vector v_element
Constructor Detail |
public MultiPartElement()
public MultiPartElement(java.lang.String tag)
Method Detail |
void()
public void addElementToRegistry(Element element)
element
- element to be added to the registry.public void addElementToRegistry(Element element, boolean filter)
element
- element to be added to the registry.filter
- should we filter this element?public void addElementToRegistry(java.lang.String value, boolean filter)
element
- element to be added to the registry.filter
- does this need to be filtered?public void addElementToRegistry(java.lang.String value)
element
- element to be added to the registry.filter
- does this need to be filtered?public void removeElementFromRegistry(Element element)
element
- element to be added to the registry.public void removeElementFromRegistry(java.lang.String element)
element
- element to be added to the registry.public boolean registryHasElement(Element element)
element
- find out if this element is in the registrypublic boolean registryHasElement(java.lang.String element)
element
- find out if this element is in the registrypublic void output(java.io.OutputStream out)
output
- OutputStream to write to.public void output(java.io.PrintWriter out)
output
- OutputStream to write to.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |