diff options
author | fotis <fotis@unknown> | 2000-06-27 22:14:35 +0000 |
---|---|---|
committer | fotis <fotis@unknown> | 2000-06-27 22:14:35 +0000 |
commit | f11bad903dbef3d04d48b3a219fb0adb139ce953 (patch) | |
tree | e941d36bfd0fd6da736eb02c3e42ac84066d1a84 /src/codegen/properties.xsl | |
parent | 7724f41ad6e9e484f9a37b54b6a63fe3cb9c90ef (diff) | |
download | xmlgraphics-fop-f11bad903dbef3d04d48b3a219fb0adb139ce953.tar.gz xmlgraphics-fop-f11bad903dbef3d04d48b3a219fb0adb139ce953.zip |
replaces calls of System.err.println etc. with calls to the new MessageHandler methods
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193441 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/codegen/properties.xsl')
-rw-r--r-- | src/codegen/properties.xsl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/codegen/properties.xsl b/src/codegen/properties.xsl index 2f85784dc..214c9cb23 100644 --- a/src/codegen/properties.xsl +++ b/src/codegen/properties.xsl @@ -13,6 +13,7 @@ package org.apache.fop.fo.properties; import org.apache.fop.datatypes.*; import org.apache.fop.fo.*; import org.apache.fop.apps.FOPException; +import org.apache.fop.messaging.MessageHandler; public class <xsl:value-of select="class-name"/> extends Property { @@ -80,6 +81,7 @@ package org.apache.fop.fo.properties; import org.apache.fop.datatypes.*; import org.apache.fop.fo.*; import org.apache.fop.apps.FOPException; +import org.apache.fop.messaging.MessageHandler; public class <xsl:value-of select="class-name"/> extends Property { <xsl:for-each select="datatype/enumeration/value"> @@ -94,7 +96,7 @@ public class <xsl:value-of select="class-name"/> extends Property { if (value.equals("<xsl:value-of select="."/>")) { v = <xsl:value-of select="@const"/>; } else</xsl:for-each> { - System.err.println("WARNING: Unknown value for <xsl:value-of select="name"/>: " + value); + MessageHandler.errorln("WARNING: Unknown value for <xsl:value-of select="name"/>: " + value); return make(propertyList, "<xsl:value-of select="default"/>"); } return new <xsl:value-of select="class-name"/>(propertyList, v); |