You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2006/05/18 17:42:40 UTC
svn commit: r407572 - in
/xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/pcl/extensions: ./
PCLElementMapping.java
Author: jeremias
Date: Thu May 18 08:42:39 2006
New Revision: 407572
URL: http://svn.apache.org/viewvc?rev=407572&view=rev
Log:
Forgot to upload the new PCLElementMapping. Used so the PCL extension attributes are working.
Added:
xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/pcl/extensions/
xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/pcl/extensions/PCLElementMapping.java (with props)
Added: xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/pcl/extensions/PCLElementMapping.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/pcl/extensions/PCLElementMapping.java?rev=407572&view=auto
==============================================================================
--- xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/pcl/extensions/PCLElementMapping.java (added)
+++ xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/pcl/extensions/PCLElementMapping.java Thu May 18 08:42:39 2006
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2006 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* $Id: AFPElementMapping.java 397875 2006-04-28 11:58:33Z manuel $ */
+
+package org.apache.fop.render.pcl.extensions;
+
+import java.util.HashMap;
+
+import org.apache.fop.fo.ElementMapping;
+
+/**
+ * PCL-specific extensions for Apache FOP.
+ */
+public class PCLElementMapping extends ElementMapping {
+
+ /** The namespace used for PCL extensions */
+ public static final String NAMESPACE = "http://xmlgraphics.apache.org/fop/extensions/pcl";
+
+ /** The usual namespace prefix used for PCL extensions */
+ public static final String NAMESPACE_PREFIX = "pcl";
+
+ /** Main constructor */
+ public PCLElementMapping() {
+ this.namespaceURI = NAMESPACE;
+ }
+
+ /** @see org.apache.fop.fo.ElementMapping#initialize() */
+ protected void initialize() {
+
+ if (foObjs == null) {
+ foObjs = new HashMap();
+ //No extension elements, yet, only attributes
+ }
+
+ }
+
+}
Propchange: xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/pcl/extensions/PCLElementMapping.java
------------------------------------------------------------------------------
svn:eol-style = native
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org