public class ElementTreeImpl extends Object implements ElementTree
| Constructor and Description |
|---|
ElementTreeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
deliverPhaseEvent(ExecutionContext context)
Phase events are managed a bit specially for elements.
|
List<Element> |
getElementStack()
Get the current execution stack, with the first element being the root
element, the last element the one that contains the currently executed
element.
|
Element |
getRootElement()
Get the root execution element.
|
Element |
getTop()
Get the top element of the stack.
|
void |
popElement()
Pops the most recently added execution element from the stack.
|
void |
pushElement(Element elementToPush)
Push a new element onto the stack.
|
void |
setRootElement(Element element)
Set the root execution element.
|
public List<Element> getElementStack()
ElementTreegetElementStack in interface ElementTreepublic Element getRootElement()
ElementTreegetRootElement in interface ElementTreepublic void setRootElement(Element element)
ElementTreesetRootElement in interface ElementTreepublic void popElement()
ElementTreepopElement in interface ElementTreepublic void pushElement(Element elementToPush)
ElementTreepushElement in interface ElementTreepublic void clear()
public Element getTop()
ElementTreegetTop in interface ElementTreepublic void deliverPhaseEvent(ExecutionContext context)
Copyright © 2013. All Rights Reserved.