You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ac...@apache.org on 2008/04/30 13:02:06 UTC

svn commit: r652318 [2/4] - in /xmlgraphics/fop/branches/Temp_AFPGOCAResources: ./ src/documentation/content/ src/java/org/apache/fop/fo/ src/java/org/apache/fop/fo/flow/ src/java/org/apache/fop/fo/flow/table/ src/java/org/apache/fop/fo/pagination/ src...

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Float.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Float.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Float.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Float.java Wed Apr 30 04:02:03 2008
@@ -29,7 +29,8 @@
 import org.apache.fop.fo.ValidationException;
 
 /**
- * Class modelling the fo:float object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_float">
+ * <code>fo:float</code></a> object.
  */
 public class Float extends FObj {
     // The value of properties relevant for fo:float (commented out for performance.
@@ -40,7 +41,9 @@
     static boolean notImplementedWarningGiven = false;
     
     /**
-     * @see org.apache.fop.fo.FONode#FONode(FONode)
+     * Base constructor
+     * 
+     * @param parent    the parent {@link FONode}
      */
     public Float(FONode parent) {
         super(parent);
@@ -52,16 +55,14 @@
         }
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         // No active properties -> Nothing to do.
     }
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: (%block;)+
+     * <br>XSL Content Model: (%block;)+
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
                 throws ValidationException {
@@ -72,9 +73,7 @@
         }
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void endOfNode() throws FOPException {
         if (firstChild == null) {
             missingChildElementError("(%block;)+");
@@ -88,6 +87,7 @@
     
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_FLOAT}
      */
     public int getNameId() {
         return FO_FLOAT;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Footnote.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Footnote.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Footnote.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Footnote.java Wed Apr 30 04:02:03 2008
@@ -28,7 +28,8 @@
 import org.apache.fop.fo.ValidationException;
 
 /**
- * Class modelling the fo:footnote object.
+ * Class modelling the <a href=http://www.w3.org/TR/xsl/#fo_footnote">
+ * <code>fo:footnote</code></a> object.
  */
 public class Footnote extends FObj {
     // The value of properties relevant for fo:footnote (commented out for performance).
@@ -39,29 +40,28 @@
     private FootnoteBody footnoteBody;
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public Footnote(FONode parent) {
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         // No active properties -> do nothing.
     }
     
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void startOfNode() throws FOPException {
         getFOEventHandler().startFootnote(this);
     }
 
     /**
      * Make sure content model satisfied, if so then tell the
-     * FOEventHandler that we are at the end of the flow.
+     * {@link org.apache.fop.fo.FOEventHandler} that we are at the end of the footnote.
+     * 
      * {@inheritDoc}
      */
     protected void endOfNode() throws FOPException {
@@ -74,7 +74,7 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: (inline,footnote-body)
+     * <br>XSL Content Model: (inline,footnote-body)
      * @todo implement additional constraint: A fo:footnote is not permitted
      *      to have a fo:float, fo:footnote, or fo:marker as a descendant.
      * @todo implement additional constraint: A fo:footnote is not 
@@ -100,20 +100,19 @@
         }
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void addChildNode(FONode child) {
-        if (((FObj)child).getNameId() == FO_INLINE) {
+        if (child.getNameId() == FO_INLINE) {
             footnoteCitation = (Inline) child;
-        } else if (((FObj)child).getNameId() == FO_FOOTNOTE_BODY) {
+        } else if (child.getNameId() == FO_FOOTNOTE_BODY) {
             footnoteBody = (FootnoteBody) child;
         }
     }
 
     /**
      * Public accessor for inline FO
-     * @return the Inline child
+     * 
+     * @return the {@link Inline} child
      */
     public Inline getFootnoteCitation() {
         return footnoteCitation;
@@ -121,7 +120,8 @@
 
     /**
      * Public accessor for footnote-body FO
-     * @return the FootnoteBody child
+     * 
+     * @return the {@link FootnoteBody} child
      */
     public FootnoteBody getFootnoteBody() {
         return footnoteBody;
@@ -134,6 +134,7 @@
     
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_FOOTNOTE}
      */
     public int getNameId() {
         return FO_FOOTNOTE;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/FootnoteBody.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/FootnoteBody.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/FootnoteBody.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/FootnoteBody.java Wed Apr 30 04:02:03 2008
@@ -29,7 +29,8 @@
 import org.apache.fop.fo.ValidationException;
 
 /**
- * Class modelling the fo:footnote-body object.
+ * Class modelling the <a href=http://www.w3.org/TR/xsl/#fo_footnote-body">
+ * <code>fo:footnote-body</code></a> object.
  */
 public class FootnoteBody extends FObj {
     // The value of properties relevant for fo:footnote-body (commented out for perforance).
@@ -37,28 +38,27 @@
     // End of property values
 
     /**
+     * Base constructor
+     * 
      * @param parent FONode that is the parent of this object
      */
     public FootnoteBody(FONode parent) {
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void startOfNode() throws FOPException {
         getFOEventHandler().startFootnoteBody(this);
     }
 
     /**
-     * Make sure content model satisfied, if so then tell the
-     * FOEventHandler that we are at the end of the flow.
+     * Make sure the content model is satisfied, if so then tell the
+     * {@link org.apache.fop.fo.FOEventHandler} that we are at the 
+     * end of the footnote-body.
      * {@inheritDoc}
      */
     protected void endOfNode() throws FOPException {
@@ -70,7 +70,7 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: (%block;)+
+     * <br>XSL Content Model: (%block;)+
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
                 throws ValidationException {
@@ -88,6 +88,7 @@
     
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_FOOTNOTE_BODY}
      */
     public int getNameId() {
         return FO_FOOTNOTE_BODY;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InitialPropertySet.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InitialPropertySet.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InitialPropertySet.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InitialPropertySet.java Wed Apr 30 04:02:03 2008
@@ -30,7 +30,8 @@
 import org.apache.fop.fo.properties.SpaceProperty;
 
 /**
- * Class modelling the fo:initial-property-set object.
+ * Class modelling the <a href=http://www.w3.org/TR/xsl/#fo_initial-property-set">
+ * <code>fo:initial-property-set</code></a> object.
  */
 public class InitialPropertySet extends FObj {
     // The value of properties relevant for fo:initial-property-set.
@@ -51,15 +52,15 @@
     // End of property values
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public InitialPropertySet(FONode parent) {
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         super.bind(pList);
         // letterSpacing = pList.get(PR_LETTER_SPACING);
@@ -69,7 +70,7 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: empty
+     * <br>XSL Content Model: empty
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
                 throws ValidationException {
@@ -78,9 +79,7 @@
         }
     }
 
-    /**
-     * @return the "line-height" property.
-     */
+    /** @return the "line-height" property */
     public SpaceProperty getLineHeight() {
         return lineHeight;
     }
@@ -92,6 +91,7 @@
     
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_INITIAL_PROPERTY_SET}
      */
     public int getNameId() {
         return FO_INITIAL_PROPERTY_SET;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Inline.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Inline.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Inline.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Inline.java Wed Apr 30 04:02:03 2008
@@ -28,7 +28,8 @@
 import org.apache.fop.fo.ValidationException;
 
 /**
- * Class modelling the fo:inline formatting object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_inline">
+ * <code>fo:inline</code></a> formatting object.
  */
 public class Inline extends InlineLevel {
     // The value of properties relevant for fo:inline.
@@ -50,15 +51,15 @@
     private boolean canHaveBlockLevelChildren = true;
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public Inline(FONode parent) {
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         super.bind(pList);
         alignmentAdjust = pList.get(PR_ALIGNMENT_ADJUST).getLength();
@@ -67,9 +68,7 @@
         dominantBaseline = pList.get(PR_DOMINANT_BASELINE).getEnum();
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void startOfNode() throws FOPException {
        super.startOfNode();
        
@@ -94,9 +93,7 @@
        getFOEventHandler().startInline(this);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void endOfNode() throws FOPException {
         super.endOfNode();
         getFOEventHandler().endInline(this);
@@ -104,10 +101,10 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: marker* (#PCDATA|%inline;|%block;)*
-     * Additionally: " An fo:inline that is a descendant of an fo:leader
+     * <br>XSL Content Model: marker* (#PCDATA|%inline;|%block;)*
+     * <br><i>Additionally: " An fo:inline that is a descendant of an fo:leader
      *  or fo:footnote may not have block-level children, unless it has a
-     *  nearer ancestor that is an fo:inline-container." (paraphrased)
+     *  nearer ancestor that is an fo:inline-container." (paraphrased)</i>
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
                 throws ValidationException {
@@ -127,30 +124,22 @@
         }
     }
 
-    /**
-     * @return the "alignment-adjust" property
-     */
+    /** @return the "alignment-adjust" property */
     public Length getAlignmentAdjust() {
         return alignmentAdjust;
     }
     
-    /**
-     * @return the "alignment-baseline" property
-     */
+    /** @return the "alignment-baseline" property */
     public int getAlignmentBaseline() {
         return alignmentBaseline;
     }
     
-    /**
-     * @return the "baseline-shift" property
-     */
+    /** @return the "baseline-shift" property */
     public Length getBaselineShift() {
         return baselineShift;
     }
     
-    /**
-     * @return the "dominant-baseline" property
-     */
+    /** @return the "dominant-baseline" property */
     public int getDominantBaseline() {
         return dominantBaseline;
     }
@@ -160,7 +149,10 @@
         return "inline";
     }
     
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_INLINE}
+     */
     public int getNameId() {
         return FO_INLINE;
     }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InlineContainer.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InlineContainer.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InlineContainer.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InlineContainer.java Wed Apr 30 04:02:03 2008
@@ -23,14 +23,20 @@
 
 import org.apache.fop.apps.FOPException;
 import org.apache.fop.datatypes.Length;
+import org.apache.fop.datatypes.Numeric;
 import org.apache.fop.fo.FONode;
 import org.apache.fop.fo.FObj;
 import org.apache.fop.fo.PropertyList;
 import org.apache.fop.fo.ValidationException;
+import org.apache.fop.fo.properties.CommonBorderPaddingBackground;
+import org.apache.fop.fo.properties.CommonMarginInline;
+import org.apache.fop.fo.properties.KeepProperty;
+import org.apache.fop.fo.properties.LengthRangeProperty;
 import org.apache.fop.fo.properties.SpaceProperty;
 
 /**
- * Class modelling the fo:inline-container object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_inline-container">
+ * <code>fo:inline-container</code></a> object.
  */
 public class InlineContainer extends FObj {
     
@@ -38,52 +44,60 @@
     private Length alignmentAdjust;
     private int alignmentBaseline;
     private Length baselineShift;
-    // private ToBeImplementedProperty clip;
+    private LengthRangeProperty blockProgressionDimension;
+    private CommonBorderPaddingBackground commonBorderPaddingBackground;
+    private CommonMarginInline commonMarginInline;
+    private int clip;
     private int dominantBaseline;
+    private LengthRangeProperty inlineProgressionDimension;
+    private KeepProperty keepTogether;
     private SpaceProperty lineHeight;
+    private int overflow;
+    private Numeric referenceOrientation;
+    private int writingMode;
     // Unused but valid items, commented out for performance:
-    //     private CommonBorderPaddingBackground commonBorderPaddingBackground;
-    //     private CommonMarginInline commonMarginInline;
     //     private CommonRelativePosition commonRelativePosition;
-    //     private LengthRangeProperty blockProgressionDimension;
     //     private int displayAlign;
     //     private Length height;
-    //     private LengthRangeProperty inlineProgressionDimension;
-    //     private KeepProperty keepTogether;
     //     private KeepProperty keepWithNext;
     //     private KeepProperty keepWithPrevious;
-    //     private int overflow;
-    //     private Numeric referenceOrientation;
     //     private Length width;
-    //     private int writingMode;
     // End of property values
 
     /** used for FO validation */
     private boolean blockItemFound = false;
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public InlineContainer(FONode parent) {
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         super.bind(pList);
         alignmentAdjust = pList.get(PR_ALIGNMENT_ADJUST).getLength();
         alignmentBaseline = pList.get(PR_ALIGNMENT_BASELINE).getEnum();
         baselineShift = pList.get(PR_BASELINE_SHIFT).getLength();
-        // clip = pList.get(PR_CLIP);
+        blockProgressionDimension = pList.get(PR_BLOCK_PROGRESSION_DIMENSION).getLengthRange();
+        commonBorderPaddingBackground = pList.getBorderPaddingBackgroundProps();
+        commonMarginInline = pList.getMarginInlineProps();
+        clip = pList.get(PR_CLIP).getEnum();
         dominantBaseline = pList.get(PR_DOMINANT_BASELINE).getEnum();
+        inlineProgressionDimension = pList.get(PR_INLINE_PROGRESSION_DIMENSION).getLengthRange();
+        keepTogether = pList.get(PR_KEEP_TOGETHER).getKeep();
         lineHeight = pList.get(PR_LINE_HEIGHT).getSpace();
+        overflow = pList.get(PR_OVERFLOW).getEnum();
+        referenceOrientation = pList.get(PR_REFERENCE_ORIENTATION).getNumeric();
+        writingMode = pList.get(PR_WRITING_MODE).getEnum();
     }
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: marker* (%block;)+
+     * <br>XSL Content Model: marker* (%block;)+
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
                 throws ValidationException {
@@ -100,50 +114,83 @@
         }
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void endOfNode() throws FOPException {
         if (!blockItemFound) {
             missingChildElementError("marker* (%block;)+");
         }
     }
 
-    /**
-     * @return the "alignment-adjust" property
-     */
+    /** @return the "alignment-adjust" property */
     public Length getAlignmentAdjust() {
         return alignmentAdjust;
     }
     
-    /**
-     * @return the "alignment-baseline" property
-     */
+    /** @return the "alignment-baseline" property */
     public int getAlignmentBaseline() {
         return alignmentBaseline;
     }
     
-    /**
-     * @return the "baseline-shift" property
-     */
+    /** @return the "baseline-shift" property */
     public Length getBaselineShift() {
         return baselineShift;
     }
     
-    /**
-     * @return the "dominant-baseline" property
-     */
+    /** @return the "block-progression-dimension" property */
+    public LengthRangeProperty getBlockProgressionDimension() {
+        return blockProgressionDimension;
+    }
+    
+    /** @return the "clip" property */
+    public int getClip() {
+        return clip;
+    }
+    
+    /**@return Returns the {@link CommonBorderPaddingBackground} */
+    public CommonBorderPaddingBackground getCommonBorderPaddingBackground() {
+        return this.commonBorderPaddingBackground;
+    }
+
+    /** @return Returns the {@link CommonMarginInline} */
+    public CommonMarginInline getCommonMarginInline() {
+        return this.commonMarginInline;
+    }
+
+    /** @return the "dominant-baseline" property */
     public int getDominantBaseline() {
         return dominantBaseline;
     }
     
-    /**
-     * @return the "line-height" property.
-     */
+    /** @return the "keep-together" property */
+    public KeepProperty getKeepTogether() {
+        return keepTogether;
+    }
+    
+    /** @return the "inline-progression-dimension" property */
+    public LengthRangeProperty getInlineProgressionDimension() {
+        return inlineProgressionDimension;
+    }
+    
+    /** @return the "line-height" property */
     public SpaceProperty getLineHeight() {
         return lineHeight;
     }
 
+    /** @return the "overflow" property */
+    public int getOverflow() {
+        return overflow;
+    }
+    
+    /** @return the "reference-orientation" property */
+    public int getReferenceOrientation() {
+        return referenceOrientation.getValue();
+    }
+    
+    /** @return the "writing-mode" property */
+    public int getWritingMode() {
+        return writingMode;
+    }
+    
     /** {@inheritDoc} */
     public String getLocalName() {
         return "inline-container";
@@ -151,6 +198,7 @@
     
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_INLINE_CONTAINER}
      */
     public int getNameId() {
         return FO_INLINE_CONTAINER;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InlineLevel.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InlineLevel.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InlineLevel.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InlineLevel.java Wed Apr 30 04:02:03 2008
@@ -25,8 +25,6 @@
 import org.apache.fop.fo.FONode;
 import org.apache.fop.fo.FObjMixed;
 import org.apache.fop.fo.PropertyList;
-import org.apache.fop.fo.properties.CommonAccessibility;
-import org.apache.fop.fo.properties.CommonAural;
 import org.apache.fop.fo.properties.CommonBorderPaddingBackground;
 import org.apache.fop.fo.properties.CommonFont;
 import org.apache.fop.fo.properties.CommonMarginInline;
@@ -40,71 +38,69 @@
 public abstract class InlineLevel extends FObjMixed {
     
     // The value of properties relevant for inline-level FOs.
-    protected CommonBorderPaddingBackground commonBorderPaddingBackground;
-    protected CommonAccessibility commonAccessibility;
-    protected CommonMarginInline commonMarginInline;
-    protected CommonAural commonAural;
-    protected CommonFont commonFont;
-    protected Color color;
-    protected SpaceProperty lineHeight;
-    protected int visibility;
+    private CommonBorderPaddingBackground commonBorderPaddingBackground;
+    private CommonMarginInline commonMarginInline;
+    private CommonFont commonFont;
+    private Color color;
+    private KeepProperty keepWithNext;
+    private KeepProperty keepWithPrevious;
+    private SpaceProperty lineHeight;
     // End of property values
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     protected InlineLevel(FONode parent) {
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         super.bind(pList);
         commonBorderPaddingBackground = pList.getBorderPaddingBackgroundProps();
-        commonAccessibility = pList.getAccessibilityProps();
         commonMarginInline = pList.getMarginInlineProps();
-        commonAural = pList.getAuralProps();
         commonFont = pList.getFontProps();
         color = pList.get(PR_COLOR).getColor(getUserAgent());
+        keepWithNext = pList.get(PR_KEEP_WITH_NEXT).getKeep();
+        keepWithPrevious = pList.get(PR_KEEP_WITH_PREVIOUS).getKeep();
         lineHeight = pList.get(PR_LINE_HEIGHT).getSpace();
-        visibility = pList.get(PR_VISIBILITY).getEnum();
     }
 
-    /**
-     * @return the Common Margin Properties-Inline.
-     */
+    /** @return the {@link CommonMarginInline} */
     public CommonMarginInline getCommonMarginInline() {
         return commonMarginInline;
     }
 
-    /**
-     * @return the Common Border, Padding, and Background Properties.
-     */
+    /** @return the {@link CommonBorderPaddingBackground} */
     public CommonBorderPaddingBackground getCommonBorderPaddingBackground() {
         return commonBorderPaddingBackground;
     } 
 
-    /**
-     * @return the Common Font Properties.
-     */
+    /** @return the {@link CommonFont} */
     public CommonFont getCommonFont() {
         return commonFont;
     }
 
-    /**
-     * @return the "color" property.
-     */
+    /** @return the "color" property */
     public Color getColor() {
         return color;
     }
 
-    /**
-     * @return the "line-height" property
-     */
+    /** @return the "line-height" property */
     public SpaceProperty getLineHeight() {
         return lineHeight;
     }
     
+    /** @return the "keep-with-next" property */
+    public KeepProperty getKeepWithNext() {
+        return keepWithNext;
+    }
+    
+    /** @return the "keep-with-previous" property */
+    public KeepProperty getKeepWithPrevious() {
+        return keepWithPrevious;
+    }
+    
 }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java Wed Apr 30 04:02:03 2008
@@ -33,7 +33,8 @@
 import org.apache.fop.fo.XMLObj;
 
 /**
- * Class modelling the fo:instream-foreign-object object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_instream-foreign-object">
+ * <code>fo:instream-foreign-object</code></a> object.
  * This is an atomic inline object that contains XML data.
  */
 public class InstreamForeignObject extends AbstractGraphics {
@@ -45,13 +46,14 @@
     //Additional value
     private Point2D intrinsicDimensions;
     private boolean instrisicSizeDetermined;
-    
+
     private Length intrinsicAlignmentAdjust;
     
     /**
-     * constructs an instream-foreign-object object (called by Maker).
+     * Constructs an instream-foreign-object object 
+     * (called by {@link org.apache.fop.fo.ElementMapping.Maker}).
      *
-     * @param parent the parent formatting object
+     * @param parent the parent {@link FONode}
      */
     public InstreamForeignObject(FONode parent) {
         super(parent);
@@ -59,7 +61,8 @@
 
     /**
      * Make sure content model satisfied, if so then tell the
-     * FOEventHandler that we are at the end of the flow.
+     * {@link org.apache.fop.fo.FOEventHandler} that we are at 
+     * the end of the instream-foreign-object.
      * {@inheritDoc}
      */
     protected void endOfNode() throws FOPException {
@@ -71,10 +74,10 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: one (1) non-XSL namespace child
+     * <br>XSL Content Model: one (1) non-XSL namespace child
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
-                throws ValidationException {
+        throws ValidationException {
         if (FO_URI.equals(nsURI)) {
             invalidChildError(loc, nsURI, localName);
         } else if (firstChild != null) {
@@ -87,7 +90,10 @@
         return "instream-foreign-object";
     }
     
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_INSTREAM_FOREIGN_OBJECT}
+     */
     public int getNameId() {
         return FO_INSTREAM_FOREIGN_OBJECT;
     }
@@ -139,7 +145,7 @@
         super.addChildNode(child);
     }
 
-    /** @return the XMLObj child node of the instream-foreign-object. */
+    /** @return the {@link XMLObj} child node of the instream-foreign-object. */
     public XMLObj getChildXMLObj() {
         return (XMLObj) firstChild;
     }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Leader.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Leader.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Leader.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Leader.java Wed Apr 30 04:02:03 2008
@@ -26,8 +26,9 @@
 import org.apache.fop.fo.properties.LengthRangeProperty;
 
 /**
- * Class modelling fo:leader object.
- * The main property of fo:leader is leader-pattern.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_leader">
+ * <code>fo:leader</code></a> object.
+ * The main property of <code>fo:leader</code> is leader-pattern.
  * The following patterns are treated: rule, space, dots and use-content.
  * @todo implement validateChildNode()
  */
@@ -53,15 +54,15 @@
     // End of property values
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public Leader(FONode parent) {
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         super.bind(pList);
         alignmentAdjust = pList.get(PR_ALIGNMENT_ADJUST).getLength();
@@ -95,72 +96,52 @@
         // textShadow = pList.get(PR_TEXT_SHADOW);
     }
 
-    /**
-     * @return the "rule-style" property.
-     */
+    /** @return the "rule-style" property */
     public int getRuleStyle() {
         return ruleStyle;
     }
 
-    /**
-     * @return the "rule-thickness" property.
-     */
+    /** @return the "rule-thickness" property */
     public Length getRuleThickness() {
         return ruleThickness;
     }
 
-    /**
-     * @return the "leader-alignment" property.
-     */
+    /** @return the "leader-alignment" property */
     public int getLeaderAlignment() {
         return leaderAlignment;
     }
 
-    /**
-     * @return the "leader-length" property.
-     */
+    /** @return the "leader-length" property */
     public LengthRangeProperty getLeaderLength() {
         return leaderLength;
     }
 
-    /**
-     * @return the "leader-pattern" property.
-     */
+    /** @return the "leader-pattern" property */
     public int getLeaderPattern() {
         return leaderPattern;
     }
 
-    /**
-     * @return the "leader-pattern-width" property.
-     */
+    /** @return the "leader-pattern-width" property */
     public Length getLeaderPatternWidth() {
         return leaderPatternWidth;
     }
 
-    /**
-     * @return the "alignment-adjust" property
-     */
+    /** @return the "alignment-adjust" property */
     public Length getAlignmentAdjust() {
         return alignmentAdjust;
     }
     
-    /**
-     * @return the "alignment-baseline" property
-     */
+    /** @return the "alignment-baseline" property */
     public int getAlignmentBaseline() {
         return alignmentBaseline;
     }
     
-    /**
-     * @return the "baseline-shift" property
-     */
+    /** @return the "baseline-shift" property */
     public Length getBaselineShift() {
         return baselineShift;
     }
     
-    /**
-     * @return the "dominant-baseline" property
-     */
+    /** @return the "dominant-baseline" property */
     public int getDominantBaseline() {
         return dominantBaseline;
     }
@@ -172,6 +153,7 @@
 
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_LEADER}
      */
     public int getNameId() {
         return FO_LEADER;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListBlock.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListBlock.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListBlock.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListBlock.java Wed Apr 30 04:02:03 2008
@@ -32,7 +32,8 @@
 import org.apache.fop.fo.properties.KeepProperty;
 
 /**
- * Class modelling the fo:list-block object.
+ * Class modelling the <a href=http://www.w3.org/TR/xsl/#fo_list-block">
+ * <code>fo:list-block</code></a> object.
  */
 public class ListBlock extends FObj {
     // The value of properties relevant for fo:list-block.
@@ -60,15 +61,15 @@
     private boolean hasListItem = false;
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public ListBlock(FONode parent) {
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         super.bind(pList);
         commonBorderPaddingBackground = pList.getBorderPaddingBackgroundProps();
@@ -83,17 +84,16 @@
         orphanContentLimit = pList.get(PR_X_ORPHAN_CONTENT_LIMIT).getLength();
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void startOfNode() throws FOPException {
         super.startOfNode();
         getFOEventHandler().startList(this);
     }
     
     /**
-     * Make sure content model satisfied, if so then tell the
-     * FOEventHandler that we are at the end of the flow.
+     * Make sure the content model is satisfied, if so then tell the
+     * {@link org.apache.fop.fo.FOEventHandler} that we are at the end 
+     * of the list-block.
      * {@inheritDoc}
      */
     protected void endOfNode() throws FOPException {
@@ -105,7 +105,7 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: marker* (list-item)+
+     * <br>XSL Content Model: marker* (list-item)+
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
             throws ValidationException {
@@ -122,30 +122,22 @@
         }
     }
 
-    /**
-     * @return the Common Margin Properties-Block.
-     */
+    /** @return the {@link CommonMarginBlock} */
     public CommonMarginBlock getCommonMarginBlock() {
         return commonMarginBlock;
     }
 
-    /**
-     * @return the Common Border, Padding, and Background Properties.
-     */
+    /** @return the {@link CommonBorderPaddingBackground} */
     public CommonBorderPaddingBackground getCommonBorderPaddingBackground() {
         return commonBorderPaddingBackground;
     }
 
-    /**
-     * @return the "break-after" property.
-     */
+    /** @return the "break-after" property */
     public int getBreakAfter() {
         return breakAfter;
     }
 
-    /**
-     * @return the "break-before" property.
-     */
+    /** @return the "break-before" property */
     public int getBreakBefore() {
         return breakBefore;
     }
@@ -180,7 +172,10 @@
         return "list-block";
     }
     
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_LIST_BLOCK}
+     */
     public int getNameId() {
         return FO_LIST_BLOCK;
     }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListItem.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListItem.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListItem.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListItem.java Wed Apr 30 04:02:03 2008
@@ -31,7 +31,8 @@
 import org.apache.fop.fo.properties.KeepProperty;
 
 /**
- * Class modelling the fo:list-item object.
+ * Class modelling the <a href=http://www.w3.org/TR/xsl/#fo_list-item">
+ * <code>fo:list-item</code></a> object.
  */
 public class ListItem extends FObj {
     // The value of properties relevant for fo:list-item.
@@ -54,15 +55,15 @@
     private ListItemBody body = null;
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public ListItem(FONode parent) {
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         super.bind(pList);
         commonBorderPaddingBackground = pList.getBorderPaddingBackgroundProps();
@@ -74,17 +75,13 @@
         keepWithPrevious = pList.get(PR_KEEP_WITH_PREVIOUS).getKeep();
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void startOfNode() throws FOPException {
         super.startOfNode();
         getFOEventHandler().startListItem(this);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void endOfNode() throws FOPException {
         if (label == null || body == null) {
             missingChildElementError("marker* (list-item-label,list-item-body)");
@@ -94,7 +91,7 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: marker* (list-item-label,list-item-body)
+     * <br>XSL Content Model: marker* (list-item-label,list-item-body)
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
         throws ValidationException {
@@ -125,7 +122,7 @@
      *    (i.e., add to childNodes instead)
      */
     public void addChildNode(FONode child) {
-        int nameId = ((FObj)child).getNameId();
+        int nameId = child.getNameId();
         
         if (nameId == FO_LIST_ITEM_LABEL) {
             label = (ListItemLabel) child;
@@ -136,52 +133,42 @@
         }
     }
 
-    /**
-     * @return the Common Margin Properties-Block.
-     */
+    /** @return the {@link CommonMarginBlock} */
     public CommonMarginBlock getCommonMarginBlock() {
         return commonMarginBlock;
     }
 
-    /**
-     * @return the Common Border, Padding, and Background Properties.
-     */
+    /** @return the {@link CommonBorderPaddingBackground} */
     public CommonBorderPaddingBackground getCommonBorderPaddingBackground() {
         return commonBorderPaddingBackground;
     }
 
-    /**
-     * @return the "break-after" property.
-     */
+    /** @return the "break-after" property */
     public int getBreakAfter() {
         return breakAfter;
     }
 
-    /**
-     * @return the "break-before" property.
-     */
+    /** @return the "break-before" property */
     public int getBreakBefore() {
         return breakBefore;
     }
 
-    /** @return the "keep-with-next" property.  */
+    /** @return the "keep-with-next" property */
     public KeepProperty getKeepWithNext() {
         return keepWithNext;
     }
 
-    /** @return the "keep-with-previous" property.  */
+    /** @return the "keep-with-previous" property  */
     public KeepProperty getKeepWithPrevious() {
         return keepWithPrevious;
     }
 
-    /** @return the "keep-together" property.  */
+    /** @return the "keep-together" property  */
     public KeepProperty getKeepTogether() {
         return keepTogether;
     }
 
-    /**
-     * @return the label of the list item
-     */
+    /** @return the label of the list item */
     public ListItemLabel getLabel() {
         return label;
     }
@@ -200,6 +187,7 @@
     
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_LIST_ITEM}
      */
     public int getNameId() {
         return FO_LIST_ITEM;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListItemBody.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListItemBody.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListItemBody.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListItemBody.java Wed Apr 30 04:02:03 2008
@@ -23,7 +23,8 @@
 import org.apache.fop.fo.FONode;
 
 /**
- * Class modelling the fo:list-item-body object.
+ * Class modelling the <a href=http://www.w3.org/TR/xsl/#fo_list-item-body">
+ * <code>fo:list-item-body object</code></a>.
  */
 public class ListItemBody extends AbstractListItemPart {
 
@@ -34,17 +35,13 @@
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void startOfNode() throws FOPException {
         super.startOfNode();
         getFOEventHandler().startListBody();
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void endOfNode() throws FOPException {
         super.endOfNode();
         getFOEventHandler().endListBody();
@@ -57,6 +54,7 @@
     
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_LIST_ITEM_BODY}
      */
     public int getNameId() {
         return FO_LIST_ITEM_BODY;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListItemLabel.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListItemLabel.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListItemLabel.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/ListItemLabel.java Wed Apr 30 04:02:03 2008
@@ -23,28 +23,27 @@
 import org.apache.fop.fo.FONode;
 
 /**
- * Class modelling the fo:list-item-label object.
+ * Class modelling the <a href=http://www.w3.org/TR/xsl/#fo_list-item-label">
+ * <code>fo:list-item-label</code></a> object.
  */
 public class ListItemLabel extends AbstractListItemPart {
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public ListItemLabel(FONode parent) {
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void startOfNode() throws FOPException {
         super.startOfNode();
         getFOEventHandler().startListLabel();
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void endOfNode() throws FOPException {
         super.endOfNode();
         getFOEventHandler().endListLabel();
@@ -57,6 +56,7 @@
     
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_LIST_ITEM_LABEL}
      */
     public int getNameId() {
         return FO_LIST_ITEM_LABEL;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Marker.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Marker.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Marker.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Marker.java Wed Apr 30 04:02:03 2008
@@ -36,7 +36,8 @@
 import org.apache.fop.fo.properties.Property;
 
 /**
- * Class modelling the fo:marker object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_marker">
+ * <code>fo:marker<code></a> object.
  */
 public class Marker extends FObjMixed {
     // The value of properties relevant for fo:marker.
@@ -48,15 +49,14 @@
 
     /**
      * Create a marker fo.
-     * @param parent the parent fo node
+     * 
+     * @param parent the parent {@link FONode}
      */
     public Marker(FONode parent) {
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         if (findAncestor(FO_FLOW) < 0) {
             invalidChildError(locator, getParent().getName(), FO_URI, getName(), 
@@ -71,9 +71,11 @@
     }
     
     /**
-     * retrieve the property list of foNode
-     * @param foNode the FO node whose property list is requested
-     * @return the MarkerPropertyList of foNode
+     * Retrieve the property list of the given {@link FONode} 
+     * descendant
+     * 
+     * @param foNode the {@link FONode} whose property list is requested
+     * @return the {@link MarkerPropertyList} for the given node
      */
     protected MarkerPropertyList getPropertyListFor(FONode foNode) {
         return (MarkerPropertyList) 
@@ -104,10 +106,10 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: (#PCDATA|%inline;|%block;)*
-     * Additionally: "An fo:marker may contain any formatting objects that 
+     * <br>XSL Content Model: (#PCDATA|%inline;|%block;)*
+     * <br><i>Additionally: "An fo:marker may contain any formatting objects that
      * are permitted as a replacement of any fo:retrieve-marker that retrieves
-     * the fo:marker's children."
+     * the fo:marker's children."</i>
      * @todo implement "additional" constraint, possibly within fo:retrieve-marker
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
@@ -119,13 +121,12 @@
         }
     }
     
+    /** {@inheritDoc} */
     protected boolean inMarker() {
         return true;
     }
     
-    /**
-     * Return the "marker-class-name" property.
-     */
+    /** @return the "marker-class-name" property */
     public String getMarkerClassName() {
         return markerClassName;
     }
@@ -137,6 +138,7 @@
     
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_MARKER}
      */
     public int getNameId() {
         return FO_MARKER;
@@ -150,7 +152,7 @@
     }
 
     /**
-     * An implementation of PropertyList which only stores the explicitly
+     * An implementation of {@link PropertyList} which only stores the explicitly
      * specified properties/attributes as bundles of name-value-namespace
      * strings
      */
@@ -163,7 +165,7 @@
         /**
          * Overriding default constructor
          * 
-         * @param fobj  the FObj to attach
+         * @param fobj  the {@link FObj} to attach
          * @param parentPropertyList    ignored
          */
         public MarkerPropertyList(FObj fobj, PropertyList parentPropertyList) {
@@ -175,10 +177,10 @@
         }
         
         /**
-         * Override that doesn't convert the attributes to Property instances,
-         * but simply stores the attributes for later processing;
+         * Override that doesn't convert the attributes to {@link Property}
+         * instances, but simply stores the attributes for later processing.
          * 
-         * @see org.apache.fop.fo.PropertyList#addAttributesToList(Attributes)
+         * {@inheritDoc}
          */
         public void addAttributesToList(Attributes attributes) 
                     throws ValidationException {
@@ -201,23 +203,17 @@
             }
         }
         
-        /**
-         * Null implementation; not used by this type of PropertyList
-         */
+        /** Null implementation; not used by this type of {@link PropertyList} */
         public void putExplicit(int propId, Property value) {
             //nop
         }
 
-        /**
-         * Null implementation; not used by this type of PropertyList
-         */
+        /** Null implementation; not used by this type of {@link PropertyList} */
         public Property getExplicit(int propId) {
             return null;
         }
 
-        /**
-         * {@inheritDoc}
-         */
+        /** {@inheritDoc} */
         public int getLength() {
             if (attribs == null) {
                 return 0;
@@ -226,9 +222,7 @@
             }
         }
 
-        /**
-         * {@inheritDoc}
-         */
+        /** {@inheritDoc} */
         public String getURI(int index) {
             if (attribs != null 
                     && index < attribs.length
@@ -240,9 +234,7 @@
             }
         }
 
-        /**
-         * {@inheritDoc}
-         */
+        /** {@inheritDoc} */
         public String getLocalName(int index) {
             if (attribs != null 
                     && index < attribs.length
@@ -254,9 +246,7 @@
             }
         }
 
-        /**
-         * {@inheritDoc}
-         */
+        /** {@inheritDoc} */
         public String getQName(int index) {
             if (attribs != null 
                     && index < attribs.length
@@ -268,16 +258,12 @@
             }
         }
 
-        /**
-         * Default implementation; not used
-         */
+        /** Default implementation; not used */
         public String getType(int index) {
             return "CDATA";
         }
 
-        /**
-         * {@inheritDoc}
-         */
+        /** {@inheritDoc} */
         public String getValue(int index) {
             if (attribs != null 
                     && index < attribs.length
@@ -289,9 +275,7 @@
             }
         }
 
-        /**
-         * {@inheritDoc} 
-         */
+        /** {@inheritDoc} */
         public int getIndex(String name, String namespace) {
             int index = -1;
             if (attribs != null && name != null && namespace != null) {
@@ -306,9 +290,7 @@
             return index;
         }
 
-        /**
-         * {@inheritDoc}
-         */
+        /** {@inheritDoc} */
         public int getIndex(String qname) {
             int index = -1;
             if (attribs != null && qname != null) {
@@ -322,23 +304,17 @@
             return index;
         }
 
-        /**
-         * Default implementation; not used
-         */
+        /** Default implementation; not used */
         public String getType(String name, String namespace) {
             return "CDATA";
         }
 
-        /**
-         * Default implementation; not used
-         */
+        /** Default implementation; not used */
         public String getType(String qname) {
             return "CDATA";
         }
 
-        /**
-         * {@inheritDoc} 
-         */
+        /** {@inheritDoc} */
         public String getValue(String name, String namespace) {
             int index = getIndex(name, namespace);
             if (index > 0) {
@@ -347,9 +323,7 @@
             return null;
         }
 
-        /**
-         * {@inheritDoc}
-         */
+        /** {@inheritDoc} */
         public String getValue(String qname) {
             int index = getIndex(qname);
             if (index > 0) {
@@ -359,9 +333,7 @@
         }
     }
     
-    /**
-     * Convenience inner class
-     */
+    /** Convenience inner class */
     private static final class MarkerAttribute {
         
         private static Map attributeCache = 
@@ -390,7 +362,9 @@
         /**
          * Convenience method, reduces the number
          * of distinct MarkerAttribute instances
-         * 
+         *
+         * @param namespace the attribute namespace
+         * @param qname the fully qualified name of the attribute
          * @param name  the attribute name
          * @param value the attribute value
          * @return the single MarkerAttribute instance corresponding to 
@@ -409,9 +383,7 @@
             }
         }
         
-        /**
-         * {@inheritDoc}
-         */
+        /** {@inheritDoc} */
         public boolean equals(Object o) {
             if (o instanceof MarkerAttribute) {
                 MarkerAttribute attr = (MarkerAttribute) o;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiCase.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiCase.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiCase.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiCase.java Wed Apr 30 04:02:03 2008
@@ -25,7 +25,8 @@
 import org.apache.fop.fo.PropertyList;
 
 /**
- * Class modelling the fo:multi-case object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_multi-case">
+ * <code>fo:multi-case</code></a> object.
  * @todo implement validateChildNode()
  */
 public class MultiCase extends FObj {
@@ -40,7 +41,9 @@
     static boolean notImplementedWarningGiven = false;
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public MultiCase(FONode parent) {
         super(parent);
@@ -52,9 +55,7 @@
         }
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         super.bind(pList);
         startingState = pList.get(PR_STARTING_STATE).getEnum();
@@ -62,9 +63,7 @@
         // caseTitle = pList.get(PR_CASE_TITLE);
     }
 
-    /**
-     * Return the "starting-state" property.
-     */
+    /** @return the "starting-state" property */
     public int getStartingState() {
         return startingState;
     }
@@ -76,6 +75,7 @@
 
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_MULTI_CASE}
      */
     public int getNameId() {
         return FO_MULTI_CASE;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiProperties.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiProperties.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiProperties.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiProperties.java Wed Apr 30 04:02:03 2008
@@ -28,7 +28,8 @@
 import org.apache.fop.fo.ValidationException;
 
 /**
- * Class modelling the fo:multi-properties object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_multi-properties">
+ * <code>fo:multi-properties</code></a> object.
  */
 public class MultiProperties extends FObj {
     // The value of properties relevant for fo:multi-properties.
@@ -43,7 +44,9 @@
     boolean hasWrapper = false;
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public MultiProperties(FONode parent) {
         super(parent);
@@ -55,9 +58,7 @@
         }
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void endOfNode() throws FOPException {
         if (!hasMultiPropertySet || !hasWrapper) {
             missingChildElementError("(multi-property-set+, wrapper)");
@@ -66,7 +67,7 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: (multi-property-set+, wrapper)
+     * <br>XSL Content Model: (multi-property-set+, wrapper)
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
         throws ValidationException {
@@ -96,6 +97,7 @@
 
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_MULTI_PROPERTIES}
      */
     public int getNameId() {
         return FO_MULTI_PROPERTIES;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiPropertySet.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiPropertySet.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiPropertySet.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiPropertySet.java Wed Apr 30 04:02:03 2008
@@ -29,7 +29,8 @@
 import org.apache.fop.fo.ValidationException;
 
 /**
- * Class modelling the fo:multi-property-set object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_multi-property-set">
+ * <code>fo:multi-property-set</code></a> object.
  */
 public class MultiPropertySet extends FObj {
     // The value of properties relevant for fo:multi-property-set.
@@ -39,7 +40,9 @@
     static boolean notImplementedWarningGiven = false;
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public MultiPropertySet(FONode parent) {
         super(parent);
@@ -51,9 +54,7 @@
         }
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         super.bind(pList);
         // activeState = pList.get(PR_ACTIVE_STATE);
@@ -61,7 +62,7 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: empty
+     * <br>XSL Content Model: empty
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
                 throws ValidationException {
@@ -77,6 +78,7 @@
     
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_MULTI_PROPERTY_SET}
      */
     public int getNameId() {
         return FO_MULTI_PROPERTY_SET;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiSwitch.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiSwitch.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiSwitch.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiSwitch.java Wed Apr 30 04:02:03 2008
@@ -29,7 +29,8 @@
 import org.apache.fop.fo.ValidationException;
 
 /**
- * Class modelling the fo:multi-switch object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_multi-switch">
+ * <code>fo:multi-switch</code></a> object.
  */
 public class MultiSwitch extends FObj {
     // The value of properties relevant for fo:multi-switch.
@@ -41,7 +42,9 @@
     static boolean notImplementedWarningGiven = false;
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public MultiSwitch(FONode parent) {
         super(parent);
@@ -53,18 +56,14 @@
         }
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         super.bind(pList);
         // autoRestore = pList.get(PR_AUTO_RESTORE);
     }
 
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void endOfNode() throws FOPException {
         if (firstChild == null) {
             missingChildElementError("(multi-case+)");
@@ -73,7 +72,7 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: (multi-case+)
+     * <br>XSL Content Model: (multi-case+)
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
                 throws ValidationException {
@@ -91,6 +90,7 @@
 
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_MULTI_SWITCH}
      */
     public int getNameId() {
         return FO_MULTI_SWITCH;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiToggle.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiToggle.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiToggle.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/MultiToggle.java Wed Apr 30 04:02:03 2008
@@ -30,7 +30,8 @@
 
 
 /**
- * Class modelling the fo:multi-toggle property.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_multi-toggle">
+ * <code>fo:multi-toggle<code></a> property.
  */
 public class MultiToggle extends FObj {
     // The value of properties relevant for fo:multi-toggle (commented out for performance).
@@ -41,7 +42,9 @@
     static boolean notImplementedWarningGiven = false;
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public MultiToggle(FONode parent) {
         super(parent);
@@ -53,9 +56,7 @@
         }
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         // prSwitchTo = pList.get(PR_SWITCH_TO);
 
@@ -63,7 +64,7 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: (#PCDATA|%inline;|%block;)*
+     * <br>XSL Content Model: (#PCDATA|%inline;|%block;)*
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
                 throws ValidationException {
@@ -81,6 +82,7 @@
     
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_MULTI_TOGGLE}
      */
     public int getNameId() {
         return FO_MULTI_TOGGLE;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/PageNumber.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/PageNumber.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/PageNumber.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/PageNumber.java Wed Apr 30 04:02:03 2008
@@ -36,7 +36,8 @@
 import org.apache.fop.fo.properties.SpaceProperty;
 
 /**
- * Class modelling the fo:page-number object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_page-number">
+ * <code>fo:page-number</code></a> object.
  */
 public class PageNumber extends FObj {
     // The value of properties relevant for fo:page-number.
@@ -71,15 +72,15 @@
     private Color color;
     
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public PageNumber(FONode parent) {
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         super.bind(pList);
         commonBorderPaddingBackground = pList.getBorderPaddingBackgroundProps();
@@ -97,24 +98,20 @@
         color = pList.get(Constants.PR_COLOR).getColor(getUserAgent());
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void startOfNode() throws FOPException {
         super.startOfNode();
         getFOEventHandler().startPageNumber(this);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void endOfNode() throws FOPException {
         getFOEventHandler().endPageNumber(this);
     }
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: empty
+     * <br>XSL Content Model: empty
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
                 throws ValidationException {
@@ -143,37 +140,27 @@
         return textDecoration; 
     }
 
-    /**
-     * @return the "alignment-adjust" property
-     */
+    /** @return the "alignment-adjust" property */
     public Length getAlignmentAdjust() {
         return alignmentAdjust;
     }
     
-    /**
-     * @return the "alignment-baseline" property
-     */
+    /** @return the "alignment-baseline" property */
     public int getAlignmentBaseline() {
         return alignmentBaseline;
     }
     
-    /**
-     * @return the "baseline-shift" property
-     */
+    /** @return the "baseline-shift" property */
     public Length getBaselineShift() {
         return baselineShift;
     }
     
-    /**
-     * @return the "dominant-baseline" property
-     */
+    /** @return the "dominant-baseline" property */
     public int getDominantBaseline() {
         return dominantBaseline;
     }
     
-    /**
-     * @return the "line-height" property
-     */
+    /** @return the "line-height" property */
     public SpaceProperty getLineHeight() {
         return lineHeight;
     }
@@ -183,7 +170,10 @@
         return "page-number";
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_PAGE_NUMBER}
+     */
     public int getNameId() {
         return FO_PAGE_NUMBER;
     }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/PageNumberCitation.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/PageNumberCitation.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/PageNumberCitation.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/PageNumberCitation.java Wed Apr 30 04:02:03 2008
@@ -23,7 +23,8 @@
 import org.apache.fop.fo.FONode;
 
 /**
- * Class modelling the fo:page-number-citation object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_page-number-citation">
+ * <code>fo:page-number-citation</code></a> object.
  * This inline fo is replaced with the text for a page number.
  * The page number used is the page that contains the start of the
  * block referenced with the ref-id attribute.
@@ -32,7 +33,8 @@
 
     /**
      * Main constructor
-     * @param parent FONode that is the parent of this object
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public PageNumberCitation(FONode parent) {
         super(parent);
@@ -55,7 +57,10 @@
         return "page-number-citation";
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_PAGE_NUMBER_CITATION}
+     */
     public int getNameId() {
         return FO_PAGE_NUMBER_CITATION;
     }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/PageNumberCitationLast.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/PageNumberCitationLast.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/PageNumberCitationLast.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/PageNumberCitationLast.java Wed Apr 30 04:02:03 2008
@@ -23,7 +23,8 @@
 import org.apache.fop.fo.FONode;
 
 /**
- * Class modelling the fo:page-number-citation-last object from XSL 1.1.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_page-number-citation-last">
+ * <code>fo:page-number-citation-last</code></a> object from XSL 1.1.
  * This inline fo is replaced with the text for a page number.
  * The page number used is the page that contains the end of the
  * block referenced with the ref-id attribute.
@@ -33,7 +34,8 @@
 
     /**
      * Main constructor
-     * @param parent the parent FO node
+     * 
+     * @param parent the parent {@link FONode}
      */
     public PageNumberCitationLast(FONode parent) {
         super(parent);
@@ -56,7 +58,10 @@
         return "page-number-citation-last";
     }
     
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_PAGE_NUMBER_CITATION_LAST}
+     */
     public int getNameId() {
         return FO_PAGE_NUMBER_CITATION_LAST;
     }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/RetrieveMarker.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/RetrieveMarker.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/RetrieveMarker.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/RetrieveMarker.java Wed Apr 30 04:02:03 2008
@@ -21,8 +21,6 @@
 
 import java.util.Iterator;
 
-import org.xml.sax.Locator;
-
 import org.apache.fop.apps.FOPException;
 import org.apache.fop.fo.FONode;
 import org.apache.fop.fo.FOText;
@@ -32,6 +30,7 @@
 import org.apache.fop.fo.ValidationException;
 import org.apache.fop.fo.flow.table.Table;
 import org.apache.fop.fo.flow.table.TableFObj;
+import org.xml.sax.Locator;
 
 /**
  * Class modelling the fo:retrieve-marker object.
@@ -48,9 +47,10 @@
     private PropertyList propertyList;
 
     /**
-     * Create a retrieve marker object.
-     * @param parent FONode that is the parent of this object
-     * @see org.apache.fop.fo.FONode#FONode(FONode)
+     * Create a new RetrieveMarker instance that is a
+     * child of the given {@link FONode}.
+     *
+     * @param parent {@link FONode} that is the parent of this object
      */
     public RetrieveMarker(FONode parent) {
         super(parent);
@@ -59,26 +59,27 @@
     /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         if (findAncestor(FO_STATIC_CONTENT) < 0) {
-            invalidChildError(locator, getParent().getName(), FO_URI, getName(), 
+            invalidChildError(locator, getParent().getName(), FO_URI, getName(),
                 "rule.retrieveMarkerDescendatOfStaticContent");
         }
 
         retrieveClassName = pList.get(PR_RETRIEVE_CLASS_NAME).getString();
         retrievePosition = pList.get(PR_RETRIEVE_POSITION).getEnum();
         retrieveBoundary = pList.get(PR_RETRIEVE_BOUNDARY).getEnum();
-        
+
         if (retrieveClassName == null || retrieveClassName.equals("")) {
             missingPropertyError("retrieve-class-name");
         }
-        
+
         propertyList = pList.getParentPropertyList();
+        super.bind(pList);
     }
-    
+
     /**
      * {@inheritDoc}
      * XSL Content Model: empty
      */
-    protected void validateChildNode(Locator loc, String nsURI, String localName) 
+    protected void validateChildNode(Locator loc, String nsURI, String localName)
                 throws ValidationException {
         if (FO_URI.equals(nsURI)) {
             invalidChildError(loc, nsURI, localName);
@@ -105,7 +106,7 @@
     public int getRetrieveBoundary() {
         return retrieveBoundary;
     }
-    
+
     private PropertyList createPropertyListFor(FObj fo, PropertyList parent) {
         return getFOEventHandler().getPropertyListMaker().make(fo, parent);
     }
@@ -120,7 +121,7 @@
                 Marker.MarkerPropertyList pList;
                 PropertyList newPropertyList = createPropertyListFor(
                             (FObj) newChild, parentPropertyList);
-                
+
                 pList = marker.getPropertyListFor(child);
                 newChild.processNode(
                         child.getLocalName(),
@@ -159,7 +160,7 @@
             }
         }
     }
-    
+
     /**
      * Clone the FO nodes in the parent iterator,
      * attach the new nodes to the new parent,
@@ -178,7 +179,7 @@
             FONode child;
             while (parentIter.hasNext()) {
                 child = (FONode) parentIter.next();
-                cloneSingleNode(child, newParent, 
+                cloneSingleNode(child, newParent,
                         marker, parentPropertyList);
             }
         }
@@ -191,14 +192,14 @@
             currentTextNode = null;
             firstChild = null;
         }
-        cloneSubtree(marker.getChildNodes(), this, 
+        cloneSubtree(marker.getChildNodes(), this,
                         marker, propertyList);
         handleWhiteSpaceFor(this);
     }
 
     /**
      * Clone the subtree of the given marker
-     * 
+     *
      * @param marker the marker that is to be cloned
      */
     public void bindMarker(Marker marker) {
@@ -213,7 +214,6 @@
         } else if (log.isDebugEnabled()) {
             log.debug("Empty marker retrieved...");
         }
-        return;
     }
 
     /** {@inheritDoc} */
@@ -221,7 +221,10 @@
         return "retrieve-marker";
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_RETRIEVE_MARKER}
+     */
     public int getNameId() {
         return FO_RETRIEVE_MARKER;
     }    

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Wrapper.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Wrapper.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Wrapper.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/Wrapper.java Wed Apr 30 04:02:03 2008
@@ -28,8 +28,9 @@
 import org.apache.fop.fo.ValidationException;
 
 /**
- * Class modelling the fo:wrapper object.
- * The wrapper object serves as a property holder for 
+ * Class modelling the <a href=http://www.w3.org/TR/xsl/#fo_wrapper">
+ * <code>fo:wrapper</code></a> object.
+ * The <code>fo:wrapper</code> object serves as a property holder for 
  * its child node objects.
  */
 public class Wrapper extends FObjMixed {
@@ -41,7 +42,9 @@
     private boolean inlineChildrenAllowed = false;
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Base constructor
+     * 
+     * @param parent {@link FONode} that is the parent of this object
      */
     public Wrapper(FONode parent) {
         super(parent);
@@ -101,7 +104,10 @@
         return "wrapper";
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_WRAPPER}
+     */
     public int getNameId() {
         return FO_WRAPPER;
     }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/Table.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/Table.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/Table.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/Table.java Wed Apr 30 04:02:03 2008
@@ -39,7 +39,8 @@
 import org.apache.fop.fo.properties.TableColLength;
 
 /**
- * Class modelling the fo:table object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_table">
+ * <code>fo:table</code></a> object.
  */
 public class Table extends TableFObj implements ColumnNumberManagerHolder {
 
@@ -96,7 +97,10 @@
     private PropertyList propList;
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Construct a Table instance with the given {@link FONode}
+     * as parent.
+     *
+     * @param parent {@link FONode} that is the parent of this object
      */
     public Table(FONode parent) {
         super(parent);
@@ -163,7 +167,7 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: (marker*,table-column*,table-header?,table-footer?,table-body+)
+     * <br>XSL Content Model: (marker*,table-column*,table-header?,table-footer?,table-body+)
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName)
                 throws ValidationException {
@@ -255,7 +259,7 @@
             if (!inMarker()) {
                 addColumnNode((TableColumn) child);
             } else {
-                columns.add((TableColumn) child);
+                columns.add(child);
             }
             break;
         case FO_TABLE_HEADER:
@@ -344,7 +348,6 @@
      * used for determining initial values for column-number
      * 
      * @param col   the column to add
-     * @throws FOPException
      */
     private void addColumnNode(TableColumn col) {
 
@@ -518,7 +521,10 @@
         return "table";
     }
 
-    /** {@inheritDoc} */
+    /**
+     * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_TABLE}
+     */
     public int getNameId() {
         return FO_TABLE;
     }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/TableAndCaption.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/TableAndCaption.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/TableAndCaption.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/TableAndCaption.java Wed Apr 30 04:02:03 2008
@@ -28,7 +28,8 @@
 import org.apache.fop.fo.ValidationException;
 
 /**
- * Class modelling the fo:table-and-caption property.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_table-and-caption">
+ * <code>fo:table-and-caption</code></a> property.
  * @todo needs implementation
  */
 public class TableAndCaption extends FObj {
@@ -56,6 +57,8 @@
     private boolean tableFound = false;
 
     /**
+     * Create a TableAndCaption instance with the given {@link FONode}
+     * as parent.
      * @param parent FONode that is the parent of this object
      */
     public TableAndCaption(FONode parent) {
@@ -81,7 +84,7 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: marker* table-caption? table
+     * <br>XSL Content Model: marker* table-caption? table
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
                 throws ValidationException {
@@ -120,6 +123,7 @@
 
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_TABLE_AND_CAPTION}
      */
     public int getNameId() {
         return FO_TABLE_AND_CAPTION;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/TableBody.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/TableBody.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/TableBody.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/TableBody.java Wed Apr 30 04:02:03 2008
@@ -33,7 +33,8 @@
 import org.apache.fop.fo.properties.CommonBorderPaddingBackground;
 
 /**
- * Class modelling the fo:table-body object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_table-body">
+ * <code>fo:table-body</code></a> object.
  */
 public class TableBody extends TableCellContainer {
     // The value of properties relevant for fo:table-body.
@@ -63,23 +64,21 @@
     private List rowGroups = new LinkedList();
 
     /**
+     * Create a TableBody instance with the given {@link FONode}
+     * as parent.
      * @param parent FONode that is the parent of the object
      */
     public TableBody(FONode parent) {
         super(parent);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         commonBorderPaddingBackground = pList.getBorderPaddingBackgroundProps();
         super.bind(pList);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void processNode(String elementName, Locator locator,
                             Attributes attlist, PropertyList pList)
                     throws FOPException {
@@ -99,17 +98,13 @@
         super.processNode(elementName, locator, attlist, pList);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void startOfNode() throws FOPException {
         super.startOfNode();
         getFOEventHandler().startBody(this);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void endOfNode() throws FOPException {
 
         if (!inMarker()) {
@@ -150,8 +145,8 @@
     }
 
     /**
-     * {@inheritDoc} String, String)
-     * XSL Content Model: marker* (table-row+|table-cell+)
+     * {@inheritDoc}
+     * <br>XSL Content Model: marker* (table-row+|table-cell+)
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName)
         throws ValidationException {
@@ -180,9 +175,7 @@
         }
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void addChildNode(FONode child) throws FOPException {
         if (!inMarker()) {
             switch (child.getNameId()) {
@@ -236,7 +229,9 @@
     }
 
     /**
-     * @return the Common Border, Padding, and Background Properties.
+     * Get the {@link CommonBorderPaddingBackground} instance attached
+     * to this TableBody.
+     * @return the {@link CommonBorderPaddingBackground} instance.
      */
     public CommonBorderPaddingBackground getCommonBorderPaddingBackground() {
         return commonBorderPaddingBackground;
@@ -249,6 +244,7 @@
 
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_TABLE_BODY}
      */
     public int getNameId() {
         return FO_TABLE_BODY;

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/TableCaption.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/TableCaption.java?rev=652318&r1=652317&r2=652318&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/TableCaption.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/fo/flow/table/TableCaption.java Wed Apr 30 04:02:03 2008
@@ -30,7 +30,8 @@
 
 
 /**
- * Class modelling the fo:table-caption object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_table-caption">
+ * <code>fo:table-caption</code></a> object.
  */
 public class TableCaption extends FObj {
     // The value of properties relevant for fo:table-caption.
@@ -51,7 +52,9 @@
     static boolean notImplementedWarningGiven = false;
 
     /**
-     * @param parent FONode that is the parent of this object
+     * Create a TableCaption instance with the given {@link FONode}
+     * as parent.
+     * @param parent {@link FONode} that is the parent of this object
      */
     public TableCaption(FONode parent) {
         super(parent);
@@ -63,16 +66,12 @@
         }
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     public void bind(PropertyList pList) throws FOPException {
         super.bind(pList);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    /** {@inheritDoc} */
     protected void endOfNode() throws FOPException {
         if (firstChild == null) {
             missingChildElementError("marker* (%block;)");
@@ -81,7 +80,7 @@
 
     /**
      * {@inheritDoc}
-     * XSL Content Model: marker* (%block;)
+     * <br>XSL Content Model: marker* (%block;)
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 
             throws ValidationException {
@@ -105,6 +104,7 @@
 
     /**
      * {@inheritDoc}
+     * @return {@link org.apache.fop.fo.Constants#FO_TABLE_CAPTION}
      */
     public int getNameId() {
         return FO_TABLE_CAPTION;



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org