Author: nbubna
Date: Tue Sep 2 15:21:59 2008
New Revision: 691407
URL: http://svn.apache.org/viewvc?rev=691407&view=rev
Log:
note support for iterator() methods
Modified:
velocity/engine/trunk/xdocs/docs/developer-guide.xml
Modified: velocity/engine/trunk/xdocs/docs/developer-guide.xml
URL:
http://svn.apache.org/viewvc/velocity/engine/trunk/xdocs/docs/developer-guide.xml?rev=691407&r1=691406&r2=691407&view=diff
==============================================================================
--- velocity/engine/trunk/xdocs/docs/developer-guide.xml (original)
+++ velocity/engine/trunk/xdocs/docs/developer-guide.xml Tue Sep 2 15:21:59
2008
@@ -604,6 +604,12 @@
as the Enumeration doesn't reset.
</li>
+<li> Any public class with a <code>public Iterator iterator()</code> method
+that never returns <code>null</code>. As a last resort, Velocity will
+look for an <code>iterator()</code> method. This provides great flexibility
+and automatic support for Java 1.5's <code>java.util.Iterable</code> interface.
+</li>
+
</ul>
<p>