diff options
author | Glen Mazza <gmazza@apache.org> | 2003-12-22 01:03:31 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2003-12-22 01:03:31 +0000 |
commit | 657644f5904c56555d5ffca15ff297343cfbbd61 (patch) | |
tree | bbdeb0554db74a77698391c0be24043f72da9662 /src/codegen/fo-property-mapping.xsl | |
parent | a93ddf92d90ee5ef8a4995488dc330b289bcdde8 (diff) | |
download | xmlgraphics-fop-657644f5904c56555d5ffca15ff297343cfbbd61.tar.gz xmlgraphics-fop-657644f5904c56555d5ffca15ff297343cfbbd61.zip |
Removal of some of the temporary code elements (FO Element lists still pending.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197046 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/codegen/fo-property-mapping.xsl')
-rw-r--r-- | src/codegen/fo-property-mapping.xsl | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/codegen/fo-property-mapping.xsl b/src/codegen/fo-property-mapping.xsl index a6a888898..ddcba5b1d 100644 --- a/src/codegen/fo-property-mapping.xsl +++ b/src/codegen/fo-property-mapping.xsl @@ -79,7 +79,6 @@ Software Foundation, please see <http://www.apache.org/>. <xsl:variable name="lcletters" select="'abcdefghijklmnopqrstuvwxyz-:'" /> <xsl:variable name="ucletters" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ__'" /> <xsl:variable name="enum" select="translate($prop/name, $lcletters, $ucletters)"/> -<xsl:text> </xsl:text><xsl:value-of select="$htname"/>String.put("<xsl:value-of select="$prop/name"/>", <xsl:value-of select="$makerclass"/>.maker("<xsl:value-of select="$prop/name"/>")); <xsl:text> </xsl:text><xsl:value-of select="$htname"/>[PR_<xsl:value-of select="$enum"/>] =<xsl:value-of select="$makerclass"/>.maker("<xsl:value-of select="$prop/name"/>"); <xsl:text> addPropertyName("</xsl:text><xsl:value-of select="$prop/name"/>", PR_<xsl:value-of select="$enum"/>); </xsl:template> @@ -111,7 +110,6 @@ import org.apache.fop.fo.Property; public class <xsl:value-of select="@family"/>PropertyMapping implements Constants { private static Property.Maker[] s_htGeneric = new Property.Maker[PROPERTY_COUNT+1]; - private static HashMap s_htGenericString = new HashMap(); // temporary private static HashMap s_htElementStringLists = new HashMap(); // temporary private static HashMap s_htElementLists = new HashMap(); private static HashMap s_htSubPropNames = new HashMap(); @@ -122,16 +120,12 @@ public class <xsl:value-of select="@family"/>PropertyMapping implements Constant <xsl:apply-templates/> - public static HashMap getGenericStringMappings() { - return s_htGenericString; - } - - public static Set getElementStringMappings() { + public static Set getElementStringMappings() { // temporary return s_htElementStringLists.keySet(); } - public static HashMap getElementStringMapping(String elemName) { - return (HashMap)s_htElementStringLists.get(elemName); + public static HashMap getElementStringMapping(String elemName) { // temporary + return (HashMap) s_htElementStringLists.get(elemName); } public static Property.Maker[] getGenericMappings() { |