From f7af52d82b154da97519ef0ed053bbdf962876b2 Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Wed, 13 Nov 2002 23:27:46 +0000 Subject: [PATCH] Adjust for no-children content model. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@195531 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/fo/flow/FoCharacter.java | 11 +++++------ src/org/apache/fop/fo/flow/FoExternalGraphic.java | 11 +++++------ src/org/apache/fop/fo/flow/FoInitialPropertySet.java | 11 +++++------ 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/src/org/apache/fop/fo/flow/FoCharacter.java b/src/org/apache/fop/fo/flow/FoCharacter.java index 848a95ce6..84d6198b1 100644 --- a/src/org/apache/fop/fo/flow/FoCharacter.java +++ b/src/org/apache/fop/fo/flow/FoCharacter.java @@ -101,21 +101,20 @@ public class FoCharacter extends FONode { } /** + * Construct an fo:character node. This node has no children. * @param foTree the FO tree being built * @param parent the parent FONode of this node * @param event the FoXMLEvent that triggered the creation of * this node - * @param attrSet the index of the attribute set applying to the node. + * @param stateFlags - passed down from the parent. Includes the + * attribute set information. */ public FoCharacter - (FOTree foTree, FONode parent, FoXMLEvent event, int attrSet) + (FOTree foTree, FONode parent, FoXMLEvent event, int stateFlags) throws TreeException, FOPException { super(foTree, FObjectNames.CHARACTER, parent, event, - attrSet, sparsePropsMap, sparseIndices); - FoXMLEvent ev; - String nowProcessing; - + stateFlags, sparsePropsMap, sparseIndices); makeSparsePropsSet(); } diff --git a/src/org/apache/fop/fo/flow/FoExternalGraphic.java b/src/org/apache/fop/fo/flow/FoExternalGraphic.java index d2884c259..fa0df3121 100644 --- a/src/org/apache/fop/fo/flow/FoExternalGraphic.java +++ b/src/org/apache/fop/fo/flow/FoExternalGraphic.java @@ -99,21 +99,20 @@ public class FoExternalGraphic extends FONode { } /** + * Construct an fo:external-graphic node. This node has no children. * @param foTree the FO tree being built * @param parent the parent FONode of this node * @param event the FoXMLEvent that triggered the creation of * this node - * @param attrSet the index of the attribute set applying to the node. + * @param stateFlags - passed down from the parent. Includes the + * attribute set information. */ public FoExternalGraphic - (FOTree foTree, FONode parent, FoXMLEvent event, int attrSet) + (FOTree foTree, FONode parent, FoXMLEvent event, int stateFlags) throws TreeException, FOPException { super(foTree, FObjectNames.EXTERNAL_GRAPHIC, parent, event, - attrSet, sparsePropsMap, sparseIndices); - FoXMLEvent ev; - String nowProcessing; - + stateFlags, sparsePropsMap, sparseIndices); makeSparsePropsSet(); } diff --git a/src/org/apache/fop/fo/flow/FoInitialPropertySet.java b/src/org/apache/fop/fo/flow/FoInitialPropertySet.java index 6549894c5..a43e866d7 100644 --- a/src/org/apache/fop/fo/flow/FoInitialPropertySet.java +++ b/src/org/apache/fop/fo/flow/FoInitialPropertySet.java @@ -86,21 +86,20 @@ public class FoInitialPropertySet extends FONode { } /** + * Construct an fo:initial-property-set node. This node has no children. * @param foTree the FO tree being built * @param parent the parent FONode of this node * @param event the FoXMLEvent that triggered the creation of * this node - * @param attrSet the index of the attribute set applying to the node. + * @param stateFlags - passed down from the parent. Includes the + * attribute set information. */ public FoInitialPropertySet - (FOTree foTree, FONode parent, FoXMLEvent event, int attrSet) + (FOTree foTree, FONode parent, FoXMLEvent event, int stateFlags) throws TreeException, FOPException { super(foTree, FObjectNames.INITIAL_PROPERTY_SET, parent, event, - attrSet, sparsePropsMap, sparseIndices); - FoXMLEvent ev; - String nowProcessing; - + stateFlags, sparsePropsMap, sparseIndices); makeSparsePropsSet(); } -- 2.39.5