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()
ElementTree
getElementStack
in interface ElementTree
public Element getRootElement()
ElementTree
getRootElement
in interface ElementTree
public void setRootElement(Element element)
ElementTree
setRootElement
in interface ElementTree
public void popElement()
ElementTree
popElement
in interface ElementTree
public void pushElement(Element elementToPush)
ElementTree
pushElement
in interface ElementTree
public void clear()
public Element getTop()
ElementTree
getTop
in interface ElementTree
public void deliverPhaseEvent(ExecutionContext context)
Copyright © 2013. All Rights Reserved.