From eda42c18ad7dc3f9adef28693bfe0925d0af4e3d Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Mon, 23 Aug 2004 22:09:20 +0000 Subject: 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 --- src/java/org/apache/fop/fo/flow/TableCaption.java | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'src/java/org/apache/fop/fo/flow/TableCaption.java') 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"; } -- cgit v1.2.3