|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.el.lang.ELSupport
com.sun.el.parser.SimpleNode
public abstract class SimpleNode
| Field Summary | |
|---|---|
protected Node[] |
children
|
protected int |
id
|
protected String |
image
|
protected Node |
parent
|
| Constructor Summary | |
|---|---|
SimpleNode(int i)
|
|
| Method Summary | |
|---|---|
void |
accept(NodeVisitor visitor)
|
void |
dump(String prefix)
|
boolean |
equals(Object node)
|
String |
getImage()
|
MethodInfo |
getMethodInfo(EvaluationContext ctx,
Class[] paramTypes)
|
Class |
getType(EvaluationContext ctx)
|
Object |
getValue(EvaluationContext ctx)
|
int |
hashCode()
|
Object |
invoke(EvaluationContext ctx,
Class[] paramTypes,
Object[] paramValues)
|
boolean |
isReadOnly(EvaluationContext ctx)
|
void |
jjtAddChild(Node n,
int i)
This method tells the node to add its argument to the node's list of children. |
void |
jjtClose()
This method is called after all the child nodes have been added. |
Node |
jjtGetChild(int i)
This method returns a child node. |
int |
jjtGetNumChildren()
Return the number of children the node has. |
Node |
jjtGetParent()
|
void |
jjtOpen()
This method is called after the node has been made the current node. |
void |
jjtSetParent(Node n)
This pair of methods are used to inform the node of its parent. |
void |
setImage(String image)
|
void |
setValue(EvaluationContext ctx,
Object value)
|
String |
toString()
|
String |
toString(String prefix)
|
| Methods inherited from class com.sun.el.lang.ELSupport |
|---|
coerceToBoolean, coerceToCharacter, coerceToEnum, coerceToNumber, coerceToNumber, coerceToNumber, coerceToNumber, coerceToString, coerceToType, compare, containsNulls, equals, isBigDecimalOp, isBigIntegerOp, isDoubleOp, isDoubleStringOp, isLongOp, isStringFloat, throwUnhandled, toFloat, toNumber |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Node parent
protected Node[] children
protected int id
protected String image
| Constructor Detail |
|---|
public SimpleNode(int i)
| Method Detail |
|---|
public void jjtOpen()
Node
jjtOpen in interface Nodepublic void jjtClose()
Node
jjtClose in interface Nodepublic void jjtSetParent(Node n)
Node
jjtSetParent in interface Nodepublic Node jjtGetParent()
jjtGetParent in interface Node
public void jjtAddChild(Node n,
int i)
Node
jjtAddChild in interface Nodepublic Node jjtGetChild(int i)
Node
jjtGetChild in interface Nodepublic int jjtGetNumChildren()
Node
jjtGetNumChildren in interface Nodepublic String toString()
toString in class Objectpublic String toString(String prefix)
public void dump(String prefix)
public String getImage()
getImage in interface Nodepublic void setImage(String image)
public Class getType(EvaluationContext ctx)
throws ELException
getType in interface NodeELException
public Object getValue(EvaluationContext ctx)
throws ELException
getValue in interface NodeELException
public boolean isReadOnly(EvaluationContext ctx)
throws ELException
isReadOnly in interface NodeELException
public void setValue(EvaluationContext ctx,
Object value)
throws ELException
setValue in interface NodeELException
public void accept(NodeVisitor visitor)
throws ELException
accept in interface NodeELException
public Object invoke(EvaluationContext ctx,
Class[] paramTypes,
Object[] paramValues)
throws ELException
invoke in interface NodeELException
public MethodInfo getMethodInfo(EvaluationContext ctx,
Class[] paramTypes)
throws ELException
getMethodInfo in interface NodeELExceptionpublic boolean equals(Object node)
equals in interface Nodeequals in class Objectpublic int hashCode()
hashCode in interface NodehashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||