diff options
author | Keiron Liddle <keiron@apache.org> | 2002-11-15 11:56:29 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-11-15 11:56:29 +0000 |
commit | 6397aedfc3101066a80fba4beccd8a3d59efffeb (patch) | |
tree | 69022cf0df38f5abb2082493a3cdb3fe262abfa8 /src/org/apache/fop/fo/FONode.java | |
parent | ccc86e2d158c15960cb0360b4eecb7755c6e1828 (diff) | |
download | xmlgraphics-fop-6397aedfc3101066a80fba4beccd8a3d59efffeb.tar.gz xmlgraphics-fop-6397aedfc3101066a80fba4beccd8a3d59efffeb.zip |
added support for markers in fo tree
bit of a cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195539 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/FONode.java')
-rw-r--r-- | src/org/apache/fop/fo/FONode.java | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/org/apache/fop/fo/FONode.java b/src/org/apache/fop/fo/FONode.java index 4f4c34af9..c212b85b9 100644 --- a/src/org/apache/fop/fo/FONode.java +++ b/src/org/apache/fop/fo/FONode.java @@ -106,11 +106,22 @@ public abstract class FONode { * this FObj. */ public ListIterator getChildren(FONode childNode) { - return null; + return null; } public CharIterator charIterator() { - return new OneCharIterator(CharUtilities.CODE_EOT); + return new OneCharIterator(CharUtilities.CODE_EOT); } + /** + * This is a quick check to see if it is a marker. + * This is needed since there is no other quick way of checking + * for a marker and not adding to the child list. + * + * @return true if this is a marker + */ + protected boolean isMarker() { + return false; + } } + |