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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to