aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs/dev/extensions.xml
diff options
context:
space:
mode:
authorPascal Sancho <psancho@apache.org>2010-06-18 09:48:27 +0000
committerPascal Sancho <psancho@apache.org>2010-06-18 09:48:27 +0000
commit4feb9b0ec4bff3841d7c3589688b50d545bdce37 (patch)
treeaa7a8ded56aa527ed1a01ebe9cba04cff4369b8e /src/documentation/content/xdocs/dev/extensions.xml
parent9237896fe1b96ccd88c65a2cac1741b805760d46 (diff)
downloadxmlgraphics-fop-4feb9b0ec4bff3841d7c3589688b50d545bdce37.tar.gz
xmlgraphics-fop-4feb9b0ec4bff3841d7c3589688b50d545bdce37.zip
Bugzilla #49172:
patch applied: corrections in Dev > Extensions page; thanks to Gerald Buchgraber git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955915 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs/dev/extensions.xml')
-rw-r--r--src/documentation/content/xdocs/dev/extensions.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/documentation/content/xdocs/dev/extensions.xml b/src/documentation/content/xdocs/dev/extensions.xml
index 62e846c0f..769a663af 100644
--- a/src/documentation/content/xdocs/dev/extensions.xml
+++ b/src/documentation/content/xdocs/dev/extensions.xml
@@ -45,8 +45,8 @@ To add your own extension you need to do the following things.
</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>