diff options
author | Glen Mazza <gmazza@apache.org> | 2004-08-20 09:38:21 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-08-20 09:38:21 +0000 |
commit | 9729fe17d699d1d3816054dfb722369aba187d54 (patch) | |
tree | c03116d9337ae1570a988f26e64b0269647bb2be /src/java/org/apache/fop/fo/flow/Float.java | |
parent | 74ca9b8223ae7f3168ffc75f3b85c1b692af09b4 (diff) | |
download | xmlgraphics-fop-9729fe17d699d1d3816054dfb722369aba187d54.tar.gz xmlgraphics-fop-9729fe17d699d1d3816054dfb722369aba187d54.zip |
1.) validateChildNode() added for fo:marker.
2.) new getPropString() convenience method added to FObj, will reduce
need for many individual methods on each FO.
3.) fo:float disconnected from ToBeImplementedElement in favor of a
class-specific warning.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197883 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/Float.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/Float.java | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Float.java b/src/java/org/apache/fop/fo/flow/Float.java index 56acb0ce9..3a9c61806 100644 --- a/src/java/org/apache/fop/fo/flow/Float.java +++ b/src/java/org/apache/fop/fo/flow/Float.java @@ -25,18 +25,25 @@ import org.xml.sax.SAXParseException; // FOP import org.apache.fop.fo.FONode; -import org.apache.fop.fo.ToBeImplementedElement; +import org.apache.fop.fo.FObj; /** * fo:float element. */ -public class Float extends ToBeImplementedElement { +public class Float extends FObj { + static boolean notImplementedWarningGiven = false; + /** * @see org.apache.fop.fo.FONode#FONode(FONode) */ public Float(FONode parent) { super(parent); + + if (!notImplementedWarningGiven) { + getLogger().warn("fo:float is not yet implemented."); + notImplementedWarningGiven = true; + } } /** |