diff options
author | Glen Mazza <gmazza@apache.org> | 2004-08-23 22:09:20 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-08-23 22:09:20 +0000 |
commit | eda42c18ad7dc3f9adef28693bfe0925d0af4e3d (patch) | |
tree | a3310812ab61c18673760ae61030dca135de849d /src/java/org/apache/fop/fo/flow/TableCaption.java | |
parent | 5778e15a55f1560f35098209f99d42c32836e1d0 (diff) | |
download | xmlgraphics-fop-eda42c18ad7dc3f9adef28693bfe0925d0af4e3d.tar.gz xmlgraphics-fop-eda42c18ad7dc3f9adef28693bfe0925d0af4e3d.zip |
PR:
Obtained from:
Submitted by:
Reviewed by:
ToBeImplementedElement removed in favor of one-time static warning messages
in the "unimplemented" FO's.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197888 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/TableCaption.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/TableCaption.java | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/fo/flow/TableCaption.java b/src/java/org/apache/fop/fo/flow/TableCaption.java index 3bf29323c..8fcbb776d 100644 --- a/src/java/org/apache/fop/fo/flow/TableCaption.java +++ b/src/java/org/apache/fop/fo/flow/TableCaption.java @@ -20,21 +20,30 @@ package org.apache.fop.fo.flow; // FOP import org.apache.fop.fo.FONode; -import org.apache.fop.fo.ToBeImplementedElement; +import org.apache.fop.fo.FObj; /** - * Class modelling the fo:table-caption object. See Sec. 6.7.5 of the XSL-FO - * Standard. + * Class modelling the fo:table-caption object. */ -public class TableCaption extends ToBeImplementedElement { +public class TableCaption extends FObj { + + static boolean notImplementedWarningGiven = false; /** * @param parent FONode that is the parent of this object */ public TableCaption(FONode parent) { super(parent); + + if (!notImplementedWarningGiven) { + getLogger().warn("fo:table-caption is not yet implemented."); + notImplementedWarningGiven = true; + } } + /** + * @see org.apache.fop.fo.FObj#getName() + */ public String getName() { return "fo:table-caption"; } |