aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/FONode.java
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@apache.org>2004-10-18 20:15:19 +0000
committerFinn Bock <bckfnn@apache.org>2004-10-18 20:15:19 +0000
commit390b64d2ee1ac30ca5f587dee24473e6bd057dcf (patch)
treed2f2d1352890e4bdfd02b85c03daebd844b71257 /src/java/org/apache/fop/fo/FONode.java
parent1b365e83048024ffac34954676602d46f6d5e06c (diff)
downloadxmlgraphics-fop-390b64d2ee1ac30ca5f587dee24473e6bd057dcf.tar.gz
xmlgraphics-fop-390b64d2ee1ac30ca5f587dee24473e6bd057dcf.zip
First phase of performance improvement.
PR: 31699 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198050 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/FONode.java')
-rw-r--r--src/java/org/apache/fop/fo/FONode.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/FONode.java b/src/java/org/apache/fop/fo/FONode.java
index 1c0867f99..7f1d376a7 100644
--- a/src/java/org/apache/fop/fo/FONode.java
+++ b/src/java/org/apache/fop/fo/FONode.java
@@ -112,6 +112,18 @@ public abstract class FONode {
}
/**
+ * Create a property list for this node. Return null if the node does not
+ * need a property list.
+ * @param parent the closest parent propertylist.
+ * @param foEventHandler The FOEventHandler where the PropertyListMaker
+ * instance can be found.
+ * @return A new property list.
+ */
+ protected PropertyList createPropertyList(PropertyList parent, FOEventHandler foEventHandler) throws SAXParseException {
+ return null;
+ }
+
+ /**
* Checks to make sure, during SAX processing of input document, that the
* incoming node is valid for the this (parent) node (e.g., checking to
* see that fo:table is not an immediate child of fo:root)
@@ -136,6 +148,13 @@ public abstract class FONode {
}
/**
+ *
+ */
+ protected void startOfNode() throws SAXParseException {
+ // do nothing by default
+ }
+
+ /**
*
*/
protected void endOfNode() throws SAXParseException {