diff options
author | Finn Bock <bckfnn@apache.org> | 2004-10-24 20:48:37 +0000 |
---|---|---|
committer | Finn Bock <bckfnn@apache.org> | 2004-10-24 20:48:37 +0000 |
commit | 3a91e6ac73ac301440b471b8b0e0d7d1f54bbc2a (patch) | |
tree | 0840c8ffcc97855f68d19705662d3910f00846ac /src/java/org/apache/fop/fo/extensions | |
parent | 27a64b6b574de5bc1a6e2c9e8afd366d81d8a171 (diff) | |
download | xmlgraphics-fop-3a91e6ac73ac301440b471b8b0e0d7d1f54bbc2a.tar.gz xmlgraphics-fop-3a91e6ac73ac301440b471b8b0e0d7d1f54bbc2a.zip |
Fix a regression in pdfoutline.fo. Supply empty createPropertyList and
processNode methods since the extension elements handles all attributes
themself.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198099 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/extensions')
-rw-r--r-- | src/java/org/apache/fop/fo/extensions/ExtensionObj.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/extensions/ExtensionObj.java b/src/java/org/apache/fop/fo/extensions/ExtensionObj.java index 8e77419d4..646b24b68 100644 --- a/src/java/org/apache/fop/fo/extensions/ExtensionObj.java +++ b/src/java/org/apache/fop/fo/extensions/ExtensionObj.java @@ -18,8 +18,14 @@ package org.apache.fop.fo.extensions; +import org.apache.fop.fo.FOEventHandler; import org.apache.fop.fo.FONode; import org.apache.fop.fo.FObj; +import org.apache.fop.fo.PropertyList; +import org.xml.sax.Attributes; +import org.xml.sax.Locator; +import org.xml.sax.SAXParseException; + /** * Base class for pdf bookmark extension objects. @@ -34,5 +40,23 @@ public abstract class ExtensionObj extends FObj { public ExtensionObj(FONode parent) { super(parent); } + + /** + * @see org.apache.fop.fo.FONode#processNode + */ + public void processNode(String elementName, Locator locator, + Attributes attlist, PropertyList pList) + throws SAXParseException + { + // Empty + } + + /** + * Create a default property list for this element. + */ + protected PropertyList createPropertyList(PropertyList parent, + FOEventHandler foEventHandler) throws SAXParseException { + return null; + } } |