diff options
author | Glen Mazza <gmazza@apache.org> | 2004-05-22 03:59:53 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-05-22 03:59:53 +0000 |
commit | 579ea70d54fbd5a82bc0afe59686c57dae37bc6c (patch) | |
tree | 0262b9f859a1f9be3882a4e75b4e9ef34c1badf5 /src/java/org/apache/fop/fo/flow/Table.java | |
parent | d21b5c915da980fc3273ddc7ea821c1c1c73ea62 (diff) | |
download | xmlgraphics-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 'src/java/org/apache/fop/fo/flow/Table.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/Table.java | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Table.java b/src/java/org/apache/fop/fo/flow/Table.java index b0ce8d664..8c81cf796 100644 --- a/src/java/org/apache/fop/fo/flow/Table.java +++ b/src/java/org/apache/fop/fo/flow/Table.java @@ -76,6 +76,15 @@ public class Table extends FObj { } /** + * @see org.apache.fop.fo.FObj#addProperties + */ + protected void addProperties(Attributes attlist) throws FOPException { + super.addProperties(attlist); + setupID(); + getFOTreeControl().getFOInputHandler().startTable(this); + } + + /** * Overrides FObj. * @param child FONode child object to be added */ @@ -193,17 +202,6 @@ public class Table extends FObj { fotv.serveTable(this); } - /** - * @see org.apache.fop.fo.FObj#handleAttrs - */ - public void handleAttrs(Attributes attlist) throws FOPException { - super.handleAttrs(attlist); - - setupID(); - - getFOTreeControl().getFOInputHandler().startTable(this); - } - protected void end() { getFOTreeControl().getFOInputHandler().endTable(this); } |