diff options
author | Keiron Liddle <keiron@apache.org> | 2000-08-14 01:34:21 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2000-08-14 01:34:21 +0000 |
commit | e700f71b430551bb77bd3653cb5167ebb4b69db2 (patch) | |
tree | a64f2bcebc7e0855f3d4a9e4ac8d67cc1afb3682 /src/org/apache/fop/dom | |
parent | a2ea21ad9dadf86289a632904a5a70e764653ab0 (diff) | |
download | xmlgraphics-fop-e700f71b430551bb77bd3653cb5167ebb4b69db2.tar.gz xmlgraphics-fop-e700f71b430551bb77bd3653cb5167ebb4b69db2.zip |
updated for new bindings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193666 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/dom')
-rw-r--r-- | src/org/apache/fop/dom/svg/SVGNumberImpl.java | 83 | ||||
-rw-r--r-- | src/org/apache/fop/dom/svg/SVGURIReferenceImpl.java | 11 | ||||
-rw-r--r-- | src/org/apache/fop/dom/svg/SVGUseElementImpl.java | 11 |
3 files changed, 22 insertions, 83 deletions
diff --git a/src/org/apache/fop/dom/svg/SVGNumberImpl.java b/src/org/apache/fop/dom/svg/SVGNumberImpl.java deleted file mode 100644 index f0cfd41d9..000000000 --- a/src/org/apache/fop/dom/svg/SVGNumberImpl.java +++ /dev/null @@ -1,83 +0,0 @@ -/*-- $Id$ -- - - ============================================================================ - The Apache Software License, Version 1.1 - ============================================================================ - - Copyright (C) 1999 The Apache Software Foundation. All rights reserved. - - Redistribution and use in source and binary forms, with or without modifica- - tion, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - 3. The end-user documentation included with the redistribution, if any, must - include the following acknowledgment: "This product includes software - developed by the Apache Software Foundation (http://www.apache.org/)." - Alternately, this acknowledgment may appear in the software itself, if - and wherever such third-party acknowledgments normally appear. - - 4. The names "Fop" and "Apache Software Foundation" must not be used to - endorse or promote products derived from this software without prior - written permission. For written permission, please contact - apache@apache.org. - - 5. Products derived from this software may not be called "Apache", nor may - "Apache" appear in their name, without prior written permission of the - Apache Software Foundation. - - THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, - INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- - DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - This software consists of voluntary contributions made by many individuals - on behalf of the Apache Software Foundation and was originally created by - James Tauber <jtauber@jtauber.com>. For more information on the Apache - Software Foundation, please see <http://www.apache.org/>. - - */ -package org.apache.fop.dom.svg; - -import org.apache.fop.fo.Property; - -import java.util.*; - -import org.w3c.dom.svg.*; - -/** - * - */ -public class SVGNumberImpl implements SVGNumber { - float value = 0; - - public SVGNumberImpl() - { - } - - public float getValue() - { - return value; - } - - public void setValue(float value) - { - this.value = value; - } - - public float getAnimatedValue() - { - return 0; - } -} diff --git a/src/org/apache/fop/dom/svg/SVGURIReferenceImpl.java b/src/org/apache/fop/dom/svg/SVGURIReferenceImpl.java index 99baa8279..edf9a3ad0 100644 --- a/src/org/apache/fop/dom/svg/SVGURIReferenceImpl.java +++ b/src/org/apache/fop/dom/svg/SVGURIReferenceImpl.java @@ -59,6 +59,7 @@ public class SVGURIReferenceImpl extends GraphicElement implements SVGURIReferen String xlinkTitle; String xlinkShow; String xlinkActuate; + String xlinkArcRole; SVGAnimatedString href; public String getXlinkType( ) @@ -91,6 +92,16 @@ public class SVGURIReferenceImpl extends GraphicElement implements SVGURIReferen this.xlinkTitle = xlinkTitle; } + public String getXlinkArcRole() + { + return xlinkArcRole; + } + + public void setXlinkArcRole(String xlinkArcRole) + { + this.xlinkArcRole = xlinkArcRole; + } + public String getXlinkShow( ) { return xlinkShow; diff --git a/src/org/apache/fop/dom/svg/SVGUseElementImpl.java b/src/org/apache/fop/dom/svg/SVGUseElementImpl.java index 220903765..4ddb21278 100644 --- a/src/org/apache/fop/dom/svg/SVGUseElementImpl.java +++ b/src/org/apache/fop/dom/svg/SVGUseElementImpl.java @@ -59,6 +59,7 @@ import org.w3c.dom.svg.*; */ public class SVGUseElementImpl extends GraphicElement implements SVGUseElement { public String link; + String xlinkArcRole; public SVGUseElementImpl(String s) { @@ -92,6 +93,16 @@ public class SVGUseElementImpl extends GraphicElement implements SVGUseElement { { } + public String getXlinkArcRole() + { + return xlinkArcRole; + } + + public void setXlinkArcRole(String xlinkArcRole) + { + this.xlinkArcRole = xlinkArcRole; + } + public String getXlinkShow( ) { return null; |