aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/FONode.java
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-11-15 11:56:29 +0000
committerKeiron Liddle <keiron@apache.org>2002-11-15 11:56:29 +0000
commit6397aedfc3101066a80fba4beccd8a3d59efffeb (patch)
tree69022cf0df38f5abb2082493a3cdb3fe262abfa8 /src/org/apache/fop/fo/FONode.java
parentccc86e2d158c15960cb0360b4eecb7755c6e1828 (diff)
downloadxmlgraphics-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.java15
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;
+ }
}
+