git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197751
13f79535-47bb-0310-9956-
ffa450edef68
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;
- }
-
/**
* This is a hook for an FOTreeVisitor subclass to be able to access
* this object.
* @param child the child node to add
*/
protected void addChild(FONode child) {
- if (containsMarkers() && child.isMarker()) {
+ if (containsMarkers() && "fo:marker".equals(child.getName())) {
addMarker((Marker)child);
} else {
if (children == null) {
this.propertyList.get(PR_MARKER_CLASS_NAME).getString();
}
- /**
- * @see org.apache.fop.fo.FONode#isMarker()
- */
- protected boolean isMarker() {
- return true;
- }
-
/**
* Get the marker class name for this marker.
*