From a9d8444aef1778186b0eb0480ba568a6050e14f9 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 26 Jan 2005 17:50:52 +0000 Subject: [PATCH] toString() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198326 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/flow/Marker.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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. -- 2.39.5