From: Jeremias Maerki Date: Wed, 26 Jan 2005 17:50:52 +0000 (+0000) Subject: toString() X-Git-Tag: Root_Temp_KnuthStylePageBreaking~181 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a9d8444aef1778186b0eb0480ba568a6050e14f9;p=xmlgraphics-fop.git toString() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198326 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fo/flow/Marker.java b/src/java/org/apache/fop/fo/flow/Marker.java index feebc64e1..96c99b3e4 100644 --- a/src/java/org/apache/fop/fo/flow/Marker.java +++ b/src/java/org/apache/fop/fo/flow/Marker.java @@ -1,5 +1,5 @@ /* - * Copyright 1999-2004 The Apache Software Foundation. + * Copyright 1999-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -143,6 +143,13 @@ public class Marker extends FObjMixed { return FO_MARKER; } + /** @see java.lang.Object#toString() */ + public String toString() { + StringBuffer sb = new StringBuffer(super.toString()); + sb.append(" {").append(getMarkerClassName()).append("}"); + return sb.toString(); + } + /** * An implementation of PropertyList which only stores the explicit * assigned properties. It is memory efficient but slow.