summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/salamander/svg/basic
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/kitfox/salamander/svg/basic')
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/ColorTable.java277
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAngle.java71
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedAngle.java19
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedBoolean.java27
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedDataType.java27
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedEnumeration.java27
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedInteger.java31
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedLength.java19
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedLengthList.java19
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumber.java31
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumberList.java19
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedRect.java19
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedString.java21
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGCSSRule.java27
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGColor.java79
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGDataType.java19
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGElement.java35
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGExternalResourcesRequired.java23
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGFitToViewBox.java29
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGICCColor.java27
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGLangSpace.java29
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGLength.java98
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGLengthList.java21
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGList.java86
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGLocatable.java54
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGNumber.java23
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGNumberList.java21
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGRect.java34
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGRenderingIntent.java46
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGString.java23
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGStringList.java22
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGStylable.java36
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGTests.java39
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGTransformable.java25
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGURIReference.java23
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGUnitTypes.java33
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGViewSpec.java46
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGZoomAndPan.java37
38 files changed, 0 insertions, 1542 deletions
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/ColorTable.java b/src/main/java/com/kitfox/salamander/svg/basic/ColorTable.java
deleted file mode 100755
index 3f6a487..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/ColorTable.java
+++ /dev/null
@@ -1,277 +0,0 @@
-/*
- * ColorTable.java
- *
- *
- * The Salamander Project - 2D and 3D graphics libraries in Java
- * Copyright (C) 2004 Mark McKay
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * Mark McKay can be contacted at mark@kitfox.com. Salamander and other
- * projects can be found at http://www.kitfox.com
- *
- * Created on January 26, 2004, 4:34 AM
- */
-
-package com.kitfox.svg.xml;
-
-import java.awt.*;
-import java.util.*;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-/**
- * @author Mark McKay
- * @author <a href="mailto:mark@kitfox.com">Mark McKay</a>
- */
-public class ColorTable
-{
-
- static final Map colorTable;
- static {
- HashMap table = new HashMap();
- table.put("aliceblue", new Color(240, 248, 255));
- table.put("antiquewhite", new Color(250, 235, 215));
- table.put("aqua", new Color(0, 255, 255));
- table.put("aquamarine", new Color(127, 255, 212));
- table.put("azure", new Color(240, 255, 255));
- table.put("beige", new Color(245, 245, 220));
- table.put("bisque", new Color(255, 228, 196));
- table.put("black", new Color(0, 0, 0));
- table.put("blanchedalmond", new Color(255, 235, 205));
- table.put("blue", new Color(0, 0, 255));
- table.put("blueviolet", new Color(138, 43, 226));
- table.put("brown", new Color(165, 42, 42));
- table.put("burlywood", new Color(222, 184, 135));
- table.put("cadetblue", new Color(95, 158, 160));
- table.put("chartreuse", new Color(127, 255, 0));
- table.put("chocolate", new Color(210, 105, 30));
- table.put("coral", new Color(255, 127, 80));
- table.put("cornflowerblue", new Color(100, 149, 237));
- table.put("cornsilk", new Color(255, 248, 220));
- table.put("crimson", new Color(220, 20, 60));
- table.put("cyan", new Color(0, 255, 255));
- table.put("darkblue", new Color(0, 0, 139));
- table.put("darkcyan", new Color(0, 139, 139));
- table.put("darkgoldenrod", new Color(184, 134, 11));
- table.put("darkgray", new Color(169, 169, 169));
- table.put("darkgreen", new Color(0, 100, 0));
- table.put("darkgrey", new Color(169, 169, 169));
- table.put("darkkhaki", new Color(189, 183, 107));
- table.put("darkmagenta", new Color(139, 0, 139));
- table.put("darkolivegreen", new Color(85, 107, 47));
- table.put("darkorange", new Color(255, 140, 0));
- table.put("darkorchid", new Color(153, 50, 204));
- table.put("darkred", new Color(139, 0, 0));
- table.put("darksalmon", new Color(233, 150, 122));
- table.put("darkseagreen", new Color(143, 188, 143));
- table.put("darkslateblue", new Color(72, 61, 139));
- table.put("darkslategray", new Color(47, 79, 79));
- table.put("darkslategrey", new Color(47, 79, 79));
- table.put("darkturquoise", new Color(0, 206, 209));
- table.put("darkviolet", new Color(148, 0, 211));
- table.put("deeppink", new Color(255, 20, 147));
- table.put("deepskyblue", new Color(0, 191, 255));
- table.put("dimgray", new Color(105, 105, 105));
- table.put("dimgrey", new Color(105, 105, 105));
- table.put("dodgerblue", new Color(30, 144, 255));
- table.put("firebrick", new Color(178, 34, 34));
- table.put("floralwhite", new Color(255, 250, 240));
- table.put("forestgreen", new Color(34, 139, 34));
- table.put("fuchsia", new Color(255, 0, 255));
- table.put("gainsboro", new Color(220, 220, 220));
- table.put("ghostwhite", new Color(248, 248, 255));
- table.put("gold", new Color(255, 215, 0));
- table.put("goldenrod", new Color(218, 165, 32));
- table.put("gray", new Color(128, 128, 128));
- table.put("grey", new Color(128, 128, 128));
- table.put("green", new Color(0, 128, 0));
- table.put("greenyellow", new Color(173, 255, 47));
- table.put("honeydew", new Color(240, 255, 240));
- table.put("hotpink", new Color(255, 105, 180));
- table.put("indianred", new Color(205, 92, 92));
- table.put("indigo", new Color(75, 0, 130));
- table.put("ivory", new Color(255, 255, 240));
- table.put("khaki", new Color(240, 230, 140));
- table.put("lavender", new Color(230, 230, 250));
- table.put("lavenderblush", new Color(255, 240, 245));
- table.put("lawngreen", new Color(124, 252, 0));
- table.put("lemonchiffon", new Color(255, 250, 205));
- table.put("lightblue", new Color(173, 216, 230));
- table.put("lightcoral", new Color(240, 128, 128));
- table.put("lightcyan", new Color(224, 255, 255));
- table.put("lightgoldenrodyellow", new Color(250, 250, 210));
- table.put("lightgray", new Color(211, 211, 211));
- table.put("lightgreen", new Color(144, 238, 144));
- table.put("lightgrey", new Color(211, 211, 211));
- table.put("lightpink", new Color(255, 182, 193));
- table.put("lightsalmon", new Color(255, 160, 122));
- table.put("lightseagreen", new Color(32, 178, 170));
- table.put("lightskyblue", new Color(135, 206, 250));
- table.put("lightslategray", new Color(119, 136, 153));
- table.put("lightslategrey", new Color(119, 136, 153));
- table.put("lightsteelblue", new Color(176, 196, 222));
- table.put("lightyellow", new Color(255, 255, 224));
- table.put("lime", new Color(0, 255, 0));
- table.put("limegreen", new Color(50, 205, 50));
- table.put("linen", new Color(250, 240, 230));
- table.put("magenta", new Color(255, 0, 255));
- table.put("maroon", new Color(128, 0, 0));
- table.put("mediumaquamarine", new Color(102, 205, 170));
- table.put("mediumblue", new Color(0, 0, 205));
- table.put("mediumorchid", new Color(186, 85, 211));
- table.put("mediumpurple", new Color(147, 112, 219));
- table.put("mediumseagreen", new Color(60, 179, 113));
- table.put("mediumslateblue", new Color(123, 104, 238));
- table.put("mediumspringgreen", new Color(0, 250, 154));
- table.put("mediumturquoise", new Color(72, 209, 204));
- table.put("mediumvioletred", new Color(199, 21, 133));
- table.put("midnightblue", new Color(25, 25, 112));
- table.put("mintcream", new Color(245, 255, 250));
- table.put("mistyrose", new Color(255, 228, 225));
- table.put("moccasin", new Color(255, 228, 181));
- table.put("navajowhite", new Color(255, 222, 173));
- table.put("navy", new Color(0, 0, 128));
- table.put("oldlace", new Color(253, 245, 230));
- table.put("olive", new Color(128, 128, 0));
- table.put("olivedrab", new Color(107, 142, 35));
- table.put("orange", new Color(255, 165, 0));
- table.put("orangered", new Color(255, 69, 0));
- table.put("orchid", new Color(218, 112, 214));
- table.put("palegoldenrod", new Color(238, 232, 170));
- table.put("palegreen", new Color(152, 251, 152));
- table.put("paleturquoise", new Color(175, 238, 238));
- table.put("palevioletred", new Color(219, 112, 147));
- table.put("papayawhip", new Color(255, 239, 213));
- table.put("peachpuff", new Color(255, 218, 185));
- table.put("peru", new Color(205, 133, 63));
- table.put("pink", new Color(255, 192, 203));
- table.put("plum", new Color(221, 160, 221));
- table.put("powderblue", new Color(176, 224, 230));
- table.put("purple", new Color(128, 0, 128));
- table.put("red", new Color(255, 0, 0));
- table.put("rosybrown", new Color(188, 143, 143));
- table.put("royalblue", new Color(65, 105, 225));
- table.put("saddlebrown", new Color(139, 69, 19));
- table.put("salmon", new Color(250, 128, 114));
- table.put("sandybrown", new Color(244, 164, 96));
- table.put("seagreen", new Color(46, 139, 87));
- table.put("seashell", new Color(255, 245, 238));
- table.put("sienna", new Color(160, 82, 45));
- table.put("silver", new Color(192, 192, 192));
- table.put("skyblue", new Color(135, 206, 235));
- table.put("slateblue", new Color(106, 90, 205));
- table.put("slategray", new Color(112, 128, 144));
- table.put("slategrey", new Color(112, 128, 144));
- table.put("snow", new Color(255, 250, 250));
- table.put("springgreen", new Color(0, 255, 127));
- table.put("steelblue", new Color(70, 130, 180));
- table.put("tan", new Color(210, 180, 140));
- table.put("teal", new Color(0, 128, 128));
- table.put("thistle", new Color(216, 191, 216));
- table.put("tomato", new Color(255, 99, 71));
- table.put("turquoise", new Color(64, 224, 208));
- table.put("violet", new Color(238, 130, 238));
- table.put("wheat", new Color(245, 222, 179));
- table.put("white", new Color(255, 255, 255));
- table.put("whitesmoke", new Color(245, 245, 245));
- table.put("yellow", new Color(255, 255, 0));
- table.put("yellowgreen", new Color(154, 205, 50));
-
- colorTable = Collections.unmodifiableMap(table);
- }
-
- static ColorTable singleton = new ColorTable();
-
- /** Creates a new instance of ColorTable */
- protected ColorTable() {
-// buildColorList();
- }
-
- static public ColorTable instance() { return singleton; }
-
- public Color lookupColor(String name) {
- Object obj = colorTable.get(name.toLowerCase());
- if (obj == null) return null;
-
- return (Color)obj;
- }
-
- public static Color parseColor(String val)
- {
- Color retVal = null;
-
- if (val.charAt(0) == '#')
- {
- String hexStrn = val.substring(1);
-
- if (hexStrn.length() == 3)
- {
- hexStrn = "" + hexStrn.charAt(0) + hexStrn.charAt(0) + hexStrn.charAt(1) + hexStrn.charAt(1) + hexStrn.charAt(2) + hexStrn.charAt(2);
- }
- int hexVal = parseHex(hexStrn);
-
- retVal = new Color(hexVal);
- }
- else
- {
- final Matcher rgbMatch = Pattern.compile("rgb\\((\\d+),(\\d+),(\\d+)\\)", Pattern.CASE_INSENSITIVE).matcher("");
-
- rgbMatch.reset(val);
- if (rgbMatch.matches())
- {
- int r = Integer.parseInt(rgbMatch.group(1));
- int g = Integer.parseInt(rgbMatch.group(2));
- int b = Integer.parseInt(rgbMatch.group(3));
- retVal = new Color(r, g, b);
- }
- else
- {
- Color lookupCol = ColorTable.instance().lookupColor(val);
- if (lookupCol != null) retVal = lookupCol;
- }
- }
-
- return retVal;
- }
-
- public static int parseHex(String val)
- {
- int retVal = 0;
-
- for (int i = 0; i < val.length(); i++)
- {
- retVal <<= 4;
-
- char ch = val.charAt(i);
- if (ch >= '0' && ch <= '9')
- {
- retVal |= ch - '0';
- }
- else if (ch >= 'a' && ch <= 'z')
- {
- retVal |= ch - 'a' + 10;
- }
- else if (ch >= 'A' && ch <= 'Z')
- {
- retVal |= ch - 'A' + 10;
- }
- else throw new RuntimeException();
- }
-
- return retVal;
- }
-
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAngle.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAngle.java
deleted file mode 100755
index fc40bc3..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAngle.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * SVGAngle.java
- *
- * Created on April 12, 2007, 1:55 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import com.kitfox.salamander.svg.DOMString;
-
-/**
- *
- * The SVGAngle interface corresponds to the &lt;angle&gt; basic data type.
- * @author kitfox
- */
-public interface SVGAngle extends SVGDataType
-{
- public static enum Type {
- /**
- * The unit type is not one of predefined unit types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
- */
- UNKNOWN,
- /**
- * No unit type was provided (i.e., a unitless value was specified). For angles, a unitless value is treated the same as if degrees were specified.
- */
- UNSPECIFIED,
- /**
- * The unit type was explicitly set to degrees.
- */
- DEG,
- /**
- * The unit type is radians.
- */
- RAD,
- /**
- * The unit type is grads.
- */
- GRAD};
-
- /**
- * The type of the value as specified by one of the constants specified above.
- */
- public Type getUnitType();
- /**
- * The angle value as a floating point value, in degrees. Setting this attribute will cause valueInSpecifiedUnits and valueAsString to be updated automatically to reflect this setting.
- */
- public float getValue();
- /**
- * The angle value as a floating point value, in the units expressed by unitType. Setting this attribute will cause value and valueAsString to be updated automatically to reflect this setting.
- */
- public float getValueInSpecifiedUnits();
- /**
- * The angle value as a string value, in the units expressed by unitType. Setting this attribute will cause value and valueInSpecifiedUnits to be updated automatically to reflect this setting.
- */
- public DOMString getValueAsString();
-
- /**
- * Reset the value as a number with an associated unitType, thereby replacing the values for all of the attributes on the object.
- * @param unitType The unitType for the angle value (e.g., SVG_ANGLETYPE_DEG).
- * @param valueInSpecifiedUnits The angle value.
- */
- public void newValueSpecifiedUnits(Type unitType, float valueInSpecifiedUnits);
- /**
- * Preserve the same underlying stored value, but reset the stored unit identifier to the given unitType. Object attributes unitType, valueAsSpecified and valueAsString might be modified as a result of this method.
- * @param unitType The unitType to switch to (e.g., SVG_ANGLETYPE_DEG).
- */
- public void convertToSpecifiedUnits(Type unitType);
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedAngle.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedAngle.java
deleted file mode 100755
index ebdef4d..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedAngle.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * SVGAnimatedAngle.java
- *
- * Created on April 12, 2007, 1:59 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * Corresponds to all properties and attributes whose values can be basic type 'angle' and which are animatable.
- * @author kitfox
- */
-public interface SVGAnimatedAngle extends SVGAnimatedDataType<SVGAngle>
-{
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedBoolean.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedBoolean.java
deleted file mode 100755
index dd76748..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedBoolean.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * SVGAnimatedInteger.java
- *
- * Created on April 12, 2007, 12:48 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- * Used for attributes of type boolean which can be animated.
- * @author kitfox
- */
-public interface SVGAnimatedBoolean
-{
- /**
- * The base value of the given attribute before applying any animations.
- */
- public boolean getBaseVal();
-
- /**
- * If the given attribute or property is being animated, contains the current animated value of the attribute or property. If the given attribute or property is not currently being animated, contains the same value as 'baseVal'.
- */
- public boolean getAnimVal();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedDataType.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedDataType.java
deleted file mode 100755
index 5e2c55f..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedDataType.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * SVGAnimatedAngle.java
- *
- * Created on April 12, 2007, 1:59 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * Corresponds to all properties and attributes whose values can be basic type 'angle' and which are animatable.
- * @author kitfox
- */
-public interface SVGAnimatedDataType<T extends SVGDataType>
-{
- /**
- * The base value of the given attribute before applying any animations.
- */
- public T getBaseVal();
- /**
- * If the given attribute or property is being animated, contains the current animated value of the attribute or property, and both the object itself and its contents are readonly. If the given attribute or property is not currently being animated, contains the same value as 'baseVal'.
- */
- public T getAnimVal();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedEnumeration.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedEnumeration.java
deleted file mode 100755
index 6ececa6..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedEnumeration.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * SVGAnimatedString.java
- *
- * Created on April 12, 2007, 2:20 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * Used for attributes of type DOMString which can be animated.
- * @author kitfox
- */
-public interface SVGAnimatedEnumeration<T extends Enum>
-{
- /**
- * The base value of the given attribute before applying any animations.
- */
- public T getBaseVal();
- /**
- * If the given attribute or property is being animated, contains the current animated value of the attribute or property. If the given attribute or property is not currently being animated, contains the same value as 'baseVal'.
- */
- public T getAnimVal();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedInteger.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedInteger.java
deleted file mode 100755
index 0603ca4..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedInteger.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * SVGAnimatedInteger.java
- *
- * Created on April 12, 2007, 12:48 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * Used for attributes of basic type 'integer' which can be animated.
- * @author kitfox
- */
-public interface SVGAnimatedInteger
-{
- /**
- * The base value of the given attribute before applying any animations.
- */
- public int getBaseVal();
-
- /**
- * If the given attribute or property is being animated, contains the
- * current animated value of the attribute or property. If the given
- * attribute or property is not currently being animated, contains the
- * same value as 'baseVal'.
- */
- public int getAnimVal();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedLength.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedLength.java
deleted file mode 100755
index c43def6..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedLength.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * SVGAnimatedInteger.java
- *
- * Created on April 12, 2007, 12:48 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * Used for attributes of basic type 'length' which can be animated.
- * @author kitfox
- */
-public interface SVGAnimatedLength extends SVGAnimatedDataType<SVGLength>
-{
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedLengthList.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedLengthList.java
deleted file mode 100755
index 63a38e4..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedLengthList.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * SVGAnimatedTransformList.java
- *
- * Created on April 12, 2007, 2:19 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * Used for the various attributes which specify a set of transformations, such as the transform attribute which is available for many of SVG's elements, and which can be animated.
- * @author kitfox
- */
-public interface SVGAnimatedLengthList extends SVGAnimatedDataType<SVGLengthList>
-{
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumber.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumber.java
deleted file mode 100755
index e971e56..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumber.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * SVGAnimatedInteger.java
- *
- * Created on April 12, 2007, 12:48 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * Used for attributes of basic type 'number' which can be animated.
- * @author kitfox
- */
-public interface SVGAnimatedNumber
-{
- /**
- * The base value of the given attribute before applying any animations.
- */
- public float getBaseVal();
-
- /**
- * If the given attribute or property is being animated, contains the
- * current animated value of the attribute or property. If the given
- * attribute or property is not currently being animated, contains the
- * same value as 'baseVal'.
- */
- public float getAnimVal();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumberList.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumberList.java
deleted file mode 100755
index 35cfa28..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumberList.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * SVGAnimatedTransformList.java
- *
- * Created on April 12, 2007, 2:19 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * Used for the various attributes which specify a set of transformations, such as the transform attribute which is available for many of SVG's elements, and which can be animated.
- * @author kitfox
- */
-public interface SVGAnimatedNumberList extends SVGAnimatedDataType<SVGNumberList>
-{
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedRect.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedRect.java
deleted file mode 100755
index 810632f..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedRect.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * SVGAnimatedString.java
- *
- * Created on April 12, 2007, 2:20 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * Used for attributes of type DOMString which can be animated.
- * @author kitfox
- */
-public interface SVGAnimatedRect extends SVGAnimatedDataType<SVGRect>
-{
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedString.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedString.java
deleted file mode 100755
index 1ec000d..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedString.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * SVGAnimatedString.java
- *
- * Created on April 12, 2007, 2:20 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import com.kitfox.salamander.svg.DOMString;
-
-/**
- *
- * Used for attributes of type DOMString which can be animated.
- * @author kitfox
- */
-public interface SVGAnimatedString extends SVGAnimatedDataType<DOMString>
-{
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGCSSRule.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGCSSRule.java
deleted file mode 100755
index 1997b14..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGCSSRule.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * SVGCSSRule.java
- *
- * Created on April 12, 2007, 3:27 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import org.w3c.dom.css.CSSRule;
-
-/**
- *
- * SVG extends interface CSSRule with interface SVGCSSRule by adding an SVGColorProfileRule rule to allow for specification of ICC-based color.
- *
- * It is likely that this extension will become part of a future version of CSS and DOM.
- * @author kitfox
- */
-public interface SVGCSSRule extends CSSRule
-{
- /**
- * The rule is an @color-profile.
- */
- public static final short COLOR_PROFILE_RULE = 7;
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGColor.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGColor.java
deleted file mode 100755
index 13eed11..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGColor.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * SVGColor.java
- *
- * Created on April 12, 2007, 2:02 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import com.kitfox.salamander.svg.DOMString;
-import com.kitfox.salamander.svg.SVGException;
-import org.w3c.dom.css.CSSValue;
-import org.w3c.dom.css.RGBColor;
-
-/**
- *
- * The SVGColor interface corresponds to color value definition for properties 'stop-color', 'flood-color' and 'lighting-color' and is a base class for interface SVGPaint. It incorporates SVG's extended notion of color, which incorporates ICC-based color specifications.
- *
- * Interface SVGColor does not correspond to the <color> basic data type. For the <color> basic data type, the applicable DOM interfaces are defined in [DOM2-CSS]; in particular, see the [DOM2-CSS-RGBCOLOR].
- * @author kitfox
- */
-public interface SVGColor extends SVGDataType, CSSValue
-{
- public static enum Type {
- /**
- * The color type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
- */
- UNKNOWN,
- /**
- * An sRGB color has been specified without an alternative ICC color specification.
- */
- RGBCOLOR,
- /**
- * An sRGB color has been specified along with an alternative ICC color specification.
- */
- RGBCOLOR_ICCCOLOR,
- /**
- * Corresponds to when keyword 'currentColor' has been specified.
- */
- CURRENTCOLOR};
-
- /**
- * The type of the value as specified by one of the constants specified above.
- */
- public Type getColorType();
- /**
- * The color specified in the sRGB color space.
- */
- public RGBColor getRGBColor();
- /**
- * The alternate ICC color specification.
- */
- public SVGICCColor getICCColor();
-
- /**
- * Modifies the color value to be the specified sRGB color without an alternate ICC color specification.
- * @param rgbColor The new color value.
- * @throws com.kitfox.salamander.svg.SVGException SVG_INVALID_VALUE_ERR: Raised if one of the parameters has an invalid value.
- */
- public void setRGBColor(DOMString rgbColor) throws SVGException;
- /**
- * Modifies the color value to be the specified sRGB color with an alternate ICC color specification.
- * @param rgbColor The new color value.
- * @param iccColor The alternate ICC color specification.
- * @throws com.kitfox.salamander.svg.SVGException SVG_INVALID_VALUE_ERR: Raised if one of the parameters has an invalid value.
- */
- public void setRGBColorICCCOlor(DOMString rgbColor, DOMString iccColor) throws SVGException;
- /**
- * Sets the colorType as specified by the parameters. If colorType requires an RGBColor, then rgbColor must be a valid RGBColor object; otherwise, rgbColor must be null. If colorType requires an SVGICCColor, then iccColor must be a valid SVGICCColor object; otherwise, iccColor must be null.
- * @param colorType One of the defined constants for colorType.
- * @param rgbColor The specification of an sRGB color, or null.
- * @param iccColor The specification of an ICC color, or null.
- * @throws com.kitfox.salamander.svg.SVGException SVG_INVALID_VALUE_ERR: Raised if one of the parameters has an invalid value.
- */
- public void setColor(Type colorType, DOMString rgbColor, DOMString iccColor) throws SVGException;
-
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGDataType.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGDataType.java
deleted file mode 100755
index 2cf4f56..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGDataType.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * SVGDataType.java
- *
- * Created on April 12, 2007, 2:37 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * @author kitfox
- */
-public interface SVGDataType
-{
-
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGElement.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGElement.java
deleted file mode 100755
index aa1c962..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGElement.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * SVGElement.java
- *
- * Created on April 12, 2007, 12:45 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * All of the SVG DOM interfaces that correspond directly to elements in the SVG language (e.g., the SVGPathElement interface corresponds directly to the 'path' element in the language) are derivative from base class SVGElement.
- * @author kitfox
- */
-public interface SVGElement
-{
- /**
- * The value of the id attribute on the given element.
- */
- public String getId();
- /**
- * Corresponds to attribute xml:base on the given element.
- */
- public String getXmlbase();
- /**
- * The nearest ancestor 'svg' element. Null if the given element is the outermost 'svg' element.
- */
- public SVGElement getOwnerSVGElement();
- /**
- * The element which established the current viewport. Often, the nearest ancestor 'svg' element. Null if the given element is the outermost 'svg' element.
- */
- public SVGElement getViewportElement();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGExternalResourcesRequired.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGExternalResourcesRequired.java
deleted file mode 100755
index cdfdaa3..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGExternalResourcesRequired.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * SVGExternalResourcesRequired.java
- *
- * Created on April 12, 2007, 3:18 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * Interface SVGExternalResourcesRequired defines an interface which applies to all elements where this element or one of its descendants can reference an external resource.
- * @author kitfox
- */
-public interface SVGExternalResourcesRequired
-{
- /**
- * Corresponds to attribute externalResourcesRequired on the given element. Note that the SVG DOM defines the attribute externalResourcesRequired as being of type SVGAnimatedBoolean, whereas the SVG language definition says that externalResourcesRequired is not animated. Because the SVG language definition states that externalResourcesRequired cannot be animated, the animVal will always be the same as the baseVal.
- */
- public SVGAnimatedBoolean getExternalResourcesRequired();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGFitToViewBox.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGFitToViewBox.java
deleted file mode 100755
index 2f30454..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGFitToViewBox.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * SVGFitToViewBox.java
- *
- * Created on April 12, 2007, 3:19 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import com.kitfox.salamander.svg.coordSystems.SVGAnimatedPreserveAspectRatio;
-
-/**
- *
- * Interface SVGFitToViewBox defines DOM attributes that apply to elements which have XML attributes viewBox and preserveAspectRatio.
- * @author kitfox
- */
-public interface SVGFitToViewBox
-{
- /**
- * Corresponds to attribute viewBox on the given element.
- */
- public SVGAnimatedRect getViewBox();
- /**
- * Corresponds to attribute preserveAspectRatio on the given element.
- */
- public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGICCColor.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGICCColor.java
deleted file mode 100755
index d47f44f..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGICCColor.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * SVGICCColor.java
- *
- * Created on April 12, 2007, 2:10 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * The SVGICCColor interface expresses an ICC-based color specification.
- * @author kitfox
- */
-public interface SVGICCColor
-{
- /**
- * The name of the color profile, which is the first parameter of an ICC color specification.
- */
- public String getColorProfile();
- /**
- * The list of color values that define this ICC color. Each color value is an arbitrary floating point number.
- */
- public SVGNumberList getColors();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGLangSpace.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGLangSpace.java
deleted file mode 100755
index f2326bb..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGLangSpace.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * SVGLangSpace.java
- *
- * Created on April 12, 2007, 3:17 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import com.kitfox.salamander.svg.DOMString;
-
-/**
- *
- * Interface SVGLangSpace defines an interface which applies to all elements which have attributes xml:lang and xml:space.
- * @author kitfox
- */
-public interface SVGLangSpace
-{
- /**
- * Corresponds to attribute xml:lang on the given element.
- */
- public DOMString getXmllang();
- /**
- * Corresponds to attribute xml:space on the given element.
- */
- public DOMString getXmlspace();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGLength.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGLength.java
deleted file mode 100755
index 9e60b46..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGLength.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- * SVGAnimatedInteger.java
- *
- * Created on April 12, 2007, 12:48 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import com.kitfox.salamander.svg.DOMString;
-
-/**
- *
- * The SVGLength interface corresponds to the &lt;length&gt; basic data type.
- * @author kitfox
- */
-public interface SVGLength extends SVGDataType
-{
- public static enum Type {
- /**
- * The unit type is not one of predefined unit types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
- */
- UNKNOWN,
- /**
- * No unit type was provided (i.e., a unitless value was specified), which indicates a value in user units.
- */
- NUMBER,
- /**
- * A percentage value was specified.
- */
- PERCENTAGE,
- /**
- * A value was specified using the "em" units defined in CSS2.
- */
- EMS,
- /**
- * A value was specified using the "ex" units defined in CSS2.
- */
- EXS,
- /**
- * A value was specified using the "px" units defined in CSS2.
- */
- PX,
- /**
- * A value was specified using the "cm" units defined in CSS2.
- */
- CM,
- /**
- * A value was specified using the "mm" units defined in CSS2.
- */
- MM,
- /**
- * A value was specified using the "in" units defined in CSS2.
- */
- IN,
- /**
- * A value was specified using the "pt" units defined in CSS2.
- */
- PT,
- /**
- * A value was specified using the "pc" units defined in CSS2.
- */
- PC
- };
-
- /**
- * The type of the value as specified by one of the constants specified above.
- */
- public Type getUnitType();
-
- /**
- * The value as an floating point value, in user units. Setting this attribute will cause valueInSpecifiedUnits and valueAsString to be updated automatically to reflect this setting.
- */
- public float getValue();
- /**
- * The value as an floating point value, in the units expressed by unitType. Setting this attribute will cause value and valueAsString to be updated automatically to reflect this setting.
- */
- public float getValueInSpecifiedUnits();
-
- /**
- * The value as a string value, in the units expressed by unitType. Setting this attribute will cause value and valueInSpecifiedUnits to be updated automatically to reflect this setting.
- */
- public DOMString getValueAsString();
-
- /**
- * Reset the value as a number with an associated unitType, thereby replacing the values for all of the attributes on the object.
- * @param unitType The unitType for the value (e.g., SVG_LENGTHTYPE_MM).
- * @param valueInSpecifiedUnits The new value.
- */
- public void newValueSpecifiedUnits(Type unitType, float valueInSpecifiedUnits);
- /**
- * Preserve the same underlying stored value, but reset the stored unit identifier to the given unitType. Object attributes unitType, valueAsSpecified and valueAsString might be modified as a result of this method. For example, if the original value were "0.5cm" and the method was invoked to convert to millimeters, then the unitType would be changed to SVG_LENGTHTYPE_MM, valueAsSpecified would be changed to the numeric value 5 and valueAsString would be changed to "5mm".
- * @param unitType The unitType to switch to (e.g., SVG_LENGTHTYPE_MM).
- */
- public void convertToSpecifiedUnits(Type unitType);
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGLengthList.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGLengthList.java
deleted file mode 100755
index 03f5cc5..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGLengthList.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * SVGNumberList.java
- *
- * Created on April 12, 2007, 1:09 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-
-/**
- * This interface defines a list of DOMSVGNumber objects.
- *
- * SVGSVGNumberList has the same attributes and methods as other SVGxxxList interfaces. Implementers may consider using a single base class to implement the various SVGxxxList interfaces.
- * @author kitfox
- */
-public interface SVGLengthList extends SVGList<SVGLength>
-{
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGList.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGList.java
deleted file mode 100755
index 05949ed..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGList.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * SVGLengthList.java
- *
- * Created on April 12, 2007, 1:09 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import com.kitfox.salamander.svg.SVGException;
-import org.w3c.dom.DOMException;
-
-
-/**
- * This interface defines a list of DOMSVGLength objects.
- *
- * SVGSVGLengthList has the same attributes and methods as other SVGxxxList interfaces. Implementers may consider using a single base class to implement the various SVGxxxList interfaces.
- * @author kitfox
- */
-public interface SVGList<T extends SVGDataType> extends SVGDataType
-{
- /**
- * The number of items in the list.
- */
- public int getNumberOfItems();
-
- /**
- * Clears all existing current items from the list, with the result being an empty list.
- * @throws com.kitfox.salamander.svg.DOMException NO_MODIFICATION_ALLOWED_ERR: Raised when the list cannot be modified.
- */
- public void clear() throws DOMException;
- /**
- * Clears all existing current items from the list and re-initializes the list to hold the single item specified by the parameter.
- * @param newItem The item which should become the only member of the list.
- * @return The item being inserted into the list.
- * @throws com.kitfox.salamander.svg.DOMException NO_MODIFICATION_ALLOWED_ERR: Raised when the list cannot be modified.
- * @throws com.kitfox.salamander.svg.SVGException SVG_WRONG_TYPE_ERR: Raised if parameter newItem is the wrong type of object for the given list.
- */
- public T initialize(SVGLength newItem) throws DOMException, SVGException;
- /**
- * Returns the specified item from the list.
- * @param index The index of the item from the list which is to be returned. The first item is number 0.
- * @return The selected item.
- * @throws com.kitfox.salamander.svg.DOMException INDEX_SIZE_ERR: Raised if the index number is negative or greater than or equal to numberOfItems.
- */
- public T getItem(int index) throws DOMException;
- /**
- * Inserts a new item into the list at the specified position. The first item is number 0. If newItem is already in a list, it is removed from its previous list before it is inserted into this list.
- * @param newItem The item which is to be inserted into the list.
- * @param index The index of the item before which the new item is to be inserted. The first item is number 0.
- * If the index is equal to 0, then the new item is inserted at the front of the list. If the index is greater than or equal to numberOfItems, then the new item is appended to the end of the list.
- * @return The inserted item.
- * @throws com.kitfox.salamander.svg.DOMException NO_MODIFICATION_ALLOWED_ERR: Raised when the list cannot be modified.
- * @throws com.kitfox.salamander.svg.SVGException SVG_WRONG_TYPE_ERR: Raised if parameter newItem is the wrong type of object for the given list.
- */
- public T insertItemBefore(SVGLength newItem, int index) throws DOMException, SVGException;
- /**
- * Replaces an existing item in the list with a new item. If newItem is already in a list, it is removed from its previous list before it is inserted into this list.
- * @param newItem The item which is to be inserted into the list.
- * @param index The index of the item which is to be replaced. The first item is number 0.
- * @return The inserted item.
- * @throws com.kitfox.salamander.svg.DOMException NO_MODIFICATION_ALLOWED_ERR: Raised when the list cannot be modified.
- * INDEX_SIZE_ERR: Raised if the index number is negative or greater than or equal to numberOfItems.
- * @throws com.kitfox.salamander.svg.SVGException SVG_WRONG_TYPE_ERR: Raised if parameter newItem is the wrong type of object for the given list.
- */
- public T replaceItem(SVGLength newItem, int index) throws DOMException, SVGException;
- /**
- * Removes an existing item from the list.
- * @param index The index of the item which is to be removed. The first item is number 0.
- * @return The removed item.
- * @throws com.kitfox.salamander.svg.DOMException NO_MODIFICATION_ALLOWED_ERR: Raised when the list cannot be modified.
- * INDEX_SIZE_ERR: Raised if the index number is negative or greater than or equal to numberOfItems.
- */
- public T removeItem(int index) throws DOMException;
- /**
- * Inserts a new item at the end of the list. If newItem is already in a list, it is removed from its previous list before it is inserted into this list.
- * @param newItem The item which is to be inserted into the list. The first item is number 0.
- * @return The inserted item.
- * @throws com.kitfox.salamander.svg.DOMException NO_MODIFICATION_ALLOWED_ERR: Raised when the list cannot be modified.
- * @throws com.kitfox.salamander.svg.SVGException SVG_WRONG_TYPE_ERR: Raised if parameter newItem is the wrong type of object for the given list.
- */
- public T appendItem(SVGLength newItem) throws DOMException, SVGException;
-
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGLocatable.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGLocatable.java
deleted file mode 100755
index 304de04..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGLocatable.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * SVGLocatable.java
- *
- * Created on April 12, 2007, 3:09 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import com.kitfox.salamander.svg.SVGException;
-import com.kitfox.salamander.svg.coordSystems.SVGMatrix;
-
-/**
- *
- * Interface SVGLocatable is for all elements which either have a transform attribute or don't have a transform attribute but whose content can have a bounding box in current user space.
- * @author kitfox
- */
-public interface SVGLocatable
-{
- /**
- * The element which established the current viewport. Often, the nearest ancestor 'svg' element. Null if the current element is the outermost 'svg' element.
- */
- public SVGElement getNearestViewportElement();
- /**
- * The farthest ancestor 'svg' element. Null if the current element is the outermost 'svg' element.
- */
- public SVGElement getFarthestViewportElement();
-
- /**
- * Returns the tight bounding box in current user space (i.e., after application of the transform attribute, if any) on the geometry of all contained graphics elements, exclusive of stroke-width and filter effects).
- * @return An SVGRect object that defines the bounding box.
- */
- public SVGRect getBBox();
- /**
- * Returns the transformation matrix from current user units (i.e., after application of the transform attribute, if any) to the viewport coordinate system for the nearestViewportElement.
- * @return An SVGMatrix object that defines the CTM.
- */
- public SVGMatrix getCTM();
- /**
- * Returns the transformation matrix from current user units (i.e., after application of the transform attribute, if any) to the parent user agent's notice of a "pixel". For display devices, ideally this represents a physical screen pixel. For other devices or environments where physical pixel sizes are not known, then an algorithm similar to the CSS2 definition of a "pixel" can be used instead.
- * @return An SVGMatrix object that defines the given transformation matrix.
- */
- public SVGMatrix getScreenCTM();
- /**
- * Returns the transformation matrix from the user coordinate system on the current element (after application of the transform attribute, if any) to the user coordinate system on parameter element (after application of its transform attribute, if any).
- * @param element The target element.
- * @return An SVGMatrix object that defines the transformation.
- * @throws com.kitfox.salamander.svg.SVGException SVG_MATRIX_NOT_INVERTABLE: Raised if the currently defined transformation matrices make it impossible to compute the given matrix (e.g., because one of the transformations is singular).
- */
- public SVGMatrix getTransformToElement(SVGElement element) throws SVGException;
-
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGNumber.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGNumber.java
deleted file mode 100755
index beea9c2..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGNumber.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * SVGNumber.java
- *
- * Created on April 12, 2007, 2:31 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * Used for attributes of basic type 'number'.
- * @author kitfox
- */
-public interface SVGNumber extends SVGDataType
-{
- /**
- * The value of the given attribute.
- */
- public float getValue();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGNumberList.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGNumberList.java
deleted file mode 100755
index 938b7d2..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGNumberList.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * SVGNumberList.java
- *
- * Created on April 12, 2007, 1:09 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-
-/**
- * This interface defines a list of DOMSVGNumber objects.
- *
- * SVGSVGNumberList has the same attributes and methods as other SVGxxxList interfaces. Implementers may consider using a single base class to implement the various SVGxxxList interfaces.
- * @author kitfox
- */
-public interface SVGNumberList extends SVGList<SVGNumber>
-{
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGRect.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGRect.java
deleted file mode 100755
index aae86c6..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGRect.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * SVGString.java
- *
- * Created on April 12, 2007, 2:47 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- * Rectangles are defined as consisting of a (x,y) coordinate pair identifying a minimum X value, a minimum Y value, and a width and height, which are usually constrained to be non-negative.
- * @author kitfox
- */
-public interface SVGRect extends SVGDataType
-{
- /**
- * Corresponds to attribute x on the given element.
- */
- public float getX();
- /**
- * Corresponds to attribute y on the given element.
- */
- public float getY();
- /**
- * Corresponds to attribute width on the given element.
- */
- public float getWidth();
- /**
- * Corresponds to attribute height on the given element.
- */
- public float getHeight();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGRenderingIntent.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGRenderingIntent.java
deleted file mode 100755
index 9d54fa4..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGRenderingIntent.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * SVGRenderingIntent.java
- *
- * Created on April 12, 2007, 3:29 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * The SVGRenderingIntent interface defines the enumerated list of possible values for 'rendering-intent' attributes or descriptors.
- * @author kitfox
- */
-public interface SVGRenderingIntent
-{
- public static enum Intent
- {
- /**
- * The type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
- */
- UNKNOWN,
- /**
- * Corresponds to a value of auto.
- */
- AUTO,
- /**
- * Corresponds to a value of perceptual.
- */
- PERCEPTUAL,
- /**
- * Corresponds to a value of relative-colorimetric.
- */
- RELATIVE_COLORIMETRIC,
- /**
- * Corresponds to a value of saturation.
- */
- SATURATION,
- /**
- * Corresponds to a value of absolute-colorimetric.
- */
- ABSOLUTE_COLORIMETRIC
- }
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGString.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGString.java
deleted file mode 100755
index 6fcbf69..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGString.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * SVGString.java
- *
- * Created on April 12, 2007, 2:47 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- * Used for attributes of basic type 'string'.
- * @author kitfox
- */
-public interface SVGString extends SVGDataType
-{
- /**
- * The value of the given attribute.
- */
- public String getValue();
-
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGStringList.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGStringList.java
deleted file mode 100755
index 43b8930..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGStringList.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * StringList.java
- *
- * Created on April 12, 2007, 1:09 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import com.kitfox.salamander.svg.DOMString;
-
-/**
- * This interface defines a list of DOMString objects.
- *
- * SVGStringList has the same attributes and methods as other SVGxxxList interfaces. Implementers may consider using a single base class to implement the various SVGxxxList interfaces.
- * @author kitfox
- */
-public interface SVGStringList extends SVGList<DOMString>
-{
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGStylable.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGStylable.java
deleted file mode 100755
index 15b2f4d..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGStylable.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * SVGStylable.java
- *
- * Created on April 12, 2007, 3:00 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import com.kitfox.salamander.svg.DOMString;
-import org.w3c.dom.css.CSSStyleDeclaration;
-import org.w3c.dom.css.CSSValue;
-
-/**
- *
- * @author kitfox
- */
-public interface SVGStylable
-{
- /**
- * Corresponds to attribute class on the given element.
- */
- public SVGAnimatedString getClassName();
- /**
- * Corresponds to attribute style on the given element. If the user agent does not support styling with CSS, then this attribute must always have the value of null.
- */
- public CSSStyleDeclaration getStyle();
- /**
- * Returns the base (i.e., static) value of a given presentation attribute as an object of type CSSValue. The returned object is live; changes to the objects represent immediate changes to the objects to which the CSSValue is attached.
- * @param name Retrieves a "presentation attribute" by name.
- * @return The static/base value of the given presentation attribute as a CSSValue, or NULL if the given attribute does not have a specified value.
- */
- public CSSValue getPresentationAttribute(DOMString name);
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGTests.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGTests.java
deleted file mode 100755
index 1ae0e4d..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGTests.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * SVGTests.java
- *
- * Created on April 12, 2007, 3:15 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import com.kitfox.salamander.svg.DOMString;
-
-/**
- *
- * Interface SVGTests defines an interface which applies to all elements which have attributes requiredFeatures, requiredExtensions and systemLanguage.
- * @author kitfox
- */
-public interface SVGTests
-{
- /**
- * Corresponds to attribute requiredFeatures on the given element.
- */
- public SVGStringList getRequiredFeatures();
- /**
- * Corresponds to attribute requiredExtensions on the given element.
- */
- public SVGStringList getRequiredExtensions();
- /**
- * Corresponds to attribute systemLanguage on the given element.
- */
- public SVGStringList getSystemLanguage();
- /**
- * Returns true if the user agent supports the given extension, specified by a URI.
- * @param extension The name of the extension, expressed as a URI.
- * @return True or false, depending on whether the given extension is supported.
- */
- public boolean hasExtension(DOMString extension);
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGTransformable.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGTransformable.java
deleted file mode 100755
index 95372ff..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGTransformable.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * SVGTransformable.java
- *
- * Created on April 12, 2007, 3:13 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import com.kitfox.salamander.svg.coordSystems.SVGAnimatedTransformList;
-
-/**
- *
- * Interface SVGTransformable contains properties and methods that apply to all elements which have attribute transform.
- * @author kitfox
- */
-public interface SVGTransformable extends SVGLocatable
-{
- /**
- * Corresponds to attribute transform on the given element.
- */
- public SVGAnimatedTransformList getTransform();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGURIReference.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGURIReference.java
deleted file mode 100755
index 8dc95c7..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGURIReference.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * SVGURIReference.java
- *
- * Created on April 12, 2007, 3:26 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * Interface SVGURIReference defines an interface which applies to all elements which have the collection of XLink attributes, such as xlink:href, which define a URI reference.
- * @author kitfox
- */
-public interface SVGURIReference
-{
- /**
- * Corresponds to attribute xlink:href on the given element.
- */
- public SVGAnimatedString getHref();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGUnitTypes.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGUnitTypes.java
deleted file mode 100755
index 7d3680d..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGUnitTypes.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * SVGUnitTypes.java
- *
- * Created on April 12, 2007, 2:58 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- * The SVGUnitTypes interface defines a commonly used set of constants and is a base interface used by SVGGradientElement, SVGPatternElement, SVGClipPathElement, SVGMaskElement, and SVGFilterElement.
- * @author kitfox
- */
-public interface SVGUnitTypes
-{
- public static enum Type
- {
- /**
- * The type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
- */
- UNKNOWN,
- /**
- * Corresponds to value userSpaceOnUse.
- */
- USER_SPACE_ON_USE,
- /**
- * Corresponds to value objectBoundingBox.
- */
- OBJECT_BOUNDING_BOX
- };
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGViewSpec.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGViewSpec.java
deleted file mode 100755
index 5c739e0..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGViewSpec.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * SVGViewSpec.java
- *
- * Created on April 12, 2007, 3:24 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-import com.kitfox.salamander.svg.DOMString;
-import com.kitfox.salamander.svg.coordSystems.SVGTransformList;
-
-/**
- *
- * The interface corresponds to an SVG View Specification.
- * @author kitfox
- */
-public interface SVGViewSpec extends SVGZoomAndPan, SVGFitToViewBox
-{
- /**
- * Corresponds to the transform setting on the SVG View Specification.
- */
- public SVGTransformList getTransform();
- /**
- * Corresponds to the viewTarget setting on the SVG View Specification.
- */
- public SVGElement getViewTarget();
- /**
- * Corresponds to the viewBox setting on the SVG View Specification.
- */
- public DOMString getViewBoxString();
- /**
- * Corresponds to the preserveAspectRatio setting on the SVG View Specification.
- */
- public DOMString getPreserveAspectRatioString();
- /**
- * Corresponds to the transform setting on the SVG View Specification.
- */
- public DOMString getTransformString();
- /**
- * Corresponds to the viewTarget setting on the SVG View Specification.
- */
- public DOMString getTargetString();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGZoomAndPan.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGZoomAndPan.java
deleted file mode 100755
index 6da7bf0..0000000
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGZoomAndPan.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * SVGZoomAndPan.java
- *
- * Created on April 12, 2007, 3:21 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.basic;
-
-/**
- *
- * The SVGZoomAndPan interface defines attribute "zoomAndPan" and associated constants.
- * @author kitfox
- */
-public interface SVGZoomAndPan
-{
- public static enum Type {
- /**
- * The enumeration was set to a value that is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
- */
- UNKNOWN,
- /**
- * Corresponds to value disable.
- */
- DISABLE,
- /**
- * Corresponds to value magnify.
- */
- MAGNIFY};
-
- /**
- * Corresponds to attribute zoomAndPan on the given element. The value must be one of the zoom and pan constants specified above.
- */
- public Type getZoomAndPan();
-}