aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2007-11-03 10:35:56 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2007-11-03 10:35:56 +0000
commit95cec48eea9a321717f166668515c9d1e3e52edf (patch)
tree5706c62141614e807c712c8d7e542c4802a37405
parent746e887e889a3c6009aee9dad12942d19781182b (diff)
downloadxmlgraphics-fop-95cec48eea9a321717f166668515c9d1e3e52edf.tar.gz
xmlgraphics-fop-95cec48eea9a321717f166668515c9d1e3e52edf.zip
Added override for FObj.toString() for convenience during debugging.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@591575 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/fo/FObj.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/FObj.java b/src/java/org/apache/fop/fo/FObj.java
index 71849bd72..4c8387f82 100644
--- a/src/java/org/apache/fop/fo/FObj.java
+++ b/src/java/org/apache/fop/fo/FObj.java
@@ -581,6 +581,12 @@ public abstract class FObj extends FONode implements Constants {
}
}
+ /** {@inheritDoc} */
+ public String toString() {
+ return (this.getClass().getName() + "[@id=" + this.id + "]");
+ }
+
+
public class FObjIterator implements FONodeIterator {
private static final int F_NONE_ALLOWED = 0;