forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r488469 - /forrest/trunk/whiteboard/forrest2/core/src/docs/createAReader.html
Date Tue, 19 Dec 2006 00:29:53 GMT
Author: rgardler
Date: Mon Dec 18 16:29:53 2006
New Revision: 488469

URL: http://svn.apache.org/viewvc?view=rev&rev=488469
Log:
Fix broken formatting of java source

Modified:
    forrest/trunk/whiteboard/forrest2/core/src/docs/createAReader.html

Modified: forrest/trunk/whiteboard/forrest2/core/src/docs/createAReader.html
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/src/docs/createAReader.html?view=diff&rev=488469&r1=488468&r2=488469
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/src/docs/createAReader.html (original)
+++ forrest/trunk/whiteboard/forrest2/core/src/docs/createAReader.html Mon Dec 18 16:29:53
2006
@@ -71,12 +71,16 @@
 read(IController controller, URI requestURI, final Location location)</span>.
 For example:</p>
 
-<p class="code">![CDATA[ public AbstractSourceDocument
-read(IController controller, URI requestURI, Location location) throws
-MalformedURLException, ProcessingException { String content =
-"&lt;example&gt;&lt;document&gt;&lt;/example&gt;"; String type =
-"org.apache.forrest.example"; XMLSourceDocument doc = new
-XMLSourceDocument(content, type); return doc; } ]]></p>
+<p class="code"><![CDATA[ 
+  public AbstractSourceDocument
+    read(IController controller, URI requestURI, Location location) 
+    throws MalformedURLException, ProcessingException { 
+      String content = "&lt;example&gt;&lt;document&gt;&lt;/example&gt;";

+      String type = "org.apache.forrest.example"; 
+      XMLSourceDocument doc = new XMLSourceDocument(content, type); 
+      return doc; 
+  } ]]>
+</p>
 
 <p>If your reader needs to do some initialisation before it executes
 the read method you should override <span class="code">public



Mime
View raw message