📄 simplenode.html
字号:
<BR>
Return the number of children the node has.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/SimpleNode.html#jjtGetParent()">jjtGetParent</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/SimpleNode.html#jjtOpen()">jjtOpen</A></B>()</CODE>
<BR>
This method is called after the node has been made the current node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/SimpleNode.html#jjtSetParent(ognl.Node)">jjtSetParent</A></B>(<A HREF="../ognl/Node.html" title="interface in ognl">Node</A> n)</CODE>
<BR>
This pair of methods are used to inform the node of its parent.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/SimpleNode.html#setValue(ognl.OgnlContext, java.lang.Object, java.lang.Object)">setValue</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A> context, java.lang.Object target, java.lang.Object value)</CODE>
<BR>
Sets the given value in the given target as appropriate for this node within the given context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/SimpleNode.html#setValueBody(ognl.OgnlContext, java.lang.Object, java.lang.Object)">setValueBody</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A> context, java.lang.Object target, java.lang.Object value)</CODE>
<BR>
Subclasses implement this method to do the actual work of setting the appropriate value in the target object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/SimpleNode.html#toString()">toString</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/SimpleNode.html#toString(java.lang.String)">toString</A></B>(java.lang.String prefix)</CODE>
<BR>
</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="parent"><!-- --></A><H3>
parent</H3>
<PRE>
protected <A HREF="../ognl/Node.html" title="interface in ognl">Node</A> <B>parent</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="children"><!-- --></A><H3>
children</H3>
<PRE>
protected <A HREF="../ognl/Node.html" title="interface in ognl">Node</A>[] <B>children</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="id"><!-- --></A><H3>
id</H3>
<PRE>
protected int <B>id</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="parser"><!-- --></A><H3>
parser</H3>
<PRE>
protected <A HREF="../ognl/OgnlParser.html" title="class in ognl">OgnlParser</A> <B>parser</B></PRE>
<DL>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="SimpleNode(int)"><!-- --></A><H3>
SimpleNode</H3>
<PRE>
public <B>SimpleNode</B>(int i)</PRE>
<DL>
</DL>
<HR>
<A NAME="SimpleNode(ognl.OgnlParser, int)"><!-- --></A><H3>
SimpleNode</H3>
<PRE>
public <B>SimpleNode</B>(<A HREF="../ognl/OgnlParser.html" title="class in ognl">OgnlParser</A> p, int i)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="jjtOpen()"><!-- --></A><H3>
jjtOpen</H3>
<PRE>
public void <B>jjtOpen</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></B></DD>
<DD>This method is called after the node has been made the current node. It indicates that child nodes can now be added to it.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../ognl/Node.html#jjtOpen()">jjtOpen</A></CODE> in interface <CODE><A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="jjtClose()"><!-- --></A><H3>
jjtClose</H3>
<PRE>
public void <B>jjtClose</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></B></DD>
<DD>This method is called after all the child nodes have been added.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../ognl/Node.html#jjtClose()">jjtClose</A></CODE> in interface <CODE><A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="jjtSetParent(ognl.Node)"><!-- --></A><H3>
jjtSetParent</H3>
<PRE>
public void <B>jjtSetParent</B>(<A HREF="../ognl/Node.html" title="interface in ognl">Node</A> n)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></B></DD>
<DD>This pair of methods are used to inform the node of its parent.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../ognl/Node.html#jjtSetParent(ognl.Node)">jjtSetParent</A></CODE> in interface <CODE><A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="jjtGetParent()"><!-- --></A><H3>
jjtGetParent</H3>
<PRE>
public <A HREF="../ognl/Node.html" title="interface in ognl">Node</A> <B>jjtGetParent</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../ognl/Node.html#jjtGetParent()">jjtGetParent</A></CODE> in interface <CODE><A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="jjtAddChild(ognl.Node, int)"><!-- --></A><H3>
jjtAddChild</H3>
<PRE>
public void <B>jjtAddChild</B>(<A HREF="../ognl/Node.html" title="interface in ognl">Node</A> n, int i)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></B></DD>
<DD>This method tells the node to add its argument to the node's list of children.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../ognl/Node.html#jjtAddChild(ognl.Node, int)">jjtAddChild</A></CODE> in interface <CODE><A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="jjtGetChild(int)"><!-- --></A><H3>
jjtGetChild</H3>
<PRE>
public <A HREF="../ognl/Node.html" title="interface in ognl">Node</A> <B>jjtGetChild</B>(int i)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></B></DD>
<DD>This method returns a child node. The children are numbered from zero, left to right.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../ognl/Node.html#jjtGetChild(int)">jjtGetChild</A></CODE> in interface <CODE><A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="jjtGetNumChildren()"><!-- --></A><H3>
jjtGetNumChildren</H3>
<PRE>
public int <B>jjtGetNumChildren</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></B></DD>
<DD>Return the number of children the node has.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../ognl/Node.html#jjtGetNumChildren()">jjtGetNumChildren</A></CODE> in interface <CODE><A HREF="../ognl/Node.html" title="interface in ognl">Node</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toString(java.lang.String)"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>(java.lang.String prefix)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="dump(java.io.PrintWriter, java.lang.String)"><!-- --></A><H3>
dump</H3>
<PRE>
public void <B>dump</B>(java.io.PrintWriter writer, java.lang.String prefix)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -