📄 evaluation.html
字号:
<A NAME="getNode()"><!-- --></A><H3>
getNode</H3>
<PRE>
public <A HREF="../ognl/SimpleNode.html" title="class in ognl">SimpleNode</A> <B>getNode</B>()</PRE>
<DL>
<DD>Returns the <code>SimpleNode</code> for this <code>Evaluation</code>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setNode(ognl.SimpleNode)"><!-- --></A><H3>
setNode</H3>
<PRE>
public void <B>setNode</B>(<A HREF="../ognl/SimpleNode.html" title="class in ognl">SimpleNode</A> value)</PRE>
<DL>
<DD>Sets the node of the evaluation. Normally applications do not need to set this. Notable exceptions to this rule are custom evaluators that choose between navigable objects (as in a multi-root evaluator where the navigable node is chosen at runtime).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getSource()"><!-- --></A><H3>
getSource</H3>
<PRE>
public java.lang.Object <B>getSource</B>()</PRE>
<DL>
<DD>Returns the source object on which this Evaluation operated.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setSource(java.lang.Object)"><!-- --></A><H3>
setSource</H3>
<PRE>
public void <B>setSource</B>(java.lang.Object value)</PRE>
<DL>
<DD>Sets the source of the evaluation. Normally applications do not need to set this. Notable exceptions to this rule are custom evaluators that choose between navigable objects (as in a multi-root evaluator where the navigable node is chosen at runtime).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isSetOperation()"><!-- --></A><H3>
isSetOperation</H3>
<PRE>
public boolean <B>isSetOperation</B>()</PRE>
<DL>
<DD>Returns true if this Evaluation represents a set operation.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setSetOperation(boolean)"><!-- --></A><H3>
setSetOperation</H3>
<PRE>
public void <B>setSetOperation</B>(boolean value)</PRE>
<DL>
<DD>Marks the Evaluation as a set operation if the value is true, else marks it as a get operation.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getResult()"><!-- --></A><H3>
getResult</H3>
<PRE>
public java.lang.Object <B>getResult</B>()</PRE>
<DL>
<DD>Returns the result of the Evaluation, or null if it was a set operation.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setResult(java.lang.Object)"><!-- --></A><H3>
setResult</H3>
<PRE>
public void <B>setResult</B>(java.lang.Object value)</PRE>
<DL>
<DD>Sets the result of the Evaluation. This method is normally only used interally and should not be set without knowledge of what you are doing.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getException()"><!-- --></A><H3>
getException</H3>
<PRE>
public java.lang.Throwable <B>getException</B>()</PRE>
<DL>
<DD>Returns the exception that occurred as a result of evaluating the Evaluation, or null if no exception occurred.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setException(java.lang.Throwable)"><!-- --></A><H3>
setException</H3>
<PRE>
public void <B>setException</B>(java.lang.Throwable value)</PRE>
<DL>
<DD>Sets the exception that occurred as a result of evaluating the Evaluation. This method is normally only used interally and should not be set without knowledge of what you are doing.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getParent()"><!-- --></A><H3>
getParent</H3>
<PRE>
public <A HREF="../ognl/Evaluation.html" title="class in ognl">Evaluation</A> <B>getParent</B>()</PRE>
<DL>
<DD>Returns the parent evaluation of this evaluation. If this returns null then it is is the root evaluation of a tree.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getNext()"><!-- --></A><H3>
getNext</H3>
<PRE>
public <A HREF="../ognl/Evaluation.html" title="class in ognl">Evaluation</A> <B>getNext</B>()</PRE>
<DL>
<DD>Returns the next sibling of this evaluation. Returns null if this is the last in a chain of evaluations.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getPrevious()"><!-- --></A><H3>
getPrevious</H3>
<PRE>
public <A HREF="../ognl/Evaluation.html" title="class in ognl">Evaluation</A> <B>getPrevious</B>()</PRE>
<DL>
<DD>Returns the previous sibling of this evaluation. Returns null if this is the first in a chain of evaluations.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getFirstChild()"><!-- --></A><H3>
getFirstChild</H3>
<PRE>
public <A HREF="../ognl/Evaluation.html" title="class in ognl">Evaluation</A> <B>getFirstChild</B>()</PRE>
<DL>
<DD>Returns the first child of this evaluation. Returns null if there are no children.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getLastChild()"><!-- --></A><H3>
getLastChild</H3>
<PRE>
public <A HREF="../ognl/Evaluation.html" title="class in ognl">Evaluation</A> <B>getLastChild</B>()</PRE>
<DL>
<DD>Returns the last child of this evaluation. Returns null if there are no children.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getFirstDescendant()"><!-- --></A><H3>
getFirstDescendant</H3>
<PRE>
public <A HREF="../ognl/Evaluation.html" title="class in ognl">Evaluation</A> <B>getFirstDescendant</B>()</PRE>
<DL>
<DD>Gets the first descendent. In any Evaluation tree this will the Evaluation that was first executed.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getLastDescendant()"><!-- --></A><H3>
getLastDescendant</H3>
<PRE>
public <A HREF="../ognl/Evaluation.html" title="class in ognl">Evaluation</A> <B>getLastDescendant</B>()</PRE>
<DL>
<DD>Gets the last descendent. In any Evaluation tree this will the Evaluation that was most recently executing.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="addChild(ognl.Evaluation)"><!-- --></A><H3>
addChild</H3>
<PRE>
public void <B>addChild</B>(<A HREF="../ognl/Evaluation.html" title="class in ognl">Evaluation</A> child)</PRE>
<DL>
<DD>Adds a child to the list of children of this evaluation. The parent of the child is set to the receiver and the children references are modified in the receiver to reflect the new child. The lastChild of the receiver is set to the child, and the firstChild is set also if child is the first (or only) child.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="init(ognl.SimpleNode, java.lang.Object, boolean)"><!-- --></A><H3>
init</H3>
<PRE>
public void <B>init</B>(<A HREF="../ognl/SimpleNode.html" title="class in ognl">SimpleNode</A> node, java.lang.Object source, boolean setOperation)</PRE>
<DL>
<DD>Reinitializes this Evaluation to the parameters specified.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="reset()"><!-- --></A><H3>
reset</H3>
<PRE>
public void <B>reset</B>()</PRE>
<DL>
<DD>Resets this Evaluation to the initial state.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toString(boolean, boolean, java.lang.String)"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>(boolean compact, boolean showChildren, java.lang.String depth)</PRE>
<DL>
<DD>Produces a String value for the Evaluation. If compact is true then a more compact form of the description only including the node type and unique identifier is shown, else a full description including source and result are shown. If showChildren is true the child evaluations are printed using the depth string given as a prefix.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toString(boolean, java.lang.String)"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>(boolean compact, java.lang.String depth)</PRE>
<DL>
<DD>Produces a String value for the Evaluation. If compact is true then a more compact form of the description only including the node type and unique identifier is shown, else a full description including source and result are shown. Child evaluations are printed using the depth string given as a prefix.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>Returns a String description of the Evaluation.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../ognl/EnumerationPropertyAccessor.html" title="class in ognl"><B>PREV CLASS</B></A>
<A HREF="../ognl/EvaluationPool.html" title="class in ognl"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html" target="_top"><B>FRAMES</B></A>
<A HREF="Evaluation.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright © 2004 <a href=http://www.ognl.org>OGNL Technology, Inc.</a>. All Rights Reserved.</i>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -