ContextManager#nodeFor(Object) to allow the fluent interface
to forward the context to TreeNode methods.
Currently, the only method using it is ContextAwareTreeNode#clean()
that will make sure the context is removed from the org.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Set | getChildren()
Implements org. |
| public ContextElement | getContext()
Implements org. |
| public List | getPath()
Implements org. |
| public Collection | getPaths()
Implements org. |
| public String |
| context | back to summary |
|---|---|
| private Object context | |
| wrappedNode | back to summary |
|---|---|
| private TreeNode wrappedNode | |
| ContextAwareTreeNode | back to summary |
|---|---|
| public ContextAwareTreeNode(TreeNode node, Object context) | |
| clean | back to summary |
|---|---|
| public void clean() Implements org.
| |
| getChildren | back to summary |
|---|---|
| public Set Implements org. Doc from org. Returns the immediate children of this context. | |
| getContext | back to summary |
|---|---|
| public ContextElement getContext() Implements org. Doc from org. Returns the context information associated with this node.
| |
| getPath | back to summary |
|---|---|
| public List Implements org. Doc from org. Returns the unique rooting path of this context element.
If this context element is not connected to a root in any ContextManager
instance or is rooted via multiple distinct paths then an
| |
| getPaths | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Returns the complete set of rooting paths for this context element.
| |
| toTreeString | back to summary |
|---|---|
| public String toTreeString() Implements org.
| |