/usr/share/doc/libognl-java/LanguageGuide/settingVersusGetting.html is in libognl-java-doc 2.7.3-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 | <html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Setting values versus getting values</title><link href="../docbook.css" type="text/css" rel="stylesheet"><meta content="DocBook XSL Stylesheets V1.78.1" name="generator"><link rel="home" href="index.html" title="OGNL Language Guide"><link rel="up" href="basicExpressions.html" title="Chapter 4. Expressions"><link rel="prev" href="differences.html" title="Operators that differ from Java's operators"><link rel="next" href="coercion.html" title="Chapter 5. Coercing Objects to Types"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">Setting values versus getting values</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="differences.html"><img src="../images/navigation/prev.gif" alt="Prev"></a> </td><th align="center" width="60%">Chapter 4. Expressions</th><td align="right" width="20%"> <a accesskey="n" href="coercion.html"><img src="../images/navigation/next.gif" alt="Next"></a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="settingVersusGetting"></a>Setting values versus getting values</h2></div></div></div><p>As stated before, some values that are gettable are not also settable because of the nature of the expression. For example,</p><pre class="programlisting">names[0].location</pre><p>is a settable expression - the final component of the expression resolves to a settable property.</p><p>However, some expressions, such as</p><pre class="programlisting">names[0].length + 1</pre><p>are not settable because they do not resolve to a settable property in an object. It is simply a computed value. If you try to evaluate this expression using any of the <code class="function">Ognl.setValue()</code> methods it will fail with
an <code class="classname">InappropriateExpressionException</code>.</p><p>It is also possible to set variables using get expressions that include the '<code class="constant">=</code>' operator. This is useful when a get expression needs to set a variable as a side effect of execution.</p></div><div class="navfooter"><hr><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="differences.html"><img src="../images/navigation/prev.gif" alt="Prev"></a> </td><td align="center" width="20%"><a accesskey="u" href="basicExpressions.html"><img src="../images/navigation/up.gif" alt="Up"></a></td><td align="right" width="40%"> <a accesskey="n" href="coercion.html"><img src="../images/navigation/next.gif" alt="Next"></a></td></tr><tr><td valign="top" align="left" width="40%">Operators that differ from Java's operators </td><td align="center" width="20%"><a accesskey="h" href="index.html"><img src="../images/navigation/home.gif" alt="Home"></a></td><td valign="top" align="right" width="40%"> Chapter 5. Coercing Objects to Types</td></tr></table></div></body></html>
|