]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
toString() method
authorJeremias Maerki <jeremias@apache.org>
Mon, 17 Jan 2005 10:33:51 +0000 (10:33 +0000)
committerJeremias Maerki <jeremias@apache.org>
Mon, 17 Jan 2005 10:33:51 +0000 (10:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198271 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/datatypes/FODimension.java

index 53369e9ee41b980bed9db67c7d0a5553b7870b42..32e4538e9892a6d2f85535efd2e0b21a8b4544ac 100644 (file)
@@ -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.
@@ -39,4 +39,12 @@ public class FODimension {
         this.ipd = ipd;
         this.bpd = bpd;
     }
+    
+    public String toString() {
+        StringBuffer sb = new StringBuffer(super.toString());
+        sb.append(" {ipd=").append(Integer.toString(ipd));
+        sb.append(", bpd=").append(Integer.toString(bpd));
+        sb.append("}");
+        return sb.toString();
+    }
 }