|
||||||||
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.ConcreteElement
This class is to be subclassed by those elements that are made up of other elements. i.e. BODY,HEAD,etc.
Field Summary | |
private java.util.Hashtable |
h_element
|
private java.util.Vector |
v_element
|
Fields inherited from class org.apache.ecs.ElementAttributes |
attribute_filter,
filter_attribute_state,
NO_ATTRIBUTE_VALUE |
Fields inherited from class org.apache.ecs.Element |
__text,
case_type,
codeset,
element,
element_type,
end_element,
end_modifier,
end_modifier_defined,
end_tag,
filter,
filter_state,
position,
resource,
start_modifier,
start_modifier_defined,
start_tag,
VERSION |
Constructor Summary | |
protected |
ConcreteElement()
|
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.lang.Object |
clone()
Allows all Elements the ability to be cloned. |
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 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 |
Methods inherited from class org.apache.ecs.ElementAttributes |
addAttribute,
createStartTag,
getAttributeFilter,
getAttributeFilterState,
hasAttribute,
removeAttribute,
setAttributeFilter,
setAttributeFilterState,
setClass,
setDir,
setID,
setLang,
setStyle,
setTitle |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Field Detail |
private java.util.Hashtable h_element
private java.util.Vector v_element
Constructor Detail |
protected ConcreteElement()
Method Detail |
public Element addElementToRegistry(Element element)
element
- element to be added to the registry.public Element addElementToRegistry(java.lang.String hashcode, Element element)
hashcode
- internal name of elementelement
- element to be added to the registry.public Element addElementToRegistry(Element element, boolean filter)
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)
element
- element to be added to the registry.filter
- should we filter this element?public Element addElementToRegistry(java.lang.String value, boolean filter)
element
- element to be added to the registry.filter
- does this need to be filtered?public Element addElementToRegistry(java.lang.String hashcode, java.lang.String value, boolean filter)
element
- element to be added to the registry.filter
- does this need to be filtered?public Element addElementToRegistry(java.lang.String value)
element
- element to be added to the registry.public Element addElementToRegistry(java.lang.String hashcode, java.lang.String value)
element
- element to be added to the registry.public Element removeElementFromRegistry(Element element)
element
- element to be added to the registry.public Element removeElementFromRegistry(java.lang.String hashcode)
hashcode
- 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 hashcode)
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.public java.lang.Object clone()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |