public abstract class AbstractTreeNode extends Object implements ITreeNode
| Constructor and Description |
|---|
AbstractTreeNode(org.jboss.el.parser.Node node) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
coerceToBoolean(String value,
ELVisitor visitor) |
ITreeNode |
getChild(int index,
ELVisitor visitor)
Visit current node.
|
protected String |
getChildOutput(int childIndex,
ELVisitor visitor)
Collects output from visiting child of the current node with the specified index and returns collected string.
|
int |
getChildrenCount()
Returns count of children for this node
|
org.jboss.el.parser.Node |
getNode()
Return node of current wrapper.
|
abstract void |
visit(StringBuilder sb,
ELVisitor visitor)
Return child of wrapped node by specified index.
|
protected String getChildOutput(int childIndex, ELVisitor visitor) throws ParsingException
childIndex - context - visitor - ParsingExceptionpublic org.jboss.el.parser.Node getNode()
public ITreeNode getChild(int index, ELVisitor visitor) throws ParsingException
getChild in interface ITreeNodestringBuilder - instance to collect information.context - - context to resolve beansvisitor - - ELVisitorParsingException - - if error occurred during parsing process.public int getChildrenCount()
getChildrenCount in interface ITreeNodepublic abstract void visit(StringBuilder sb, ELVisitor visitor) throws ParsingException
visit in interface ITreeNodeindex - - index of child.ParsingException - - if error occurred(child not found).Copyright © 2014 JBoss by Red Hat. All Rights Reserved.