Author: nbubna
Date: Wed Sep 3 17:14:11 2008
New Revision: 691840
URL: http://svn.apache.org/viewvc?rev=691840&view=rev
Log:
VELOCITY-576 move/improve section on rendering references
Modified:
velocity/engine/trunk/xdocs/docs/user-guide.xml
Modified: velocity/engine/trunk/xdocs/docs/user-guide.xml
URL:
http://svn.apache.org/viewvc/velocity/engine/trunk/xdocs/docs/user-guide.xml?rev=691840&r1=691839&r2=691840&view=diff
==============================================================================
--- velocity/engine/trunk/xdocs/docs/user-guide.xml (original)
+++ velocity/engine/trunk/xdocs/docs/user-guide.xml Wed Sep 3 17:14:11 2008
@@ -46,6 +46,7 @@
<li><a href="#properties">Properties</a></li>
<li><a href="#methods">Methods</a></li>
<li><a href="#propertylookuprules">Property Lookup Rules</a></li>
+ <li><a href="#rendering">Rendering</a></li>
</ol>
</li>
<li><a href="#formalreferencenotation">Formal Reference Notation</a></li>
@@ -397,13 +398,6 @@
</p>
<p>
- Everything coming to and from a reference is treated as a String
- object. If there is an object that represents <em>$foo</em> (such as
- an Integer object), then Velocity will call its
- <code>.toString()</code> method to resolve the object into a String.
- </p>
-
- <p>
<a name="variables"><strong>Variables</strong></a>
<br/>
The shorthand notation of a variable consists of a leading "$"
@@ -603,6 +597,16 @@
</p>
<p>
+ <a name="rendering"><strong>Rendering</strong></a>
+ <br/>
+ The final value resulting from each and every reference (whether variable,
+ property, or method) is converted to a String object when it is rendered
+ into the final output. If there is an object that represents <em>$foo</em>
+ (such as an Integer object), then Velocity will call its
+ <code>.toString()</code> method to resolve the object into a String.
+ </p>
+
+ <p>
<a name="formalreferencenotation"><strong>Formal Reference
Notation</strong></a>
<br/>
Shorthand notation for references was used for the examples listed