com.sun.el.parser
类 SimpleNode

java.lang.Object
  继承者 com.sun.el.lang.ELSupport
      继承者 com.sun.el.parser.SimpleNode
所有已实现的接口:
Node
直接已知子类:
ArithmeticNode, AstBracketSuffix, AstChoice, AstCompositeExpression, AstDeferredExpression, AstDotSuffix, AstDynamicExpression, AstEmpty, AstFloatingPoint, AstFunction, AstIdentifier, AstInteger, AstLiteralExpression, AstMethodSuffix, AstNegative, AstNot, AstNull, AstPropertySuffix, AstString, AstValue, BooleanNode

public abstract class SimpleNode
extends ELSupport
implements Node

版本:
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: hmalphett $
作者:
Jacob Hookom [jacob@hookom.net]

字段摘要
protected  Node[] children
           
protected  int id
           
protected  String image
           
protected  Node parent
           
 
构造方法摘要
SimpleNode(int i)
           
 
方法摘要
 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)
           
 ValueReference getValueReference(EvaluationContext ctx)
           
 int hashCode()
           
 Object invoke(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues)
           
 boolean isParametersProvided()
           
 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)
           
 
从类 com.sun.el.lang.ELSupport 继承的方法
checkType, coerceToBoolean, coerceToCharacter, coerceToEnum, coerceToNumber, coerceToNumber, coerceToNumber, coerceToNumber, coerceToString, coerceToType, compare, containsNulls, equals, isBigDecimalOp, isBigIntegerOp, isDoubleOp, isDoubleStringOp, isLongOp, isStringFloat, throwUnhandled, toFloat, toNumber
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

字段详细信息

parent

protected Node parent

children

protected Node[] children

id

protected int id

image

protected String image
构造方法详细信息

SimpleNode

public SimpleNode(int i)
方法详细信息

jjtOpen

public void jjtOpen()
从接口 Node 复制的描述
This method is called after the node has been made the current node. It indicates that child nodes can now be added to it.

指定者:
接口 Node 中的 jjtOpen

jjtClose

public void jjtClose()
从接口 Node 复制的描述
This method is called after all the child nodes have been added.

指定者:
接口 Node 中的 jjtClose

jjtSetParent

public void jjtSetParent(Node n)
从接口 Node 复制的描述
This pair of methods are used to inform the node of its parent.

指定者:
接口 Node 中的 jjtSetParent

jjtGetParent

public Node jjtGetParent()
指定者:
接口 Node 中的 jjtGetParent

jjtAddChild

public void jjtAddChild(Node n,
                        int i)
从接口 Node 复制的描述
This method tells the node to add its argument to the node's list of children.

指定者:
接口 Node 中的 jjtAddChild

jjtGetChild

public Node jjtGetChild(int i)
从接口 Node 复制的描述
This method returns a child node. The children are numbered from zero, left to right.

指定者:
接口 Node 中的 jjtGetChild

jjtGetNumChildren

public int jjtGetNumChildren()
从接口 Node 复制的描述
Return the number of children the node has.

指定者:
接口 Node 中的 jjtGetNumChildren

toString

public String toString()
覆盖:
Object 中的 toString

toString

public String toString(String prefix)

dump

public void dump(String prefix)

getImage

public String getImage()
指定者:
接口 Node 中的 getImage

setImage

public void setImage(String image)

getType

public Class getType(EvaluationContext ctx)
              throws ELException
指定者:
接口 Node 中的 getType
抛出:
ELException

getValue

public Object getValue(EvaluationContext ctx)
                throws ELException
指定者:
接口 Node 中的 getValue
抛出:
ELException

getValueReference

public ValueReference getValueReference(EvaluationContext ctx)
                                 throws ELException
指定者:
接口 Node 中的 getValueReference
抛出:
ELException

isReadOnly

public boolean isReadOnly(EvaluationContext ctx)
                   throws ELException
指定者:
接口 Node 中的 isReadOnly
抛出:
ELException

setValue

public void setValue(EvaluationContext ctx,
                     Object value)
              throws ELException
指定者:
接口 Node 中的 setValue
抛出:
ELException

accept

public void accept(NodeVisitor visitor)
            throws ELException
指定者:
接口 Node 中的 accept
抛出:
ELException

invoke

public Object invoke(EvaluationContext ctx,
                     Class[] paramTypes,
                     Object[] paramValues)
              throws ELException
指定者:
接口 Node 中的 invoke
抛出:
ELException

getMethodInfo

public MethodInfo getMethodInfo(EvaluationContext ctx,
                                Class[] paramTypes)
                         throws ELException
指定者:
接口 Node 中的 getMethodInfo
抛出:
ELException

equals

public boolean equals(Object node)
指定者:
接口 Node 中的 equals
覆盖:
Object 中的 equals

isParametersProvided

public boolean isParametersProvided()
指定者:
接口 Node 中的 isParametersProvided

hashCode

public int hashCode()
指定者:
接口 Node 中的 hashCode
覆盖:
Object 中的 hashCode


Copyright © 2013. All Rights Reserved.