geirm 01/07/03 15:17:06
Modified: xdocs developer-guide.xml
docs developer-guide.html
Log:
Make the interfaces understandable in the event handler section
Revision Changes Path
1.51 +6 -6 jakarta-velocity/xdocs/developer-guide.xml
Index: developer-guide.xml
===================================================================
RCS file: /home/cvs/jakarta-velocity/xdocs/developer-guide.xml,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- developer-guide.xml 2001/05/29 13:40:44 1.50
+++ developer-guide.xml 2001/07/03 22:16:58 1.51
@@ -1329,12 +1329,12 @@
logged. The <code>NullSetEventHandler</code> allows you to 'veto' the
logging of this condition.
<br/>
-<source>
+<pre>
public interface NullSetEventHandler extends EventHandler
{
public boolean shouldLogOnNullSet( String lhs, String rhs );
}
-</source>
+</pre>
</blockquote>
<i><code>org.apache.velocity.app.event.ReferenceInsertionEventHandler</code></i>
@@ -1342,12 +1342,12 @@
A <code>ReferenceInsertionEventHandler</code> allows the
developer to intercept each write of a reference ($foo) value to the output
stream and modify that output.
-<source>
+<pre>
public interface ReferenceInsertionEventHandler extends EventHandler
{
public Object referenceInsert( String reference, Object value );
}
-</source>
+</pre>
</blockquote>
<i><code>org.apache.velocity.app.event.MethodExceptionEventHandler</code></i>
@@ -1358,13 +1358,13 @@
as the return value of the method call, or throw the passed-in or new Exception,
which will be wrapped and propogated to the user as a
<code>MethodInvocationException</code>
-<source>
+<pre>
public interface MethodExceptionEventHandler extends EventHandler
{
public Object methodException( Class claz, String method, Exception e )
throws Exception;
}
-</source>
+</pre>
</blockquote>
</p>
1.67 +8 -6 jakarta-velocity/docs/developer-guide.html
Index: developer-guide.html
===================================================================
RCS file: /home/cvs/jakarta-velocity/docs/developer-guide.html,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- developer-guide.html 2001/05/29 13:40:48 1.66
+++ developer-guide.html 2001/07/03 22:17:02 1.67
@@ -62,6 +62,8 @@
</ul>
<p><strong>Community</strong></p>
<ul>
+ <li> <a href="./powered.html">Powered By Velocity</a>
+</li>
<li> <a
href="http://jakarta.apache.org/site/getinvolved.html">Get Involved</a>
</li>
<li> <a
href="http://jakarta.apache.org/site/mail.html">Mailing Lists</a>
@@ -1686,12 +1688,12 @@
logged. The <code>NullSetEventHandler</code> allows you to 'veto' the
logging of this condition.
<br />
-<source>
+<pre>
public interface NullSetEventHandler extends EventHandler
{
public boolean shouldLogOnNullSet( String lhs, String rhs );
}
-</source>
+</pre>
</blockquote>
<i><code>org.apache.velocity.app.event.ReferenceInsertionEventHandler</code></i>
@@ -1699,12 +1701,12 @@
A <code>ReferenceInsertionEventHandler</code> allows the
developer to intercept each write of a reference ($foo) value to the output
stream and modify that output.
-<source>
+<pre>
public interface ReferenceInsertionEventHandler extends EventHandler
{
public Object referenceInsert( String reference, Object value );
}
-</source>
+</pre>
</blockquote>
<i><code>org.apache.velocity.app.event.MethodExceptionEventHandler</code></i>
@@ -1715,13 +1717,13 @@
as the return value of the method call, or throw the passed-in or new Exception,
which will be wrapped and propogated to the user as a
<code>MethodInvocationException</code>
-<source>
+<pre>
public interface MethodExceptionEventHandler extends EventHandler
{
public Object methodException( Class claz, String method, Exception e )
throws Exception;
}
-</source>
+</pre>
</blockquote>
</p>
<p>