You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ps...@apache.org on 2010/06/18 11:48:27 UTC

svn commit: r955915 - /xmlgraphics/fop/trunk/src/documentation/content/xdocs/dev/extensions.xml

Author: psancho
Date: Fri Jun 18 09:48:27 2010
New Revision: 955915

URL: http://svn.apache.org/viewvc?rev=955915&view=rev
Log:
Bugzilla #49172:
patch applied: corrections in Dev > Extensions page; thanks to  Gerald Buchgraber

Modified:
    xmlgraphics/fop/trunk/src/documentation/content/xdocs/dev/extensions.xml

Modified: xmlgraphics/fop/trunk/src/documentation/content/xdocs/dev/extensions.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/dev/extensions.xml?rev=955915&r1=955914&r2=955915&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/documentation/content/xdocs/dev/extensions.xml (original)
+++ xmlgraphics/fop/trunk/src/documentation/content/xdocs/dev/extensions.xml Fri Jun 18 09:48:27 2010
@@ -45,8 +45,8 @@ To add your own extension you need to do
 </p>
         <ol>
           <li>Write code that implements your extension functionality. The easiest place to
-start is by looking at the code in org.apache.fop.extension, and by looking at the examples in the <code>examples</code> directory.</li>
-          <li>Create a class that implements the org.apache.fop.fo.ElementMapping interface. ElementMapping is a hashmap of all of the elements in a particular namespace, which makes it easier for FOP to create a different object for each element.
+start is by looking at the code in org.apache.fop.fo.extensions, and by looking at the examples in the <code>examples</code> directory.</li>
+          <li>Create a class that extends the abstract org.apache.fop.fo.ElementMapping class. ElementMapping is a hashmap of all of the elements in a particular namespace, which makes it easier for FOP to create a different object for each element.
 ElementMapping objects are static to save on memory.
 They are loaded by FOP when parsing starts to validate input.</li>
           <li>Create the following file: "/META-INF/services/org.apache.fop.fo.ElementMapping", which should contain the fully qualified classname of your ElementMapping implementation class.</li>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org