|
Milyn-Smooks Version 0.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.milyn.delivery.ElementList
ElementList.
An element list is used to store a list of references to elements that colaborate with each other during one of the phases of content delivery. ElementList instances are accessed via theContainerRequest.getElementList(String)
method.
These lists are cleared at the end of the assembly and transformation phases.
Therefore, they can't be used to attach element references for use between these
delivery phases.
Constructor Summary | |
ElementList()
|
Method Summary | |
void |
addElement(org.w3c.dom.Element element)
Add the supplied element to this list. |
void |
addElement(java.lang.Object key,
org.w3c.dom.Element element)
Add the supplied element to this list using the specified key. |
org.w3c.dom.Element |
getElement(java.lang.Object key)
Get the element stored under the specified key. |
java.util.Collection |
getElements()
Get the element stored in this list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ElementList()
Method Detail |
public void addElement(org.w3c.dom.Element element)
element
- The element to be added.public void addElement(java.lang.Object key, org.w3c.dom.Element element)
key
- Key under which to store the element.element
- The element to be added.public org.w3c.dom.Element getElement(java.lang.Object key)
key
- Key under which the element element is stored.
public java.util.Collection getElements()
|
Milyn-Smooks Version 0.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |