|
RichFaces CDK Generator 4.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.richfaces.cdk.templatecompiler.el.node.AbstractTreeNode
public abstract class AbstractTreeNode
This abstract class implement some methods of ITreeNode interface to using in subclasses.
| Constructor Summary | |
|---|---|
AbstractTreeNode(org.jboss.el.parser.Node node)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractTreeNode(org.jboss.el.parser.Node node)
| Method Detail |
|---|
protected String getChildOutput(int childIndex,
ELVisitor visitor)
throws ParsingException
childIndex - context - visitor -
ParsingException
protected String coerceToBoolean(String value,
ELVisitor visitor)
public org.jboss.el.parser.Node getNode()
getNode in interface ITreeNode
public ITreeNode getChild(int index,
ELVisitor visitor)
throws ParsingException
getChild in interface ITreeNodestringBuilder - instance to collect information.context - - context to resolve beansvisitor - - ELVisitor
ParsingException - - if error occurred during parsing process.public int getChildrenCount()
getChildrenCount in interface ITreeNode
public abstract void visit(StringBuilder sb,
ELVisitor visitor)
throws ParsingException
visit in interface ITreeNodeindex - - index of child.
ParsingException - - if error occurred(child not found).
|
RichFaces CDK Generator 4.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||