⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ognl.html

📁 ONGL学习的好书,介绍ONGL的相关知识
💻 HTML
📖 第 1 页 / 共 5 页
字号:
                <A HREF="../ognl/MemberAccess.html" title="interface in ognl">MemberAccess</A>&nbsp;memberAccess)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/Ognl.html#setRoot(java.util.Map, java.lang.Object)">setRoot</A></B>(java.util.Map&nbsp;context,        java.lang.Object&nbsp;root)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/Ognl.html#setTypeConverter(java.util.Map, ognl.TypeConverter)">setTypeConverter</A></B>(java.util.Map&nbsp;context,                 <A HREF="../ognl/TypeConverter.html" title="interface in ognl">TypeConverter</A>&nbsp;converter)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/Ognl.html#setValue(java.lang.Object, java.util.Map, java.lang.Object, java.lang.Object)">setValue</A></B>(java.lang.Object&nbsp;tree,         java.util.Map&nbsp;context,         java.lang.Object&nbsp;root,         java.lang.Object&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluates the given OGNL expression tree to insert a value into the object graph rooted at the given root object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/Ognl.html#setValue(java.lang.Object, java.lang.Object, java.lang.Object)">setValue</A></B>(java.lang.Object&nbsp;tree,         java.lang.Object&nbsp;root,         java.lang.Object&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluates the given OGNL expression tree to insert a value into the object graph rooted at the given root object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/Ognl.html#setValue(java.lang.String, java.util.Map, java.lang.Object, java.lang.Object)">setValue</A></B>(java.lang.String&nbsp;expression,         java.util.Map&nbsp;context,         java.lang.Object&nbsp;root,         java.lang.Object&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluates the given OGNL expression to insert a value into the object graph rooted at the given root object given the context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/Ognl.html#setValue(java.lang.String, java.lang.Object, java.lang.Object)">setValue</A></B>(java.lang.String&nbsp;expression,         java.lang.Object&nbsp;root,         java.lang.Object&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method that combines calls to <code> parseExpression </code> and <code> setValue</code>.</TD>
</TR>
</TABLE>
&nbsp;<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, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->


<!-- ============ 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="parseExpression(java.lang.String)"><!-- --></A><H3>
parseExpression</H3>
<PRE>
public static java.lang.Object <B>parseExpression</B>(java.lang.String&nbsp;expression)                                        throws <A HREF="../ognl/OgnlException.html" title="class in ognl">OgnlException</A></PRE>
<DL>
<DD>Parses the given OGNL expression and returns a tree representation of the expression that can be used by <CODE>Ognl</CODE> static methods.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>expression</CODE> - the OGNL expression to be parsed<DT><B>Returns:</B><DD>a tree representation of the expression<DT><B>Throws:</B><DD><CODE><A HREF="../ognl/ExpressionSyntaxException.html" title="class in ognl">ExpressionSyntaxException</A></CODE> - if the expression is malformed<DD><CODE><A HREF="../ognl/OgnlException.html" title="class in ognl">OgnlException</A></CODE> - if there is a pathological environmental problem</DL>
</DD>
</DL>
<HR>

<A NAME="createDefaultContext(java.lang.Object)"><!-- --></A><H3>
createDefaultContext</H3>
<PRE>
public static java.util.Map <B>createDefaultContext</B>(java.lang.Object&nbsp;root)</PRE>
<DL>
<DD>Creates and returns a new standard naming context for evaluating an OGNL expression.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>root</CODE> - the root of the object graph<DT><B>Returns:</B><DD>a new Map with the keys <CODE>root</CODE> and <CODE>context</CODE>         set appropriately</DL>
</DD>
</DL>
<HR>

<A NAME="createDefaultContext(java.lang.Object, ognl.ClassResolver)"><!-- --></A><H3>
createDefaultContext</H3>
<PRE>
public static java.util.Map <B>createDefaultContext</B>(java.lang.Object&nbsp;root,                                                 <A HREF="../ognl/ClassResolver.html" title="interface in ognl">ClassResolver</A>&nbsp;classResolver)</PRE>
<DL>
<DD>Creates and returns a new standard naming context for evaluating an OGNL expression.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>root</CODE> - the root of the object graph<DT><B>Returns:</B><DD>a new OgnlContext with the keys <CODE>root</CODE> and <CODE>context</CODE>         set appropriately</DL>
</DD>
</DL>
<HR>

<A NAME="createDefaultContext(java.lang.Object, ognl.ClassResolver, ognl.TypeConverter)"><!-- --></A><H3>
createDefaultContext</H3>
<PRE>
public static java.util.Map <B>createDefaultContext</B>(java.lang.Object&nbsp;root,                                                 <A HREF="../ognl/ClassResolver.html" title="interface in ognl">ClassResolver</A>&nbsp;classResolver,                                                 <A HREF="../ognl/TypeConverter.html" title="interface in ognl">TypeConverter</A>&nbsp;converter)</PRE>
<DL>
<DD>Creates and returns a new standard naming context for evaluating an OGNL expression.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>root</CODE> - the root of the object graph<DT><B>Returns:</B><DD>a new Map with the keys <CODE>root</CODE> and <CODE>context</CODE>         set appropriately</DL>
</DD>
</DL>
<HR>

<A NAME="createDefaultContext(java.lang.Object, ognl.ClassResolver, ognl.TypeConverter, ognl.MemberAccess)"><!-- --></A><H3>
createDefaultContext</H3>
<PRE>
public static java.util.Map <B>createDefaultContext</B>(java.lang.Object&nbsp;root,                                                 <A HREF="../ognl/ClassResolver.html" title="interface in ognl">ClassResolver</A>&nbsp;classResolver,                                                 <A HREF="../ognl/TypeConverter.html" title="interface in ognl">TypeConverter</A>&nbsp;converter,                                                 <A HREF="../ognl/MemberAccess.html" title="interface in ognl">MemberAccess</A>&nbsp;memberAccess)</PRE>
<DL>
<DD>Creates and returns a new standard naming context for evaluating an OGNL expression.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>root</CODE> - the root of the object graph<DT><B>Returns:</B><DD>a new Map with the keys <CODE>root</CODE> and <CODE>context</CODE>         set appropriately</DL>
</DD>
</DL>
<HR>

<A NAME="addDefaultContext(java.lang.Object, java.util.Map)"><!-- --></A><H3>
addDefaultContext</H3>
<PRE>
public static java.util.Map <B>addDefaultContext</B>(java.lang.Object&nbsp;root,                                              java.util.Map&nbsp;context)</PRE>
<DL>
<DD>Appends the standard naming context for evaluating an OGNL expression into the context given so that cached maps can be used as a context.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>root</CODE> - the root of the object graph<DD><CODE>context</CODE> - the context to which OGNL context will be added.<DT><B>Returns:</B><DD>Context Map with the keys <CODE>root</CODE> and <CODE>context</CODE>         set appropriately</DL>
</DD>
</DL>
<HR>

<A NAME="addDefaultContext(java.lang.Object, ognl.ClassResolver, java.util.Map)"><!-- --></A><H3>
addDefaultContext</H3>
<PRE>
public static java.util.Map <B>addDefaultContext</B>(java.lang.Object&nbsp;root,                                              <A HREF="../ognl/ClassResolver.html" title="interface in ognl">ClassResolver</A>&nbsp;classResolver,                                              java.util.Map&nbsp;context)</PRE>
<DL>
<DD>Appends the standard naming context for evaluating an OGNL expression into the context given so that cached maps can be used as a context.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>root</CODE> - the root of the object graph<DD><CODE>context</CODE> - the context to which OGNL context will be added.<DT><B>Returns:</B><DD>Context Map with the keys <CODE>root</CODE> and <CODE>context</CODE>         set appropriately</DL>
</DD>
</DL>
<HR>

<A NAME="addDefaultContext(java.lang.Object, ognl.ClassResolver, ognl.TypeConverter, java.util.Map)"><!-- --></A><H3>
addDefaultContext</H3>
<PRE>
public static java.util.Map <B>addDefaultContext</B>(java.lang.Object&nbsp;root,                                              <A HREF="../ognl/ClassResolver.html" title="interface in ognl">ClassResolver</A>&nbsp;classResolver,                                              <A HREF="../ognl/TypeConverter.html" title="interface in ognl">TypeConverter</A>&nbsp;converter,                                              java.util.Map&nbsp;context)</PRE>
<DL>
<DD>Appends the standard naming context for evaluating an OGNL expression into the context given so that cached maps can be used as a context.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>root</CODE> - the root of the object graph<DD><CODE>context</CODE> - the context to which OGNL context will be added.<DT><B>Returns:</B><DD>Context Map with the keys <CODE>root</CODE> and <CODE>context</CODE>         set appropriately</DL>
</DD>
</DL>
<HR>

<A NAME="addDefaultContext(java.lang.Object, ognl.ClassResolver, ognl.TypeConverter, ognl.MemberAccess, java.util.Map)"><!-- --></A><H3>
addDefaultContext</H3>
<PRE>
public static java.util.Map <B>addDefaultContext</B>(java.lang.Object&nbsp;root,                                              <A HREF="../ognl/ClassResolver.html" title="interface in ognl">ClassResolver</A>&nbsp;classResolver,                                              <A HREF="../ognl/TypeConverter.html" title="interface in ognl">TypeConverter</A>&nbsp;converter,                                              <A HREF="../ognl/MemberAccess.html" title="interface in ognl">MemberAccess</A>&nbsp;memberAccess,                                              java.util.Map&nbsp;context)</PRE>
<DL>
<DD>Appends the standard naming context for evaluating an OGNL expression into the context given so that cached maps can be used as a context.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>root</CODE> - the root of the object graph<DD><CODE>context</CODE> - the context to which OGNL context will be added.<DT><B>Returns:</B><DD>Context Map with the keys <CODE>root</CODE> and <CODE>context</CODE>         set appropriately</DL>
</DD>
</DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -