aboutsummaryrefslogtreecommitdiffstats
path: root/examples/plan/src/org
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-05-22 03:59:53 +0000
committerGlen Mazza <gmazza@apache.org>2004-05-22 03:59:53 +0000
commit579ea70d54fbd5a82bc0afe59686c57dae37bc6c (patch)
tree0262b9f859a1f9be3882a4e75b4e9ef34c1badf5 /examples/plan/src/org
parentd21b5c915da980fc3273ddc7ea821c1c1c73ea62 (diff)
downloadxmlgraphics-fop-579ea70d54fbd5a82bc0afe59686c57dae37bc6c.tar.gz
xmlgraphics-fop-579ea70d54fbd5a82bc0afe59686c57dae37bc6c.zip
Switched from handleAttrs() to more intuitive processNode() and (for FO namespace) addProperties() methods.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197613 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples/plan/src/org')
-rw-r--r--examples/plan/src/org/apache/fop/plan/PlanElement.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/plan/src/org/apache/fop/plan/PlanElement.java b/examples/plan/src/org/apache/fop/plan/PlanElement.java
index 8a6956d6d..071647611 100644
--- a/examples/plan/src/org/apache/fop/plan/PlanElement.java
+++ b/examples/plan/src/org/apache/fop/plan/PlanElement.java
@@ -44,10 +44,11 @@ public class PlanElement extends PlanObj {
}
/**
- * @see org.apache.fop.fo.FONode#handleAttrs(Attributes)
+ * @see org.apache.fop.fo.FONode#processNode
*/
- public void handleAttrs(Attributes attlist) throws FOPException {
- super.handleAttrs(attlist);
+ public void processNode(String elementName, Locator locator,
+ Attributes attlist) throws FOPException {
+ super.processNode(elementName, locator, attlist);
createBasicDocument();
}