SVGException
without detail message.
- */
- public SVGException()
- {
- }
-
-
- /**
- * Constructs an instance of SVGException
with the specified detail message.
- * @param msg the detail message.
- */
- public SVGException(String msg)
- {
- super(msg);
- }
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/SVGStyleElement.java b/src/main/java/com/kitfox/salamander/svg/SVGStyleElement.java
deleted file mode 100644
index ed4141e..0000000
--- a/src/main/java/com/kitfox/salamander/svg/SVGStyleElement.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * SVGStyleElement.java
- *
- * Created on April 12, 2007, 7:17 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg;
-
-/**
- *
- * The SVGStyleElement interface corresponds to the 'style' element.
- * @author kitfox
- */
-public interface SVGStyleElement
-{
- /**
- * Corresponds to attribute xml:space on the given element.
- */
- public DOMString getXmlspace();
- /**
- * Corresponds to attribute type on the given 'style' element.
- */
- public DOMString getType();
- /**
- * Corresponds to attribute media on the given 'style' element.
- */
- public DOMString getMedia();
- /**
- * Corresponds to attribute title on the given 'style' element.
- */
- public DOMString getTitle();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/animation/ElementTimeControl.java b/src/main/java/com/kitfox/salamander/svg/animation/ElementTimeControl.java
deleted file mode 100644
index 1c55998..0000000
--- a/src/main/java/com/kitfox/salamander/svg/animation/ElementTimeControl.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * ElementTimeControl.java
- *
- * Created on April 13, 2007, 11:56 AM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.animation;
-
-/**
- *
- * @author kitfox
- */
-public interface ElementTimeControl
-{
-
-}
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 Mark McKay
- */
-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 <angle> 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
- * [a c e]
- * [b d f]
- *
- *
- * which, when expanded into a 3x3 matrix for the purposes of matrix arithmetic, become:
- *
- *
- * [a c e]
- * [b d f]
- * [0 0 1]
- *
- * @author kitfox
- */
-public interface SVGMatrix extends SVGDataType
-{
- /**
- * The a component of the matrix.
- */
- public float getA();
- /**
- * The b component of the matrix.
- */
- public float getB();
- /**
- * The c component of the matrix.
- */
- public float getC();
- /**
- * The d component of the matrix.
- */
- public float getD();
- /**
- * The e component of the matrix.
- */
- public float getE();
- /**
- * The f component of the matrix.
- */
- public float getF();
-
- /**
- * Performs matrix multiplication. This matrix is post-multiplied by another matrix, returning the resulting new matrix.
- * @param secondMatrix The matrix which is post-multiplied to this matrix.
- * @return The resulting matrix.
- */
- public SVGMatrix multiply(SVGMatrix secondMatrix);
- /**
- * Returns the inverse matrix.
- * @return The inverse matrix.
- * @throws com.kitfox.salamander.svg.SVGException SVG_MATRIX_NOT_INVERTABLE: Raised if this matrix is not invertable.
- */
- public SVGMatrix inverse() throws SVGException;
- /**
- * Post-multiplies a translation transformation on the current matrix and returns the resulting matrix.
- * @param x The distance to translate along the x-axis.
- * @param y The distance to translate along the y-axis.
- * @return The resulting matrix.
- */
- public SVGMatrix translate(float x, float y);
- /**
- * Post-multiplies a uniform scale transformation on the current matrix and returns the resulting matrix.
- * @param scaleFactor Scale factor in both X and Y.
- * @return The resulting matrix.
- */
- public SVGMatrix scale(float scaleFactor);
- /**
- * Post-multiplies a non-uniform scale transformation on the current matrix and returns the resulting matrix.
- * @param scaleFactorX Scale factor in X.
- * @param scaleFactorY Scale factor in Y.
- * @return The resulting matrix.
- */
- public SVGMatrix scaleNonUniform(float scaleFactorX, float scaleFactorY);
- /**
- * Post-multiplies a rotation transformation on the current matrix and returns the resulting matrix.
- * @param angle Rotation angle.
- * @return The resulting matrix.
- */
- public SVGMatrix rotate(float angle);
- /**
- * Post-multiplies a rotation transformation on the current matrix and returns the resulting matrix. The rotation angle is determined by taking (+/-) atan(y/x). The direction of the vector (x,y) determines whether the positive or negative angle value is used.
- * @param x The X coordinate of the vector (x,y). Must not be zero.
- * @param y The Y coordinate of the vector (x,y). Must not be zero.
- * @return The resulting matrix.
- * @throws com.kitfox.salamander.svg.SVGException SVG_INVALID_VALUE_ERR: Raised if one of the parameters has an invalid value.
- */
- public SVGMatrix rotateFromVector(float x, float y) throws SVGException;
- /**
- * Post-multiplies the transformation [-1 0 0 1 0 0] and returns the resulting matrix.
- * @return The resulting matrix.
- */
- public SVGMatrix flipX();
- /**
- * Post-multiplies the transformation [1 0 0 -1 0 0] and returns the resulting matrix.
- * @return The resulting matrix.
- */
- public SVGMatrix flipY();
- /**
- * Post-multiplies a skewX transformation on the current matrix and returns the resulting matrix.
- * @param angle Skew angle.
- * @return The resulting matrix.
- */
- public SVGMatrix skewX(float angle);
- /**
- * Post-multiplies a skewY transformation on the current matrix and returns the resulting matrix.
- * @param angle Skew angle.
- * @return The resulting matrix.
- */
- public SVGMatrix skewY(float angle);
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/coordSystems/SVGPoint.java b/src/main/java/com/kitfox/salamander/svg/coordSystems/SVGPoint.java
deleted file mode 100755
index 19e5fb7..0000000
--- a/src/main/java/com/kitfox/salamander/svg/coordSystems/SVGPoint.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * SVGPoint.java
- *
- * Created on April 12, 2007, 5:53 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.coordSystems;
-
-import com.kitfox.salamander.svg.basic.SVGDataType;
-
-/**
- *
- * Many of the SVG DOM interfaces refer to objects of class SVGPoint. An SVGPoint is an (x,y) coordinate pair. When used in matrix operations, an SVGPoint is treated as a vector of the form:
- *
- *
- * [x]
- * [y]
- * [1]
- *
- * @author kitfox
- */
-public interface SVGPoint extends SVGDataType
-{
- /**
- * The x coordinate.
- */
- public float getX();
- /**
- * The y coordinate.
- */
- public float getY();
-
- /**
- * Applies a 2x3 matrix transformation on this SVGPoint object and returns a new, transformed SVGPoint object:
- *
- * newpoint = matrix * thispoint
- * @param matrix The matrix which is to be applied to this SVGPoint object.
- * @return A new SVGPoint object.
- */
- public SVGPoint matrixTransform(SVGMatrix matrix);
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/coordSystems/SVGPointList.java b/src/main/java/com/kitfox/salamander/svg/coordSystems/SVGPointList.java
deleted file mode 100755
index 0a8e298..0000000
--- a/src/main/java/com/kitfox/salamander/svg/coordSystems/SVGPointList.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * SVGTransformList.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.coordSystems;
-
-import com.kitfox.salamander.svg.basic.SVGList;
-
-
-/**
- * This interface defines a list of SVGTransform objects.
- * - *The SVGTransformList and SVGTransform interfaces correspond to the various attributes which specify a set of transformations, such as the transform attribute which is available for many of SVG's elements.
- * - *SVGTransformList 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 SVGPointList extends SVGListThis interface defines a list of SVGTransform objects.
- * - *The SVGTransformList and SVGTransform interfaces correspond to the various attributes which specify a set of transformations, such as the transform attribute which is available for many of SVG's elements.
- * - *SVGTransformList 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 SVGTransformList extends SVGList
- * SVGElementInstance #1 (parentNode=null, firstChild=#2, correspondingElement is the 'g')
- * SVGElementInstance #2 (parentNode=#1, firstChild=#3, correspondingElement is the other 'use')
- * SVGElementInstance #3 (parentNode=#2, firstChild=null, corresponding Element is the 'rect')
- *
- * @author kitfox
- */
-public interface SVGElementInstance extends EventTarget
-{
- /**
- * The corresponding element to which this object is an instance. For example, if a 'use' element references a 'rect' element, then an SVGElementInstance is created, with its correspondingElement being the SVGElementInstance object for the 'rect' element.
- */
- public SVGElement getCorrespondingElement();
- /**
- * The corresponding 'use' element to which this SVGElementInstance object belongs. When 'use' elements are nested (e.g., a 'use' references another 'use' which references a graphics element such as a 'rect'), then the correspondingUseElement is the outermost 'use' (i.e., the one which indirectly references the 'rect', not the one with the direct reference).
- */
- public SVGUseElement getCorrespondingUseElement();
- /**
- * The parent of this SVGElementInstance within the instance tree. All SVGElementInstance objects have a parent except the SVGElementInstance which corresponds to the element which was directly referenced by the 'use' element, in which case parentNode is null.
- */
- public SVGElementInstance getParentNode();
- /**
- * An SVGElementInstanceList that contains all children of this SVGElementInstance within the instance tree. If there are no children, this is an SVGElementInstanceList containing no entries (i.e., an empty list).
- */
- public SVGElementInstanceList getChildNodes();
- /**
- * The first child of this SVGElementInstance within the instance tree. If there is no such SVGElementInstance, this returns null.
- */
- public SVGElementInstance getFirstChild();
- /**
- * The last child of this SVGElementInstance within the instance tree. If there is no such SVGElementInstance, this returns null.
- */
- public SVGElementInstance getLastChild();
- /**
- * The SVGElementInstance immediately preceding this SVGElementInstance. If there is no such SVGElementInstance, this returns null.
- */
- public SVGElementInstance getPreviousSibling();
- /**
- * The SVGElementInstance immediately following this SVGElementInstance. If there is no such SVGElementInstance, this returns null.
- */
- public SVGElementInstance getNextSibling();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGElementInstanceList.java b/src/main/java/com/kitfox/salamander/svg/docStruct/SVGElementInstanceList.java
deleted file mode 100755
index 1d9a017..0000000
--- a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGElementInstanceList.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * SVGElementInstanceList.java
- *
- * Created on April 12, 2007, 6:28 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.docStruct;
-
-/**
- *
- * The SVGElementInstanceList interface provides the abstraction of an ordered collection of SVGElementInstance objects, without defining or constraining how this collection is implemented.
- * @author kitfox
- */
-public interface SVGElementInstanceList
-{
- /**
- * The number of SVGElementInstance objects in the list. The range of valid child indices is 0 to length-1 inclusive.
- */
- public int getLength();
- /**
- * Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.
- * @param index Index into the collection.
- * @return The SVGElementInstance object at the indexth position in the SVGElementInstanceList, or null if that is not a valid index.
- */
- public SVGElementInstance item(int index);
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGGElement.java b/src/main/java/com/kitfox/salamander/svg/docStruct/SVGGElement.java
deleted file mode 100755
index acb646c..0000000
--- a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGGElement.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * SVGGElement.java
- *
- * Created on April 12, 2007, 6:14 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.docStruct;
-
-import com.kitfox.salamander.svg.basic.SVGElement;
-import com.kitfox.salamander.svg.basic.SVGExternalResourcesRequired;
-import com.kitfox.salamander.svg.basic.SVGLangSpace;
-import com.kitfox.salamander.svg.basic.SVGStylable;
-import com.kitfox.salamander.svg.basic.SVGTests;
-import com.kitfox.salamander.svg.basic.SVGTransformable;
-import org.w3c.dom.events.EventTarget;
-
-/**
- * The SVGGElement interface corresponds to the 'g' element.
- *
- * @author kitfox
- */
-public interface SVGGElement extends SVGElement, SVGTests, SVGLangSpace,
- SVGExternalResourcesRequired, SVGStylable, SVGTransformable,
- EventTarget
-{
-
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGImageElement.java b/src/main/java/com/kitfox/salamander/svg/docStruct/SVGImageElement.java
deleted file mode 100755
index 66af6b4..0000000
--- a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGImageElement.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * SVGImageElement.java
- *
- * Created on April 12, 2007, 6:30 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.docStruct;
-
-import com.kitfox.salamander.svg.basic.SVGAnimatedLength;
-import com.kitfox.salamander.svg.basic.SVGElement;
-import com.kitfox.salamander.svg.basic.SVGExternalResourcesRequired;
-import com.kitfox.salamander.svg.basic.SVGLangSpace;
-import com.kitfox.salamander.svg.basic.SVGStylable;
-import com.kitfox.salamander.svg.basic.SVGTests;
-import com.kitfox.salamander.svg.basic.SVGTransformable;
-import com.kitfox.salamander.svg.basic.SVGURIReference;
-import com.kitfox.salamander.svg.coordSystems.SVGAnimatedPreserveAspectRatio;
-import org.w3c.dom.events.EventTarget;
-
-/**
- * The SVGImageElement interface corresponds to the 'image' element.
- *
- * @author kitfox
- */
-public interface SVGImageElement extends SVGElement, SVGURIReference, SVGTests,
- SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable,
- EventTarget
-{
- /**
- * Corresponds to attribute x on the given 'image' element.
- */
- public SVGAnimatedLength getX();
- /**
- * Corresponds to attribute y on the given 'image' element.
- */
- public SVGAnimatedLength getY();
- /**
- * Corresponds to attribute width on the given 'image' element.
- */
- public SVGAnimatedLength getWidth();
- /**
- * Corresponds to attribute height on the given 'image' element.
- */
- public SVGAnimatedLength getHeight();
- /**
- * Corresponds to attribute preserveAspectRatio on the given element.
- */
- public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio();
-}
diff --git a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGSVGElement.java b/src/main/java/com/kitfox/salamander/svg/docStruct/SVGSVGElement.java
deleted file mode 100755
index 8d8e538..0000000
--- a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGSVGElement.java
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
- * SVGSVGElement.java
- *
- * Created on April 12, 2007, 5:38 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package com.kitfox.salamander.svg.docStruct;
-
-import com.kitfox.salamander.svg.DOMString;
-import com.kitfox.salamander.svg.basic.SVGAngle;
-import com.kitfox.salamander.svg.basic.SVGAnimatedLength;
-import com.kitfox.salamander.svg.basic.SVGElement;
-import com.kitfox.salamander.svg.basic.SVGExternalResourcesRequired;
-import com.kitfox.salamander.svg.basic.SVGFitToViewBox;
-import com.kitfox.salamander.svg.basic.SVGLangSpace;
-import com.kitfox.salamander.svg.basic.SVGLength;
-import com.kitfox.salamander.svg.basic.SVGLocatable;
-import com.kitfox.salamander.svg.basic.SVGNumber;
-import com.kitfox.salamander.svg.basic.SVGRect;
-import com.kitfox.salamander.svg.basic.SVGStylable;
-import com.kitfox.salamander.svg.basic.SVGTests;
-import com.kitfox.salamander.svg.basic.SVGViewSpec;
-import com.kitfox.salamander.svg.basic.SVGZoomAndPan;
-import com.kitfox.salamander.svg.coordSystems.SVGMatrix;
-import com.kitfox.salamander.svg.coordSystems.SVGPoint;
-import com.kitfox.salamander.svg.coordSystems.SVGTransform;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Element;
-import org.w3c.dom.NodeList;
-import org.w3c.dom.css.DocumentCSS;
-import org.w3c.dom.css.ViewCSS;
-import org.w3c.dom.events.DocumentEvent;
-import org.w3c.dom.events.EventTarget;
-
-/**
- * A key interface definition is the SVGSVGElement interface, which is the interface that corresponds to the 'svg' element. This interface contains various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices.
- *
- * SVGSVGElement extends ViewCSS and DocumentCSS to provide access to the computed values of properties and the override style sheet as described in DOM2.
- *
- * {@link http://www.w3.org/TR/SVG/struct.html#NewDocument}
- * {@link http://www.w3.org/TR/SVG/struct.html#InterfaceSVGSVGElement}
- * @author kitfox
- */
-public interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace,
- SVGExternalResourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox,
- SVGZoomAndPan, EventTarget, DocumentEvent, ViewCSS, DocumentCSS
-{
- /**
- * Corresponds to attribute x on the given 'svg' element.
- */
- public SVGAnimatedLength getX();
- /**
- * Corresponds to attribute y on the given 'svg' element.
- */
- public SVGAnimatedLength getY();
- /**
- * Corresponds to attribute width on the given 'svg' element.
- */
- public SVGAnimatedLength getWidth();
- /**
- * Corresponds to attribute height on the given 'svg' element.
- */
- public SVGAnimatedLength getHeight();
- /**
- * Corresponds to attribute contentScriptType on the given 'svg' element.
- */
- public DOMString getContentScriptType();
- /**
- * Corresponds to attribute contentStyleType on the given 'svg' element.
- */
- public DOMString getContentStyleType();
- /**
- *
- *
- * The position and size of the viewport (implicit or explicit) that corresponds to this 'svg' element. When the user agent is actually rendering the content, then the position and size values represent the actual values when rendering. The position and size values are unitless values in the coordinate system of the parent element. If no parent element exists (i.e., 'svg' element represents the root of the document tree), if this SVG document is embedded as part of another document (e.g., via the HTML 'object' element), then the position and size are unitless values in the coordinate system of the parent document. (If the parent uses CSS or XSL layout, then unitless values represent pixel units for the current CSS or XSL viewport, as described in the CSS2 specification.) If the parent element does not have a coordinate system, then the user agent should provide reasonable default values for this attribute.
- *
- * The object itself and its contents are both readonly.
- */
- public SVGRect getViewport();
- /**
- * Size of a pixel units (as defined by CSS2) along the x-axis of the viewport, which represents a unit somewhere in the range of 70dpi to 120dpi, and, on systems that support this, might actually match the characteristics of the target medium. On systems where it is impossible to know the size of a pixel, a suitable default pixel size is provided.
- */
- public float getPixelUnitToMillimeterX();
- /**
- * Corresponding size of a pixel unit along the y-axis of the viewport.
- */
- public float getPixelUnitToMillimeterY();
- /**
- * User interface (UI) events in DOM Level 2 indicate the screen positions at which the given UI event occurred. When the user agent actually knows the physical size of a "screen unit", this attribute will express that information; otherwise, user agents will provide a suitable default value such as .28mm.
- */
- public float getScreenPixelToMillimeterX();
- /**
- * Corresponding size of a screen pixel along the y-axis of the viewport.
- */
- public float getScreenPixelToMillimeterY();
- /**
- * The initial view (i.e., before magnification and panning) of the current innermost SVG document fragment can be either the "standard" view (i.e., based on attributes on the 'svg' element such as fitBoxToViewport) or to a "custom" view (i.e., a hyperlink into a particular 'view' or other element - see Linking into SVG content: URI fragments and SVG views). If the initial view is the "standard" view, then this attribute is false. If the initial view is a "custom" view, then this attribute is true.
- */
- public boolean getUseCurrentView();
- /**
- * The definition of the initial view (i.e., before magnification and panning) of the current innermost SVG document fragment. The meaning depends on the situation: - * - * * If the initial view was a "standard" view, then: - * o the values for viewBox, preserveAspectRatio and zoomAndPan within currentView will match the values for the corresponding DOM attributes that are on SVGSVGElement directly - * o the values for transform and viewTarget within currentView will be null - * * If the initial view was a link into a 'view' element, then: - * o the values for viewBox, preserveAspectRatio and zoomAndPan within currentView will correspond to the corresponding attributes for the given 'view' element - * o the values for transform and viewTarget within currentView will be null - * * If the initial view was a link into another element (i.e., other than a 'view'), then: - * o the values for viewBox, preserveAspectRatio and zoomAndPan within currentView will match the values for the corresponding DOM attributes that are on SVGSVGElement directly for the closest ancestor 'svg' element - * o the values for transform within currentView will be null - * o the viewTarget within currentView will represent the target of the link - * * If the initial view was a link into the SVG document fragment using an SVG view specification fragment identifier (i.e., #svgView(...)), then: - * o the values for viewBox, preserveAspectRatio, zoomAndPan, transform and viewTarget within currentView will correspond to the values from the SVG view specification fragment identifier - * - * The object itself and its contents are both readonly.- */ - public SVGViewSpec getCurrentView(); - /** - * This attribute indicates the current scale factor relative to the initial view to take into account user magnification and panning operations, as described under Magnification and panning. DOM attributes currentScale and currentTranslate are equivalent to the 2x3 matrix [a b c d e f] = [currentScale 0 0 currentScale currentTranslate.x currentTranslate.y]. If "magnification" is enabled (i.e., zoomAndPan="magnify"), then the effect is as if an extra transformation were placed at the outermost level on the SVG document fragment (i.e., outside the outermost 'svg' element). - */ - public float getCurrentScale(); - /** - * The corresponding translation factor that takes into account user "magnification". - */ - public SVGPoint getCurrentTranslate(); - /** - * Takes a time-out value which indicates that redraw shall not occur until: (a) the corresponding unsuspendRedraw(suspend_handle_id) call has been made, (b) an unsuspendRedrawAll() call has been made, or (c) its timer has timed out. In environments that do not support interactivity (e.g., print media), then redraw shall not be suspended. suspend_handle_id = suspendRedraw(max_wait_milliseconds) and unsuspendRedraw(suspend_handle_id) must be packaged as balanced pairs. When you want to suspend redraw actions as a collection of SVG DOM changes occur, then precede the changes to the SVG DOM with a method call similar to suspend_handle_id = suspendRedraw(max_wait_milliseconds) and follow the changes with a method call similar to unsuspendRedraw(suspend_handle_id). Note that multiple suspendRedraw calls can be used at once and that each such method call is treated independently of the other suspendRedraw method calls. - * @param max_wait_milliseconds The amount of time in milliseconds to hold off before redrawing the device. Values greater than 60 seconds will be truncated down to 60 seconds. - * @return A number which acts as a unique identifier for the given suspendRedraw() call. This value must be passed as the parameter to the corresponding unsuspendRedraw() method call. - */ - public long suspendRedraw(long max_wait_milliseconds); - /** - * Cancels a specified suspendRedraw() by providing a unique suspend_handle_id. - * @param suspend_handle_id A number which acts as a unique identifier for the desired suspendRedraw() call. The number supplied must be a value returned from a previous call to suspendRedraw() - * @throws org.w3c.dom.DOMException This method will raise a DOMException with value NOT_FOUND_ERR if an invalid value (i.e., no such suspend_handle_id is active) for suspend_handle_id is provided. - */ - public void unsuspendRedraw(long suspend_handle_id) throws DOMException; - /** - * Cancels all currently active suspendRedraw() method calls. This method is most useful at the very end of a set of SVG DOM calls to ensure that all pending suspendRedraw() method calls have been cancelled. - */ - public void unsuspendRedrawAll(); - /** - * In rendering environments supporting interactivity, forces the user agent to immediately redraw all regions of the viewport that require updating. - */ - public void forceRedraw(); - /** - * Suspends (i.e., pauses) all currently running animations that are defined within the SVG document fragment corresponding to this 'svg' element, causing the animation clock corresponding to this document fragment to stand still until it is unpaused. - */ - public void pauseAnimations(); - /** - * Unsuspends (i.e., unpauses) currently running animations that are defined within the SVG document fragment, causing the animation clock to continue from the time at which it was suspended. - */ - public void unpauseAnimations(); - /** - * Returns true if this SVG document fragment is in a paused state. - * @return Boolean indicating whether this SVG document fragment is in a paused state. - */ - public boolean animationsPaused(); - /** - * Returns the current time in seconds relative to the start time for the current SVG document fragment. - * @return The current time in seconds. - */ - public float getCurrentTime(); - /** - * Adjusts the clock for this SVG document fragment, establishing a new current time. - * @param seconds The new current time in seconds relative to the start time for the current SVG document fragment. - */ - public void setCurrentTime(float seconds); - /** - * Returns the list of graphics elements whose rendered content intersects the supplied rectangle, honoring the 'pointer-events' property value on each candidate graphics element. - * @param rect The test rectangle. The values are in the initial coordinate system for the current 'svg' element. - * @param referenceElement If not null, then only return elements whose drawing order has them below the given reference element. - * @return A list of Elements whose content intersects the supplied rectangle. - */ - public NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement); - /** - * Returns the list of graphics elements whose rendered content is entirely contained within the supplied rectangle, honoring the 'pointer-events' property value on each candidate graphics element. - * @param rect The test rectangle. The values are in the initial coordinate system for the current 'svg' element. - * @param referenceElement If not null, then only return elements whose drawing order has them below the given reference element. - * @return A list of Elements whose content is enclosed by the supplied rectangle. - */ - public NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement); - /** - * Returns true if the rendered content of the given element intersects the supplied rectangle, honoring the 'pointer-events' property value on each candidate graphics element. - * @param element The element on which to perform the given test. - * @param rect The test rectangle. The values are in the initial coordinate system for the current 'svg' element. - * @return True or false, depending on whether the given element intersects the supplied rectangle. - */ - public boolean checkIntersection(SVGElement element, SVGRect rect); - /** - * Returns true if the rendered content of the given element is entirely contained within the supplied rectangle, honoring the 'pointer-events' property value on each candidate graphics element. - * @param element The element on which to perform the given test. - * @param rect The test rectangle. The values are in the initial coordinate system for the current 'svg' element. - * @return True or false, depending on whether the given element is enclosed by the supplied rectangle. - */ - public boolean checkEnclosure(SVGElement element, SVGRect rect); - /** - * Unselects any selected objects, including any selections of text strings and type-in bars. - */ - public void deselectAll(); - /** - * Creates an SVGNumber object outside of any document trees. The object is initialized to a value of zero. - * @return An SVGNumber object. - */ - public SVGNumber createSVGNumber(); - /** - * Creates an SVGLength object outside of any document trees. The object is initialized to the value of 0 user units. - * @return An SVGLength object. - */ - public SVGLength createSVGLength(); - /** - * Creates an SVGAngle object outside of any document trees. The object is initialized to the value 0 degrees (unitless). - * @return An SVGAngle object. - */ - public SVGAngle createSVGAngle(); - /** - * Creates an SVGPoint object outside of any document trees. The object is initialized to the point (0,0) in the user coordinate system. - * @return An SVGPoint object. - */ - public SVGPoint createSVGPoint(); - /** - * Creates an SVGMatrix object outside of any document trees. The object is initialized to the identity matrix. - * @return An SVGMatrix object. - */ - public SVGMatrix createSVGMatrix(); - /** - * Creates an SVGRect object outside of any document trees. The object is initialized such that all values are set to 0 user units. - * @return An SVGRect object. - */ - public SVGRect createSVGRect(); - /** - * Creates an SVGTransform object outside of any document trees. The object is initialized to an identity matrix transform (SVG_TRANSFORM_MATRIX). - * @return An SVGTransform object. - */ - public SVGTransform createSVGTransform(); - /** - * Creates an SVGTransform object outside of any document trees. The object is initialized to the given matrix transform (i.e., SVG_TRANSFORM_MATRIX). - * @param matrix The transform matrix. - * @return An SVGTransform object. - */ - public SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix); - /** - * Searches this SVG document fragment (i.e., the search is restricted to a subset of the document tree) for an Element whose id is given by elementId. If an Element is found, that Element is returned. If no such element exists, returns null. Behavior is not defined if more than one element has this id. - * @param elementId The unique id value for an element. - * @return The matching element. - */ - public Element getElementById(DOMString elementId); -} diff --git a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGSwitchElement.java b/src/main/java/com/kitfox/salamander/svg/docStruct/SVGSwitchElement.java deleted file mode 100755 index 2eeaf91..0000000 --- a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGSwitchElement.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * SVGGElement.java - * - * Created on April 12, 2007, 6:14 PM - * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. - */ - -package com.kitfox.salamander.svg.docStruct; - -import com.kitfox.salamander.svg.basic.SVGElement; -import com.kitfox.salamander.svg.basic.SVGExternalResourcesRequired; -import com.kitfox.salamander.svg.basic.SVGLangSpace; -import com.kitfox.salamander.svg.basic.SVGStylable; -import com.kitfox.salamander.svg.basic.SVGTests; -import com.kitfox.salamander.svg.basic.SVGTransformable; -import org.w3c.dom.events.EventTarget; - -/** - * The SVGSwitchElement interface corresponds to the 'switch' element. - * - * @author kitfox - */ -public interface SVGSwitchElement extends SVGElement, SVGTests, SVGLangSpace, - SVGExternalResourcesRequired, SVGStylable, SVGTransformable, - EventTarget -{ - -} diff --git a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGSymbolElement.java b/src/main/java/com/kitfox/salamander/svg/docStruct/SVGSymbolElement.java deleted file mode 100755 index f2b9f52..0000000 --- a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGSymbolElement.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * SVGGElement.java - * - * Created on April 12, 2007, 6:14 PM - * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. - */ - -package com.kitfox.salamander.svg.docStruct; - -import com.kitfox.salamander.svg.basic.SVGElement; -import com.kitfox.salamander.svg.basic.SVGExternalResourcesRequired; -import com.kitfox.salamander.svg.basic.SVGFitToViewBox; -import com.kitfox.salamander.svg.basic.SVGLangSpace; -import com.kitfox.salamander.svg.basic.SVGStylable; -import org.w3c.dom.events.EventTarget; - -/** - * The SVGSymbolElement interface corresponds to the 'symbol' element. - * - * @author kitfox - */ -public interface SVGSymbolElement extends SVGElement, SVGLangSpace, - SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox, - EventTarget -{ - -} diff --git a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGTitleElement.java b/src/main/java/com/kitfox/salamander/svg/docStruct/SVGTitleElement.java deleted file mode 100755 index df43300..0000000 --- a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGTitleElement.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * SVGGElement.java - * - * Created on April 12, 2007, 6:14 PM - * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. - */ - -package com.kitfox.salamander.svg.docStruct; - -import com.kitfox.salamander.svg.basic.SVGElement; -import com.kitfox.salamander.svg.basic.SVGLangSpace; -import com.kitfox.salamander.svg.basic.SVGStylable; - -/** - * The SVGTitleElement interface corresponds to the 'title' element. - * - * @author kitfox - */ -public interface SVGTitleElement extends SVGElement, SVGLangSpace, SVGStylable -{ - -} diff --git a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGUseElement.java b/src/main/java/com/kitfox/salamander/svg/docStruct/SVGUseElement.java deleted file mode 100755 index 39dda39..0000000 --- a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGUseElement.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * SVGGElement.java - * - * Created on April 12, 2007, 6:14 PM - * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. - */ - -package com.kitfox.salamander.svg.docStruct; - -import com.kitfox.salamander.svg.basic.SVGAnimatedLength; -import com.kitfox.salamander.svg.basic.SVGElement; -import com.kitfox.salamander.svg.basic.SVGExternalResourcesRequired; -import com.kitfox.salamander.svg.basic.SVGLangSpace; -import com.kitfox.salamander.svg.basic.SVGStylable; -import com.kitfox.salamander.svg.basic.SVGTests; -import com.kitfox.salamander.svg.basic.SVGTransformable; -import com.kitfox.salamander.svg.basic.SVGURIReference; -import org.w3c.dom.events.EventTarget; - -/** - * The SVGUseElement interface corresponds to the 'use' element. - * @author kitfox - */ -public interface SVGUseElement extends SVGElement, SVGURIReference, - SVGTests, SVGLangSpace, SVGExternalResourcesRequired, - SVGStylable, SVGTransformable, EventTarget -{ - /** - * Corresponds to attribute x on the given 'use' element. - */ - public SVGAnimatedLength getX(); - /** - * - * Corresponds to attribute y on the given 'use' element. - */ - public SVGAnimatedLength getY(); - /** - * Corresponds to attribute width on the given 'use' element. - */ - public SVGAnimatedLength getWidth(); - /** - * Corresponds to attribute height on the given 'use' element. - */ - public SVGAnimatedLength getHeight(); - /** - * The root of the "instance tree". See description of SVGElementInstance for a discussion on the instance tree. - */ - public SVGElementInstance getInstanceRoot(); - /** - * If the 'href' attribute is being animated, contains the current animated root of the "instance tree". If the 'href' attribute is not currently being animated, contains the same value as 'instanceRoot'. The root of the "instance tree". See description of SVGElementInstance for a discussion on the instance tree. - */ - public SVGElementInstance getAnimatedInstanceRoot(); -} diff --git a/src/main/java/com/kitfox/salamander/svg/fills/SVGGradientElement.java b/src/main/java/com/kitfox/salamander/svg/fills/SVGGradientElement.java deleted file mode 100644 index 98690b0..0000000 --- a/src/main/java/com/kitfox/salamander/svg/fills/SVGGradientElement.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * SVGGradientElement.java - * - * Created on April 13, 2007, 10:12 AM - * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. - */ - -package com.kitfox.salamander.svg.fills; - -import com.kitfox.salamander.svg.basic.SVGAnimatedEnumeration; -import com.kitfox.salamander.svg.basic.SVGElement; -import com.kitfox.salamander.svg.basic.SVGExternalResourcesRequired; -import com.kitfox.salamander.svg.basic.SVGStylable; -import com.kitfox.salamander.svg.basic.SVGURIReference; -import com.kitfox.salamander.svg.basic.SVGUnitTypes; -import com.kitfox.salamander.svg.coordSystems.SVGAnimatedTransformList; - -/** - * - * The SVGGradientElement interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement. - * @author kitfox - */ -public interface SVGGradientElement extends SVGElement, - SVGURIReference, - SVGExternalResourcesRequired, - SVGStylable, - SVGUnitTypes -{ - public static enum SpreadMethod - { - /** - * 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 pad. - */ - PAD, - /** - * Corresponds to value reflect. - */ - REFLECT, - /** - * Corresponds to value repeat. - */ - REPEAT}; - /** - * Corresponds to attribute gradientUnits on the given element. Takes one of the constants defined in SVGUnitTypes. - */ - public SVGAnimatedEnumeration
+ The DOM bindings are published under the W3C Software Copyright Notice + and License. The software license requires "Notice of any changes or + modifications to the W3C files, including the date changes were made." + Consequently, modified versions of the DOM bindings must document that + they do not conform to the W3C standard; in the case of the IDL binding, + the pragma prefix can no longer be 'w3c.org'; in the case of the Java + binding, the package names can no longer be in the 'org.w3c' package. +
++ Note: The original version of the W3C Software Copyright Notice + and License could be found at http://www.w3.org/Consortium/Legal/copyright-software-19980720 +
++ This W3C work (including software, documents, or other related items) is + being provided by the copyright holders under the following license. By + obtaining, using and/or copying this work, you (the licensee) agree that + you have read, understood, and will comply with the following terms and + conditions: +
++ Permission to use, copy, and modify this software and its documentation, + with or without modification, for any purpose and without fee or + royalty is hereby granted, provided that you include the following on ALL + copies of the software and documentation or portions thereof, including + modifications, that you make: +
++ THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT + HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR + DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, + TRADEMARKS OR OTHER RIGHTS. +
++ COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR + CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR + DOCUMENTATION. +
++ The name and trademarks of copyright holders may NOT be used in + advertising or publicity pertaining to the software without specific, + written prior permission. Title to copyright in this software and any + associated documentation will at all times remain with copyright + holders. +
+ + diff --git a/src/main/java/org/w3c/dom/smil/ElementExclusiveTimeContainer.java b/src/main/java/org/w3c/dom/smil/ElementExclusiveTimeContainer.java new file mode 100644 index 0000000..84c7a14 --- /dev/null +++ b/src/main/java/org/w3c/dom/smil/ElementExclusiveTimeContainer.java @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2000 World Wide Web Consortium, + * (Massachusetts Institute of Technology, Institut National de + * Recherche en Informatique et en Automatique, Keio University). All + * Rights Reserved. This program is distributed under the W3C's Software + * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more + * details. + */ + +package org.w3c.dom.smil; + +import org.w3c.dom.DOMException; +import org.w3c.dom.NodeList; + +/** + * This interface defines a time container with semantics based upon par, but + * with the additional constraint that only one child element may play at a + * time. + */ +public interface ElementExclusiveTimeContainer extends ElementTimeContainer { + /** + * Controls the end of the container. Need to address thr id-ref value. + * @exception DOMException + * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. + */ + public String getEndSync(); + public void setEndSync(String endSync) + throws DOMException; + + /** + * This should support another method to get the ordered collection of + * paused elements (the paused stack) at a given point in time. + * @return All paused elements at the current time. + */ + public NodeList getPausedElements(); + +} + diff --git a/src/main/java/org/w3c/dom/smil/ElementLayout.java b/src/main/java/org/w3c/dom/smil/ElementLayout.java new file mode 100644 index 0000000..7f3128f --- /dev/null +++ b/src/main/java/org/w3c/dom/smil/ElementLayout.java @@ -0,0 +1,55 @@ +/* + * Copyright (c) 2000 World Wide Web Consortium, + * (Massachusetts Institute of Technology, Institut National de + * Recherche en Informatique et en Automatique, Keio University). All + * Rights Reserved. This program is distributed under the W3C's Software + * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more + * details. + */ + +package org.w3c.dom.smil; + +import org.w3c.dom.DOMException; + +/** + * This interface is used by SMIL elements root-layout, top-layout and region. + * + */ +public interface ElementLayout { + /** + * @exception DOMException + * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. + */ + public String getTitle(); + public void setTitle(String title) + throws DOMException; + + /** + * @exception DOMException + * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. + */ + public String getBackgroundColor(); + public void setBackgroundColor(String backgroundColor) + throws DOMException; + + /** + * @exception DOMException + * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. + */ + public int getHeight(); + public void setHeight(int height) + throws DOMException; + + /** + * @exception DOMException + * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. + */ + public int getWidth(); + public void setWidth(int width) + throws DOMException; + +} + diff --git a/src/main/java/org/w3c/dom/smil/ElementParallelTimeContainer.java b/src/main/java/org/w3c/dom/smil/ElementParallelTimeContainer.java new file mode 100644 index 0000000..a796bc7 --- /dev/null +++ b/src/main/java/org/w3c/dom/smil/ElementParallelTimeContainer.java @@ -0,0 +1,40 @@ +/* + * Copyright (c) 2000 World Wide Web Consortium, + * (Massachusetts Institute of Technology, Institut National de + * Recherche en Informatique et en Automatique, Keio University). All + * Rights Reserved. This program is distributed under the W3C's Software + * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more + * details. + */ + +package org.w3c.dom.smil; + +import org.w3c.dom.DOMException; + +/** + * Aparallel
container defines a simple parallel time grouping
+ * in which multiple elements can play back at the same time. It may have to
+ * specify a repeat iteration. (?)
+ */
+public interface ElementParallelTimeContainer extends ElementTimeContainer {
+ /**
+ * Controls the end of the container. Need to address thr id-ref value.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getEndSync();
+ public void setEndSync(String endSync)
+ throws DOMException;
+
+ /**
+ * This method returns the implicit duration in seconds.
+ * @return The implicit duration in seconds or -1 if the implicit is
+ * unknown (indefinite?).
+ */
+ public float getImplicitDuration();
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/ElementSequentialTimeContainer.java b/src/main/java/org/w3c/dom/smil/ElementSequentialTimeContainer.java
new file mode 100644
index 0000000..bca5841
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/ElementSequentialTimeContainer.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+/**
+ * A seq
container defines a sequence of elements in which
+ * elements play one after the other.
+ */
+public interface ElementSequentialTimeContainer extends ElementTimeContainer {
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/ElementSyncBehavior.java b/src/main/java/org/w3c/dom/smil/ElementSyncBehavior.java
new file mode 100644
index 0000000..e75fecc
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/ElementSyncBehavior.java
@@ -0,0 +1,49 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+/**
+ * The synchronization behavior extension.
+ */
+public interface ElementSyncBehavior {
+ /**
+ * The runtime synchronization behavior for an element.
+ */
+ public String getSyncBehavior();
+
+ /**
+ * The sync tolerance for the associated element. It has an effect only if
+ * the element has syncBehavior="locked"
.
+ */
+ public float getSyncTolerance();
+
+ /**
+ * Defines the default value for the runtime synchronization behavior for
+ * an element, and all descendents.
+ */
+ public String getDefaultSyncBehavior();
+
+ /**
+ * Defines the default value for the sync tolerance for an element, and
+ * all descendents.
+ */
+ public float getDefaultSyncTolerance();
+
+ /**
+ * If set to true, forces the time container playback to sync to this
+ * element.
+ */
+ public boolean getSyncMaster();
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/ElementTargetAttributes.java b/src/main/java/org/w3c/dom/smil/ElementTargetAttributes.java
new file mode 100644
index 0000000..23a37b6
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/ElementTargetAttributes.java
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+/**
+ * This interface define the set of animation target extensions.
+ */
+public interface ElementTargetAttributes {
+ /**
+ * The name of the target attribute.
+ */
+ public String getAttributeName();
+ public void setAttributeName(String attributeName);
+
+ // attributeTypes
+ public static final short ATTRIBUTE_TYPE_AUTO = 0;
+ public static final short ATTRIBUTE_TYPE_CSS = 1;
+ public static final short ATTRIBUTE_TYPE_XML = 2;
+
+ /**
+ * A code representing the value of the attributeType attribute, as
+ * defined above. Default value is ATTRIBUTE_TYPE_CODE
.
+ */
+ public short getAttributeType();
+ public void setAttributeType(short attributeType);
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/ElementTest.java b/src/main/java/org/w3c/dom/smil/ElementTest.java
new file mode 100644
index 0000000..78fe497
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/ElementTest.java
@@ -0,0 +1,83 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.DOMException;
+
+/**
+ * Defines the test attributes interface. See the Test attributes definition
+ * .
+ */
+public interface ElementTest {
+ /**
+ * The systemBitrate value.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public int getSystemBitrate();
+ public void setSystemBitrate(int systemBitrate)
+ throws DOMException;
+
+ /**
+ * The systemCaptions value.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public boolean getSystemCaptions();
+ public void setSystemCaptions(boolean systemCaptions)
+ throws DOMException;
+
+ /**
+ * The systemLanguage value.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getSystemLanguage();
+ public void setSystemLanguage(String systemLanguage)
+ throws DOMException;
+
+ /**
+ * The result of the evaluation of the systemRequired attribute.
+ */
+ public boolean getSystemRequired();
+
+ /**
+ * The result of the evaluation of the systemScreenSize attribute.
+ */
+ public boolean getSystemScreenSize();
+
+ /**
+ * The result of the evaluation of the systemScreenDepth attribute.
+ */
+ public boolean getSystemScreenDepth();
+
+ /**
+ * The value of the systemOverdubOrSubtitle attribute.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getSystemOverdubOrSubtitle();
+ public void setSystemOverdubOrSubtitle(String systemOverdubOrSubtitle)
+ throws DOMException;
+
+ /**
+ * The value of the systemAudioDesc attribute.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public boolean getSystemAudioDesc();
+ public void setSystemAudioDesc(boolean systemAudioDesc)
+ throws DOMException;
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/ElementTime.java b/src/main/java/org/w3c/dom/smil/ElementTime.java
new file mode 100644
index 0000000..715d46a
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/ElementTime.java
@@ -0,0 +1,150 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.DOMException;
+
+/**
+ * This interface defines the set of timing attributes that are common to all
+ * timed elements.
+ */
+public interface ElementTime {
+ /**
+ * The desired value (as a list of times) of the begin instant of this
+ * node.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public TimeList getBegin();
+ public void setBegin(TimeList begin)
+ throws DOMException;
+
+ /**
+ * The list of active ends for this node.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public TimeList getEnd();
+ public void setEnd(TimeList end)
+ throws DOMException;
+
+ /**
+ * The desired simple duration value of this node in seconds. Negative
+ * value means "indefinite".
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public float getDur();
+ public void setDur(float dur)
+ throws DOMException;
+
+ // restartTypes
+ public static final short RESTART_ALWAYS = 0;
+ public static final short RESTART_NEVER = 1;
+ public static final short RESTART_WHEN_NOT_ACTIVE = 2;
+
+ /**
+ * A code representing the value of the restart attribute, as defined
+ * above. Default value is RESTART_ALWAYS
.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public short getRestart();
+ public void setRestart(short restart)
+ throws DOMException;
+
+ // fillTypes
+ public static final short FILL_REMOVE = 0;
+ public static final short FILL_FREEZE = 1;
+
+ /**
+ * A code representing the value of the fill attribute, as defined
+ * above. Default value is FILL_REMOVE
.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public short getFill();
+ public void setFill(short fill)
+ throws DOMException;
+
+ /**
+ * The repeatCount attribute causes the element to play repeatedly
+ * (loop) for the specified number of times. A negative value repeat the
+ * element indefinitely. Default value is 0 (unspecified).
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public float getRepeatCount();
+ public void setRepeatCount(float repeatCount)
+ throws DOMException;
+
+ /**
+ * The repeatDur causes the element to play repeatedly (loop) for the
+ * specified duration in milliseconds. Negative means "indefinite".
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public float getRepeatDur();
+ public void setRepeatDur(float repeatDur)
+ throws DOMException;
+
+ /**
+ * Causes this element to begin the local timeline (subject to sync
+ * constraints).
+ * @return true
if the method call was successful and the
+ * element was begun. false
if the method call failed.
+ * Possible reasons for failure include: The element doesn't support
+ * the beginElement
method. (the beginEvent
+ * attribute is not set to "undefinite"
) The element is
+ * already active and can't be restart when it is active. (the
+ * restart
attribute is set to "whenNotActive"
+ * ) The element is active or has been active and can't be restart.
+ * (the restart
attribute is set to "never"
).
+ *
+ */
+ public boolean beginElement();
+
+ /**
+ * Causes this element to end the local timeline (subject to sync
+ * constraints).
+ * @return true
if the method call was successful and the
+ * element was endeed. false
if method call failed.
+ * Possible reasons for failure include: The element doesn't support
+ * the endElement
method. (the endEvent
+ * attribute is not set to "undefinite"
) The element is
+ * not active.
+ */
+ public boolean endElement();
+
+ /**
+ * Causes this element to pause the local timeline (subject to sync
+ * constraints).
+ */
+ public void pauseElement();
+
+ /**
+ * Causes this element to resume a paused local timeline.
+ */
+ public void resumeElement();
+
+ /**
+ * Seeks this element to the specified point on the local timeline
+ * (subject to sync constraints). If this is a timeline, this must seek
+ * the entire timeline (i.e. propagate to all timeChildren).
+ * @param seekTo The desired position on the local timeline in
+ * milliseconds.
+ */
+ public void seekElement(float seekTo);
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/ElementTimeContainer.java b/src/main/java/org/w3c/dom/smil/ElementTimeContainer.java
new file mode 100644
index 0000000..69b39e8
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/ElementTimeContainer.java
@@ -0,0 +1,39 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.NodeList;
+
+/**
+ * This is a placeholder - subject to change. This represents generic
+ * timelines.
+ */
+public interface ElementTimeContainer extends ElementTime {
+ /**
+ * A NodeList that contains all timed childrens of this node. If there are
+ * no timed children, the Nodelist
is empty. An iterator
+ * is more appropriate here than a node list but it requires Traversal
+ * module support.
+ */
+ public NodeList getTimeChildren();
+
+ /**
+ * Returns a list of child elements active at the specified invocation.
+ * @param instant The desired position on the local timeline in
+ * milliseconds.
+ * @return List of timed child-elements active at instant.
+ */
+ public NodeList getActiveChildrenAt(float instant);
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/ElementTimeControl.java b/src/main/java/org/w3c/dom/smil/ElementTimeControl.java
new file mode 100644
index 0000000..e546b36
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/ElementTimeControl.java
@@ -0,0 +1,103 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.DOMException;
+
+/**
+ */
+public interface ElementTimeControl {
+ /**
+ * Causes this element to begin the local timeline (subject to sync
+ * constraints).
+ * @return true
if the method call was successful and the
+ * element was begun. false
if the method call failed.
+ * Possible reasons for failure include: The element doesn't support
+ * the beginElement
method. (the begin
+ * attribute is not set to "indefinite"
) The element is
+ * already active and can't be restart when it is active. (the
+ * restart
attribute is set to "whenNotActive"
+ * ) The element is active or has been active and can't be restart.
+ * (the restart
attribute is set to "never"
).
+ *
+ * @exception DOMException
+ * SYNTAX_ERR: The element was not defined with the appropriate syntax
+ * to allow beginElement
calls.
+ */
+ public boolean beginElement()
+ throws DOMException;
+
+ /**
+ * Causes this element to begin the local timeline (subject to sync
+ * constraints), at the passed offset from the current time when the
+ * method is called. If the offset is >= 0, the semantics are
+ * equivalent to an event-base begin with the specified offset. If the
+ * offset is < 0, the semantics are equivalent to beginElement(), but
+ * the element active duration is evaluated as though the element had
+ * begun at the passed (negative) offset from the current time when the
+ * method is called.
+ * @param offset The offset in seconds at which to begin the element.
+ * @return true
if the method call was successful and the
+ * element was begun. false
if the method call failed.
+ * Possible reasons for failure include: The element doesn't support
+ * the beginElementAt
method. (the begin
+ * attribute is not set to "indefinite"
) The element is
+ * already active and can't be restart when it is active. (the
+ * restart
attribute is set to "whenNotActive"
+ * ) The element is active or has been active and can't be restart.
+ * (the restart
attribute is set to "never"
).
+ *
+ * @exception DOMException
+ * SYNTAX_ERR: The element was not defined with the appropriate syntax
+ * to allow beginElementAt
calls.
+ */
+ public boolean beginElementAt(float offset)
+ throws DOMException;
+
+ /**
+ * Causes this element to end the local timeline (subject to sync
+ * constraints).
+ * @return true
if the method call was successful and the
+ * element was ended. false
if method call failed.
+ * Possible reasons for failure include: The element doesn't support
+ * the endElement
method. (the end
attribute
+ * is not set to "indefinite"
) The element is not active.
+ *
+ * @exception DOMException
+ * SYNTAX_ERR: The element was not defined with the appropriate syntax
+ * to allow endElement
calls.
+ */
+ public boolean endElement()
+ throws DOMException;
+
+ /**
+ * Causes this element to end the local timeline (subject to sync
+ * constraints) at the specified offset from the current time when the
+ * method is called.
+ * @param offset The offset in seconds at which to end the element. Must
+ * be >= 0.
+ * @return true
if the method call was successful and the
+ * element was ended. false
if method call failed.
+ * Possible reasons for failure include: The element doesn't support
+ * the endElementAt
method. (the end
+ * attribute is not set to "indefinite"
) The element is
+ * not active.
+ * @exception DOMException
+ * SYNTAX_ERR: The element was not defined with the appropriate syntax
+ * to allow endElementAt
calls.
+ */
+ public boolean endElementAt(float offset)
+ throws DOMException;
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/ElementTimeManipulation.java b/src/main/java/org/w3c/dom/smil/ElementTimeManipulation.java
new file mode 100644
index 0000000..bb83326
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/ElementTimeManipulation.java
@@ -0,0 +1,75 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.DOMException;
+
+/**
+ * This interface support use-cases commonly associated with animation.
+ * "accelerate" and "decelerate" are float values in the timing draft and
+ * percentage values even in this draft if both of them represent a
+ * percentage.
+ */
+public interface ElementTimeManipulation {
+ /**
+ * Defines the playback speed of element time. The value is specified as
+ * a multiple of normal (parent time container) play speed. Legal values
+ * are signed floating point values. Zero values are not allowed. The
+ * default is 1.0
(no modification of speed).
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public float getSpeed();
+ public void setSpeed(float speed)
+ throws DOMException;
+
+ /**
+ * The percentage value of the simple acceleration of time for the
+ * element. Allowed values are from 0
to 100
.
+ * Default value is 0
(no acceleration).
+ * 0
to 100
.
+ * Default value is 0
(no deceleration).
+ * false
.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public boolean getAutoReverse();
+ public void setAutoReverse(boolean autoReverse)
+ throws DOMException;
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILAnimateColorElement.java b/src/main/java/org/w3c/dom/smil/SMILAnimateColorElement.java
new file mode 100644
index 0000000..9bd9d13
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILAnimateColorElement.java
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+/**
+ * This interface represents the SMIL animateColor
element.
+ */
+public interface SMILAnimateColorElement extends SMILAnimation {
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILAnimateElement.java b/src/main/java/org/w3c/dom/smil/SMILAnimateElement.java
new file mode 100644
index 0000000..9393e00
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILAnimateElement.java
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+/**
+ * This interface represents the SMIL animate
element.
+ */
+public interface SMILAnimateElement extends SMILAnimation {
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILAnimateMotionElement.java b/src/main/java/org/w3c/dom/smil/SMILAnimateMotionElement.java
new file mode 100644
index 0000000..6a140ad
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILAnimateMotionElement.java
@@ -0,0 +1,41 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.DOMException;
+
+/**
+ * This interface present the animationMotion
element in SMIL.
+ */
+public interface SMILAnimateMotionElement extends SMILAnimateElement {
+ /**
+ * Specifies the curve that describes the attribute value as a function
+ * of time. Check with the SVG spec for better support
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getPath();
+ public void setPath(String path)
+ throws DOMException;
+
+ /**
+ * Specifies the origin of motion for the animation.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getOrigin();
+ public void setOrigin(String origin)
+ throws DOMException;
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILAnimation.java b/src/main/java/org/w3c/dom/smil/SMILAnimation.java
new file mode 100644
index 0000000..8615dfa
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILAnimation.java
@@ -0,0 +1,124 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.DOMException;
+
+/**
+ * This interface define the set of animation extensions for SMIL. The
+ * attributes will go in a XLink interface.
+ */
+public interface SMILAnimation extends SMILElement, ElementTargetAttributes, ElementTime, ElementTimeControl {
+ // additiveTypes
+ public static final short ADDITIVE_REPLACE = 0;
+ public static final short ADDITIVE_SUM = 1;
+
+ /**
+ * A code representing the value of the additive attribute, as defined
+ * above. Default value is ADDITIVE_REPLACE
.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public short getAdditive();
+ public void setAdditive(short additive)
+ throws DOMException;
+
+ // accumulateTypes
+ public static final short ACCUMULATE_NONE = 0;
+ public static final short ACCUMULATE_SUM = 1;
+
+ /**
+ * A code representing the value of the accumulate attribute, as defined
+ * above. Default value is ACCUMULATE_NONE
.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public short getAccumulate();
+ public void setAccumulate(short accumulate)
+ throws DOMException;
+
+ // calcModeTypes
+ public static final short CALCMODE_DISCRETE = 0;
+ public static final short CALCMODE_LINEAR = 1;
+ public static final short CALCMODE_PACED = 2;
+ public static final short CALCMODE_SPLINE = 3;
+
+ /**
+ * A code representing the value of the calcMode attribute, as defined
+ * above.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public short getCalcMode();
+ public void setCalcMode(short calcMode)
+ throws DOMException;
+
+ /**
+ * A DOMString
representing the value of the keySplines
+ * attribute. Need an interface a point (x1,y1,x2,y2)
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getKeySplines();
+ public void setKeySplines(String keySplines)
+ throws DOMException;
+
+ /**
+ * A list of the time value of the keyTimes attribute.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public TimeList getKeyTimes();
+ public void setKeyTimes(TimeList keyTimes)
+ throws DOMException;
+
+ /**
+ * A DOMString
representing the value of the values
+ * attribute.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getValues();
+ public void setValues(String values)
+ throws DOMException;
+
+ /**
+ * A DOMString
representing the value of the from attribute.
+ *
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getFrom();
+ public void setFrom(String from)
+ throws DOMException;
+
+ /**
+ * A DOMString
representing the value of the to attribute.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getTo();
+ public void setTo(String to)
+ throws DOMException;
+
+ /**
+ * A DOMString
representing the value of the by attribute.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getBy();
+ public void setBy(String by)
+ throws DOMException;
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILDocument.java b/src/main/java/org/w3c/dom/smil/SMILDocument.java
new file mode 100644
index 0000000..5f54dd3
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILDocument.java
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.Document;
+
+/**
+ * A SMIL document is the root of the SMIL Hierarchy and holds the entire
+ * content. Beside providing access to the hierarchy, it also provides some
+ * convenience methods for accessing certain sets of information from the
+ * document. Cover document timing, document locking?, linking modality and
+ * any other document level issues. Are there issues with nested SMIL files?
+ * Is it worth talking about different document scenarios, corresponding to
+ * differing profiles? E.g. Standalone SMIL, HTML integration, etc.
+ */
+public interface SMILDocument extends Document, ElementSequentialTimeContainer {
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILElement.java b/src/main/java/org/w3c/dom/smil/SMILElement.java
new file mode 100644
index 0000000..748de23
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILElement.java
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.DOMException;
+import org.w3c.dom.Element;
+
+/**
+ * The SMILElement
interface is the base for all SMIL element
+ * types. It follows the model of the HTMLElement
in the HTML
+ * DOM, extending the base Element
class to denote SMIL-specific
+ * elements.
+ * Note that the SMILElement
interface overlaps with the
+ * HTMLElement
interface. In practice, an integrated document
+ * profile that include HTML and SMIL modules will effectively implement both
+ * interfaces (see also the DOM documentation discussion of Inheritance vs
+ * Flattened Views of the API ). // etc. This needs attention
+ */
+public interface SMILElement extends Element {
+ /**
+ * The unique id.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getId();
+ public void setId(String id)
+ throws DOMException;
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILLayoutElement.java b/src/main/java/org/w3c/dom/smil/SMILLayoutElement.java
new file mode 100644
index 0000000..2d6136d
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILLayoutElement.java
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+/**
+ * Declares layout type for the document. See the LAYOUT element definition .
+ *
+ */
+public interface SMILLayoutElement extends SMILElement {
+ /**
+ * The mime type of the layout langage used in this layout element.The
+ * default value of the type attribute is "text/smil-basic-layout".
+ */
+ public String getType();
+
+ /**
+ * true
if the player can understand the mime type,
+ * false
otherwise.
+ */
+ public boolean getResolved();
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILMediaElement.java b/src/main/java/org/w3c/dom/smil/SMILMediaElement.java
new file mode 100644
index 0000000..d6a2d2d
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILMediaElement.java
@@ -0,0 +1,157 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.DOMException;
+
+/**
+ * Declares media content.
+ */
+public interface SMILMediaElement extends ElementTime, SMILElement {
+ /**
+ * See the abstract attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getAbstractAttr();
+ public void setAbstractAttr(String abstractAttr)
+ throws DOMException;
+
+ /**
+ * See the alt attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getAlt();
+ public void setAlt(String alt)
+ throws DOMException;
+
+ /**
+ * See the author attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getAuthor();
+ public void setAuthor(String author)
+ throws DOMException;
+
+ /**
+ * See the clipBegin attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getClipBegin();
+ public void setClipBegin(String clipBegin)
+ throws DOMException;
+
+ /**
+ * See the clipEnd attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getClipEnd();
+ public void setClipEnd(String clipEnd)
+ throws DOMException;
+
+ /**
+ * See the copyright attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getCopyright();
+ public void setCopyright(String copyright)
+ throws DOMException;
+
+ /**
+ * See the longdesc attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getLongdesc();
+ public void setLongdesc(String longdesc)
+ throws DOMException;
+
+ /**
+ * See the port attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getPort();
+ public void setPort(String port)
+ throws DOMException;
+
+ /**
+ * See the readIndex attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getReadIndex();
+ public void setReadIndex(String readIndex)
+ throws DOMException;
+
+ /**
+ * See the rtpformat attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getRtpformat();
+ public void setRtpformat(String rtpformat)
+ throws DOMException;
+
+ /**
+ * See the src attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getSrc();
+ public void setSrc(String src)
+ throws DOMException;
+
+ /**
+ * See the stripRepeat attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getStripRepeat();
+ public void setStripRepeat(String stripRepeat)
+ throws DOMException;
+
+ /**
+ * See the title attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getTitle();
+ public void setTitle(String title)
+ throws DOMException;
+
+ /**
+ * See the transport attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getTransport();
+ public void setTransport(String transport)
+ throws DOMException;
+
+ /**
+ * See the type attribute from .
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getType();
+ public void setType(String type)
+ throws DOMException;
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILRefElement.java b/src/main/java/org/w3c/dom/smil/SMILRefElement.java
new file mode 100644
index 0000000..adeb2b3
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILRefElement.java
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+/**
+ * // audio, video, ...
+ */
+public interface SMILRefElement extends SMILMediaElement {
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILRegionElement.java b/src/main/java/org/w3c/dom/smil/SMILRegionElement.java
new file mode 100644
index 0000000..927fb40
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILRegionElement.java
@@ -0,0 +1,47 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.DOMException;
+
+/**
+ * Controls the position, size and scaling of media object elements. See the
+ * region element definition .
+ */
+public interface SMILRegionElement extends SMILElement, ElementLayout {
+ /**
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getFit();
+ public void setFit(String fit)
+ throws DOMException;
+
+ /**
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public String getTop();
+ public void setTop(String top)
+ throws DOMException;
+
+ /**
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
+ */
+ public int getZIndex();
+ public void setZIndex(int zIndex)
+ throws DOMException;
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILRegionInterface.java b/src/main/java/org/w3c/dom/smil/SMILRegionInterface.java
new file mode 100644
index 0000000..b5e43c3
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILRegionInterface.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+/**
+ * Declares rendering surface for an element. See the region attribute
+ * definition .
+ */
+public interface SMILRegionInterface {
+ /**
+ */
+ public SMILRegionElement getRegion();
+ public void setRegion(SMILRegionElement region);
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILRootLayoutElement.java b/src/main/java/org/w3c/dom/smil/SMILRootLayoutElement.java
new file mode 100644
index 0000000..327ecd6
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILRootLayoutElement.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+/**
+ * Declares layout properties for the root-layout element. See the
+ * root-layout element definition .
+ */
+public interface SMILRootLayoutElement extends SMILElement, ElementLayout {
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILSetElement.java b/src/main/java/org/w3c/dom/smil/SMILSetElement.java
new file mode 100644
index 0000000..8e0b1b7
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILSetElement.java
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+/**
+ * This interface represents the set element.
+ */
+public interface SMILSetElement extends ElementTimeControl, ElementTime, ElementTargetAttributes, SMILElement {
+ /**
+ * Specifies the value for the attribute during the duration of this
+ * element.
+ */
+ public String getTo();
+ public void setTo(String to);
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILSwitchElement.java b/src/main/java/org/w3c/dom/smil/SMILSwitchElement.java
new file mode 100644
index 0000000..27abb91
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILSwitchElement.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.Element;
+
+/**
+ * Defines a block of content control. See the switch element definition .
+ */
+public interface SMILSwitchElement extends SMILElement {
+ /**
+ * Returns the slected element at runtime. null
if the
+ * selected element is not yet available.
+ * @return The selected Element
for thisd switch
+ * element.
+ */
+ public Element getSelectedElement();
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/SMILTopLayoutElement.java b/src/main/java/org/w3c/dom/smil/SMILTopLayoutElement.java
new file mode 100644
index 0000000..2621419
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/SMILTopLayoutElement.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+/**
+ * Declares layout properties for the top-layout element. See the top-layout
+ * element definition .
+ */
+public interface SMILTopLayoutElement extends SMILElement, ElementLayout {
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/Time.java b/src/main/java/org/w3c/dom/smil/Time.java
new file mode 100644
index 0000000..72fe086
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/Time.java
@@ -0,0 +1,119 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.DOMException;
+import org.w3c.dom.Element;
+
+/**
+ * The Time
interface is a datatype that represents times within
+ * the timegraph. A Time
has a type, key values to describe the
+ * time, and a boolean to indicate whether the values are currently
+ * unresolved. Still need to address the wallclock values.
+ */
+public interface Time {
+ /**
+ * A boolean indicating whether the current Time
has been
+ * fully resolved to the document schedule. Note that for this to be
+ * true, the current Time
must be defined (not indefinite),
+ * the syncbase and all Time
's that the syncbase depends on
+ * must be defined (not indefinite), and the begin Time
of
+ * all ascendent time containers of this element and all Time
+ * elements that this depends upon must be defined (not indefinite).
+ *
If this Time
is based upon an event, this
+ * Time
will only be resolved once the specified event has
+ * happened, subject to the constraints of the time container.
+ *
Note that this may change from true to false when the parent time
+ * container ends its simple duration (including when it repeats or
+ * restarts).
+ */
+ public boolean getResolved();
+
+ /**
+ * The clock value in seconds relative to the parent time container begin.
+ * This indicates the resolved time relationship to the parent time
+ * container. This is only valid if resolved is true.
+ */
+ public double getResolvedOffset();
+
+ // TimeTypes
+ public static final short SMIL_TIME_INDEFINITE = 0;
+ public static final short SMIL_TIME_OFFSET = 1;
+ public static final short SMIL_TIME_SYNC_BASED = 2;
+ public static final short SMIL_TIME_EVENT_BASED = 3;
+ public static final short SMIL_TIME_WALLCLOCK = 4;
+ public static final short SMIL_TIME_MEDIA_MARKER = 5;
+
+ /**
+ * A code representing the type of the underlying object, as defined
+ * above.
+ */
+ public short getTimeType();
+
+ /**
+ * The clock value in seconds relative to the syncbase or eventbase.
+ * Default value is 0
.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised on attempts to modify this
+ * readonly attribute.
+ */
+ public double getOffset();
+ public void setOffset(double offset)
+ throws DOMException;
+
+ /**
+ * The base element for a sync-based or event-based time.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised on attempts to modify this
+ * readonly attribute.
+ */
+ public Element getBaseElement();
+ public void setBaseElement(Element baseElement)
+ throws DOMException;
+
+ /**
+ * If true
, indicates that a sync-based time is relative to
+ * the begin of the baseElement. If false
, indicates that a
+ * sync-based time is relative to the active end of the baseElement.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised on attempts to modify this
+ * readonly attribute.
+ */
+ public boolean getBaseBegin();
+ public void setBaseBegin(boolean baseBegin)
+ throws DOMException;
+
+ /**
+ * The name of the event for an event-based time. Default value is
+ * null
.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised on attempts to modify this
+ * readonly attribute.
+ */
+ public String getEvent();
+ public void setEvent(String event)
+ throws DOMException;
+
+ /**
+ * The name of the marker from the media element, for media marker times.
+ * Default value is null
.
+ * @exception DOMException
+ * NO_MODIFICATION_ALLOWED_ERR: Raised on attempts to modify this
+ * readonly attribute.
+ */
+ public String getMarker();
+ public void setMarker(String marker)
+ throws DOMException;
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/TimeEvent.java b/src/main/java/org/w3c/dom/smil/TimeEvent.java
new file mode 100644
index 0000000..a79c4ca
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/TimeEvent.java
@@ -0,0 +1,53 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+import org.w3c.dom.events.Event;
+import org.w3c.dom.views.AbstractView;
+
+/**
+ * The TimeEvent
interface provides specific contextual
+ * information associated with Time events.
+ */
+public interface TimeEvent extends Event {
+ /**
+ * The view
attribute identifies the
+ * AbstractView
from which the event was generated.
+ */
+ public AbstractView getView();
+
+ /**
+ * Specifies some detail information about the Event
,
+ * depending on the type of event.
+ */
+ public int getDetail();
+
+ /**
+ * The initTimeEvent
method is used to initialize the value
+ * of a TimeEvent
created through the
+ * DocumentEvent
interface. This method may only be called
+ * before the TimeEvent
has been dispatched via the
+ * dispatchEvent
method, though it may be called multiple
+ * times during that phase if necessary. If called multiple times, the
+ * final invocation takes precedence.
+ * @param typeArg Specifies the event type.
+ * @param viewArg Specifies the Event
's
+ * AbstractView
.
+ * @param detailArg Specifies the Event
's detail.
+ */
+ public void initTimeEvent(String typeArg,
+ AbstractView viewArg,
+ int detailArg);
+
+}
+
diff --git a/src/main/java/org/w3c/dom/smil/TimeList.java b/src/main/java/org/w3c/dom/smil/TimeList.java
new file mode 100644
index 0000000..7cec133
--- /dev/null
+++ b/src/main/java/org/w3c/dom/smil/TimeList.java
@@ -0,0 +1,41 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program 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 W3C License http://www.w3.org/Consortium/Legal/ for more
+ * details.
+ */
+
+package org.w3c.dom.smil;
+
+/**
+ * The TimeList
interface provides the abstraction of an ordered
+ * collection of times, without defining or constraining how this collection
+ * is implemented.
+ *
The items in the TimeList
are accessible via an integral
+ * index, starting from 0.
+ */
+public interface TimeList {
+ /**
+ * Returns the index
th item in the collection. If
+ * index
is greater than or equal to the number of times in
+ * the list, this returns null
.
+ * @param index Index into the collection.
+ * @return The time at the index
th position in the
+ * TimeList
, or null
if that is not a valid
+ * index.
+ */
+ public Time item(int index);
+
+ /**
+ * The number of times in the list. The range of valid child time indices
+ * is 0 to length-1
inclusive.
+ */
+ public int getLength();
+
+}
+
diff --git a/src/main/java/org/w3c/dom/svg/GetSVGDocument.java b/src/main/java/org/w3c/dom/svg/GetSVGDocument.java
new file mode 100644
index 0000000..29b5f82
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/GetSVGDocument.java
@@ -0,0 +1,9 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface GetSVGDocument {
+ public SVGDocument getSVGDocument ( )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAElement.java b/src/main/java/org/w3c/dom/svg/SVGAElement.java
new file mode 100644
index 0000000..9a143c3
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAElement.java
@@ -0,0 +1,16 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGAElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedString getTarget( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAltGlyphDefElement.java b/src/main/java/org/w3c/dom/svg/SVGAltGlyphDefElement.java
new file mode 100644
index 0000000..84a22b5
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAltGlyphDefElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAltGlyphDefElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAltGlyphElement.java b/src/main/java/org/w3c/dom/svg/SVGAltGlyphElement.java
new file mode 100644
index 0000000..21f28dd
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAltGlyphElement.java
@@ -0,0 +1,15 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGAltGlyphElement extends
+ SVGTextPositioningElement,
+ SVGURIReference {
+ public String getGlyphRef( );
+ public void setGlyphRef( String glyphRef )
+ throws DOMException;
+ public String getFormat( );
+ public void setFormat( String format )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAltGlyphItemElement.java b/src/main/java/org/w3c/dom/svg/SVGAltGlyphItemElement.java
new file mode 100644
index 0000000..07ea085
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAltGlyphItemElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAltGlyphItemElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAngle.java b/src/main/java/org/w3c/dom/svg/SVGAngle.java
new file mode 100644
index 0000000..e785d37
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAngle.java
@@ -0,0 +1,26 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGAngle {
+ // Angle Unit Types
+ public static final short SVG_ANGLETYPE_UNKNOWN = 0;
+ public static final short SVG_ANGLETYPE_UNSPECIFIED = 1;
+ public static final short SVG_ANGLETYPE_DEG = 2;
+ public static final short SVG_ANGLETYPE_RAD = 3;
+ public static final short SVG_ANGLETYPE_GRAD = 4;
+
+ public short getUnitType( );
+ public float getValue( );
+ public void setValue( float value )
+ throws DOMException;
+ public float getValueInSpecifiedUnits( );
+ public void setValueInSpecifiedUnits( float valueInSpecifiedUnits )
+ throws DOMException;
+ public String getValueAsString( );
+ public void setValueAsString( String valueAsString )
+ throws DOMException;
+
+ public void newValueSpecifiedUnits ( short unitType, float valueInSpecifiedUnits );
+ public void convertToSpecifiedUnits ( short unitType );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimateColorElement.java b/src/main/java/org/w3c/dom/svg/SVGAnimateColorElement.java
new file mode 100644
index 0000000..14aca51
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimateColorElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAnimateColorElement extends
+ SVGAnimationElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimateElement.java b/src/main/java/org/w3c/dom/svg/SVGAnimateElement.java
new file mode 100644
index 0000000..02d2e4c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimateElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAnimateElement extends
+ SVGAnimationElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimateMotionElement.java b/src/main/java/org/w3c/dom/svg/SVGAnimateMotionElement.java
new file mode 100644
index 0000000..eaf71ab
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimateMotionElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAnimateMotionElement extends
+ SVGAnimationElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimateTransformElement.java b/src/main/java/org/w3c/dom/svg/SVGAnimateTransformElement.java
new file mode 100644
index 0000000..38e6f41
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimateTransformElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAnimateTransformElement extends
+ SVGAnimationElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedAngle.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedAngle.java
new file mode 100644
index 0000000..0948e26
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedAngle.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedAngle {
+ public SVGAngle getBaseVal( );
+ public SVGAngle getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedBoolean.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedBoolean.java
new file mode 100644
index 0000000..5c0ad3b
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedBoolean.java
@@ -0,0 +1,10 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGAnimatedBoolean {
+ public boolean getBaseVal( );
+ public void setBaseVal( boolean baseVal )
+ throws DOMException;
+ public boolean getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedEnumeration.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedEnumeration.java
new file mode 100644
index 0000000..11cc851
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedEnumeration.java
@@ -0,0 +1,10 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGAnimatedEnumeration {
+ public short getBaseVal( );
+ public void setBaseVal( short baseVal )
+ throws DOMException;
+ public short getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedInteger.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedInteger.java
new file mode 100644
index 0000000..b64ab55
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedInteger.java
@@ -0,0 +1,10 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGAnimatedInteger {
+ public int getBaseVal( );
+ public void setBaseVal( int baseVal )
+ throws DOMException;
+ public int getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedLength.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedLength.java
new file mode 100644
index 0000000..1287847
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedLength.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedLength {
+ public SVGLength getBaseVal( );
+ public SVGLength getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedLengthList.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedLengthList.java
new file mode 100644
index 0000000..15ab022
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedLengthList.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedLengthList {
+ public SVGLengthList getBaseVal( );
+ public SVGLengthList getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedNumber.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedNumber.java
new file mode 100644
index 0000000..dd555a0
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedNumber.java
@@ -0,0 +1,10 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGAnimatedNumber {
+ public float getBaseVal( );
+ public void setBaseVal( float baseVal )
+ throws DOMException;
+ public float getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedNumberList.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedNumberList.java
new file mode 100644
index 0000000..00f6961
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedNumberList.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedNumberList {
+ public SVGNumberList getBaseVal( );
+ public SVGNumberList getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedPathData.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedPathData.java
new file mode 100644
index 0000000..e6c7759
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedPathData.java
@@ -0,0 +1,9 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedPathData {
+ public SVGPathSegList getPathSegList( );
+ public SVGPathSegList getNormalizedPathSegList( );
+ public SVGPathSegList getAnimatedPathSegList( );
+ public SVGPathSegList getAnimatedNormalizedPathSegList( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedPoints.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedPoints.java
new file mode 100644
index 0000000..0fed4d9
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedPoints.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedPoints {
+ public SVGPointList getPoints( );
+ public SVGPointList getAnimatedPoints( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedPreserveAspectRatio.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedPreserveAspectRatio.java
new file mode 100644
index 0000000..6708a35
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedPreserveAspectRatio.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedPreserveAspectRatio {
+ public SVGPreserveAspectRatio getBaseVal( );
+ public SVGPreserveAspectRatio getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedRect.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedRect.java
new file mode 100644
index 0000000..f2f1259
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedRect.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedRect {
+ public SVGRect getBaseVal( );
+ public SVGRect getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedString.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedString.java
new file mode 100644
index 0000000..4c0c8bb
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedString.java
@@ -0,0 +1,10 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGAnimatedString {
+ public String getBaseVal( );
+ public void setBaseVal( String baseVal )
+ throws DOMException;
+ public String getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedTransformList.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedTransformList.java
new file mode 100644
index 0000000..dc45214
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedTransformList.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedTransformList {
+ public SVGTransformList getBaseVal( );
+ public SVGTransformList getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimationElement.java b/src/main/java/org/w3c/dom/svg/SVGAnimationElement.java
new file mode 100644
index 0000000..e9c58b5
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGAnimationElement.java
@@ -0,0 +1,20 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+import org.w3c.dom.events.EventTarget;
+import org.w3c.dom.smil.ElementTimeControl;
+
+public interface SVGAnimationElement extends
+ SVGElement,
+ SVGTests,
+ SVGExternalResourcesRequired,
+ ElementTimeControl,
+ EventTarget {
+ public SVGElement getTargetElement( );
+
+ public float getStartTime ( );
+ public float getCurrentTime ( );
+ public float getSimpleDuration ( )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGCSSRule.java b/src/main/java/org/w3c/dom/svg/SVGCSSRule.java
new file mode 100644
index 0000000..1d339d1
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGCSSRule.java
@@ -0,0 +1,10 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.css.CSSRule;
+
+public interface SVGCSSRule extends
+ CSSRule {
+ // Additional CSS RuleType to support ICC color specifications
+ public static final short COLOR_PROFILE_RULE = 7;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGCircleElement.java b/src/main/java/org/w3c/dom/svg/SVGCircleElement.java
new file mode 100644
index 0000000..835c23c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGCircleElement.java
@@ -0,0 +1,17 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGCircleElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getCx( );
+ public SVGAnimatedLength getCy( );
+ public SVGAnimatedLength getR( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGClipPathElement.java b/src/main/java/org/w3c/dom/svg/SVGClipPathElement.java
new file mode 100644
index 0000000..001285d
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGClipPathElement.java
@@ -0,0 +1,13 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGClipPathElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ SVGUnitTypes {
+ public SVGAnimatedEnumeration getClipPathUnits( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGColor.java b/src/main/java/org/w3c/dom/svg/SVGColor.java
new file mode 100644
index 0000000..1f2b7a5
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGColor.java
@@ -0,0 +1,25 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.css.RGBColor;
+import org.w3c.dom.css.CSSValue;
+
+public interface SVGColor extends
+ CSSValue {
+ // Color Types
+ public static final short SVG_COLORTYPE_UNKNOWN = 0;
+ public static final short SVG_COLORTYPE_RGBCOLOR = 1;
+ public static final short SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
+ public static final short SVG_COLORTYPE_CURRENTCOLOR = 3;
+
+ public short getColorType( );
+ public RGBColor getRGBColor( );
+ public SVGICCColor getICCColor( );
+
+ public void setRGBColor ( String rgbColor )
+ throws SVGException;
+ public void setRGBColorICCColor ( String rgbColor, String iccColor )
+ throws SVGException;
+ public void setColor ( short colorType, String rgbColor, String iccColor )
+ throws SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGColorProfileElement.java b/src/main/java/org/w3c/dom/svg/SVGColorProfileElement.java
new file mode 100644
index 0000000..1963331
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGColorProfileElement.java
@@ -0,0 +1,19 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGColorProfileElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGRenderingIntent {
+ public String getLocal( );
+ public void setLocal( String local )
+ throws DOMException;
+ public String getName( );
+ public void setName( String name )
+ throws DOMException;
+ public short getRenderingIntent( );
+ public void setRenderingIntent( short renderingIntent )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGColorProfileRule.java b/src/main/java/org/w3c/dom/svg/SVGColorProfileRule.java
new file mode 100644
index 0000000..fd87ce3
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGColorProfileRule.java
@@ -0,0 +1,18 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGColorProfileRule extends
+ SVGCSSRule,
+ SVGRenderingIntent {
+ public String getSrc( );
+ public void setSrc( String src )
+ throws DOMException;
+ public String getName( );
+ public void setName( String name )
+ throws DOMException;
+ public short getRenderingIntent( );
+ public void setRenderingIntent( short renderingIntent )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGComponentTransferFunctionElement.java b/src/main/java/org/w3c/dom/svg/SVGComponentTransferFunctionElement.java
new file mode 100644
index 0000000..91fa64b
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGComponentTransferFunctionElement.java
@@ -0,0 +1,21 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGComponentTransferFunctionElement extends
+ SVGElement {
+ // Component Transfer Types
+ public static final short SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
+ public static final short SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
+ public static final short SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
+ public static final short SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
+ public static final short SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
+ public static final short SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
+
+ public SVGAnimatedEnumeration getType( );
+ public SVGAnimatedNumberList getTableValues( );
+ public SVGAnimatedNumber getSlope( );
+ public SVGAnimatedNumber getIntercept( );
+ public SVGAnimatedNumber getAmplitude( );
+ public SVGAnimatedNumber getExponent( );
+ public SVGAnimatedNumber getOffset( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGCursorElement.java b/src/main/java/org/w3c/dom/svg/SVGCursorElement.java
new file mode 100644
index 0000000..f93e81d
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGCursorElement.java
@@ -0,0 +1,11 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGCursorElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGTests,
+ SVGExternalResourcesRequired {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGDefinitionSrcElement.java b/src/main/java/org/w3c/dom/svg/SVGDefinitionSrcElement.java
new file mode 100644
index 0000000..457745c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGDefinitionSrcElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGDefinitionSrcElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGDefsElement.java b/src/main/java/org/w3c/dom/svg/SVGDefsElement.java
new file mode 100644
index 0000000..27b9fe7
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGDefsElement.java
@@ -0,0 +1,14 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGDefsElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGDescElement.java b/src/main/java/org/w3c/dom/svg/SVGDescElement.java
new file mode 100644
index 0000000..809d100
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGDescElement.java
@@ -0,0 +1,8 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGDescElement extends
+ SVGElement,
+ SVGLangSpace,
+ SVGStylable {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGDocument.java b/src/main/java/org/w3c/dom/svg/SVGDocument.java
new file mode 100644
index 0000000..327d6cf
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGDocument.java
@@ -0,0 +1,15 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.events.DocumentEvent;
+
+public interface SVGDocument extends
+ Document,
+ DocumentEvent {
+ public String getTitle( );
+ public String getReferrer( );
+ public String getDomain( );
+ public String getURL( );
+ public SVGSVGElement getRootElement( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGElement.java b/src/main/java/org/w3c/dom/svg/SVGElement.java
new file mode 100644
index 0000000..787b5a8
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGElement.java
@@ -0,0 +1,17 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+import org.w3c.dom.Element;
+
+public interface SVGElement extends
+ Element {
+ public String getId( );
+ public void setId( String id )
+ throws DOMException;
+ public String getXMLbase( );
+ public void setXMLbase( String xmlbase )
+ throws DOMException;
+ public SVGSVGElement getOwnerSVGElement( );
+ public SVGElement getViewportElement( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGElementInstance.java b/src/main/java/org/w3c/dom/svg/SVGElementInstance.java
new file mode 100644
index 0000000..bd77eea
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGElementInstance.java
@@ -0,0 +1,16 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGElementInstance extends
+ EventTarget {
+ public SVGElement getCorrespondingElement( );
+ public SVGUseElement getCorrespondingUseElement( );
+ public SVGElementInstance getParentNode( );
+ public SVGElementInstanceList getChildNodes( );
+ public SVGElementInstance getFirstChild( );
+ public SVGElementInstance getLastChild( );
+ public SVGElementInstance getPreviousSibling( );
+ public SVGElementInstance getNextSibling( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGElementInstanceList.java b/src/main/java/org/w3c/dom/svg/SVGElementInstanceList.java
new file mode 100644
index 0000000..13a90d5
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGElementInstanceList.java
@@ -0,0 +1,8 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGElementInstanceList {
+ public int getLength( );
+
+ public SVGElementInstance item ( int index );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGEllipseElement.java b/src/main/java/org/w3c/dom/svg/SVGEllipseElement.java
new file mode 100644
index 0000000..54fced5
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGEllipseElement.java
@@ -0,0 +1,18 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGEllipseElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getCx( );
+ public SVGAnimatedLength getCy( );
+ public SVGAnimatedLength getRx( );
+ public SVGAnimatedLength getRy( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGEvent.java b/src/main/java/org/w3c/dom/svg/SVGEvent.java
new file mode 100644
index 0000000..7098079
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGEvent.java
@@ -0,0 +1,8 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.Event;
+
+public interface SVGEvent extends
+ Event {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGException.java b/src/main/java/org/w3c/dom/svg/SVGException.java
new file mode 100644
index 0000000..2d200de
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGException.java
@@ -0,0 +1,13 @@
+package org.w3c.dom.svg;
+
+public class SVGException extends RuntimeException {
+ public SVGException(short code, String message) {
+ super(message);
+ this.code = code;
+ }
+ public short code;
+ // ExceptionCode
+ public static final short SVG_WRONG_TYPE_ERR = 0;
+ public static final short SVG_INVALID_VALUE_ERR = 1;
+ public static final short SVG_MATRIX_NOT_INVERTABLE = 2;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGExternalResourcesRequired.java b/src/main/java/org/w3c/dom/svg/SVGExternalResourcesRequired.java
new file mode 100644
index 0000000..a6a0129
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGExternalResourcesRequired.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGExternalResourcesRequired {
+ public SVGAnimatedBoolean getExternalResourcesRequired( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEBlendElement.java b/src/main/java/org/w3c/dom/svg/SVGFEBlendElement.java
new file mode 100644
index 0000000..e80bc21
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEBlendElement.java
@@ -0,0 +1,18 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEBlendElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Blend Mode Types
+ public static final short SVG_FEBLEND_MODE_UNKNOWN = 0;
+ public static final short SVG_FEBLEND_MODE_NORMAL = 1;
+ public static final short SVG_FEBLEND_MODE_MULTIPLY = 2;
+ public static final short SVG_FEBLEND_MODE_SCREEN = 3;
+ public static final short SVG_FEBLEND_MODE_DARKEN = 4;
+ public static final short SVG_FEBLEND_MODE_LIGHTEN = 5;
+
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedString getIn2( );
+ public SVGAnimatedEnumeration getMode( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEColorMatrixElement.java b/src/main/java/org/w3c/dom/svg/SVGFEColorMatrixElement.java
new file mode 100644
index 0000000..e69384a
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEColorMatrixElement.java
@@ -0,0 +1,17 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEColorMatrixElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Color Matrix Types
+ public static final short SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
+ public static final short SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
+ public static final short SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
+ public static final short SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
+ public static final short SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
+
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedEnumeration getType( );
+ public SVGAnimatedNumberList getValues( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEComponentTransferElement.java b/src/main/java/org/w3c/dom/svg/SVGFEComponentTransferElement.java
new file mode 100644
index 0000000..51a0f84
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEComponentTransferElement.java
@@ -0,0 +1,8 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEComponentTransferElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFECompositeElement.java b/src/main/java/org/w3c/dom/svg/SVGFECompositeElement.java
new file mode 100644
index 0000000..f4b4c22
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFECompositeElement.java
@@ -0,0 +1,23 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFECompositeElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Composite Operators
+ public static final short SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0;
+ public static final short SVG_FECOMPOSITE_OPERATOR_OVER = 1;
+ public static final short SVG_FECOMPOSITE_OPERATOR_IN = 2;
+ public static final short SVG_FECOMPOSITE_OPERATOR_OUT = 3;
+ public static final short SVG_FECOMPOSITE_OPERATOR_ATOP = 4;
+ public static final short SVG_FECOMPOSITE_OPERATOR_XOR = 5;
+ public static final short SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6;
+
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedString getIn2( );
+ public SVGAnimatedEnumeration getOperator( );
+ public SVGAnimatedNumber getK1( );
+ public SVGAnimatedNumber getK2( );
+ public SVGAnimatedNumber getK3( );
+ public SVGAnimatedNumber getK4( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEConvolveMatrixElement.java b/src/main/java/org/w3c/dom/svg/SVGFEConvolveMatrixElement.java
new file mode 100644
index 0000000..0553c85
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEConvolveMatrixElement.java
@@ -0,0 +1,24 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEConvolveMatrixElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Edge Mode Values
+ public static final short SVG_EDGEMODE_UNKNOWN = 0;
+ public static final short SVG_EDGEMODE_DUPLICATE = 1;
+ public static final short SVG_EDGEMODE_WRAP = 2;
+ public static final short SVG_EDGEMODE_NONE = 3;
+
+ public SVGAnimatedInteger getOrderX( );
+ public SVGAnimatedInteger getOrderY( );
+ public SVGAnimatedNumberList getKernelMatrix( );
+ public SVGAnimatedNumber getDivisor( );
+ public SVGAnimatedNumber getBias( );
+ public SVGAnimatedInteger getTargetX( );
+ public SVGAnimatedInteger getTargetY( );
+ public SVGAnimatedEnumeration getEdgeMode( );
+ public SVGAnimatedNumber getKernelUnitLengthX( );
+ public SVGAnimatedNumber getKernelUnitLengthY( );
+ public SVGAnimatedBoolean getPreserveAlpha( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEDiffuseLightingElement.java b/src/main/java/org/w3c/dom/svg/SVGFEDiffuseLightingElement.java
new file mode 100644
index 0000000..eb10a16
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEDiffuseLightingElement.java
@@ -0,0 +1,12 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEDiffuseLightingElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedNumber getSurfaceScale( );
+ public SVGAnimatedNumber getDiffuseConstant( );
+ public SVGAnimatedNumber getKernelUnitLengthX( );
+ public SVGAnimatedNumber getKernelUnitLengthY( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEDisplacementMapElement.java b/src/main/java/org/w3c/dom/svg/SVGFEDisplacementMapElement.java
new file mode 100644
index 0000000..d2270e2
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEDisplacementMapElement.java
@@ -0,0 +1,19 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEDisplacementMapElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Channel Selectors
+ public static final short SVG_CHANNEL_UNKNOWN = 0;
+ public static final short SVG_CHANNEL_R = 1;
+ public static final short SVG_CHANNEL_G = 2;
+ public static final short SVG_CHANNEL_B = 3;
+ public static final short SVG_CHANNEL_A = 4;
+
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedString getIn2( );
+ public SVGAnimatedNumber getScale( );
+ public SVGAnimatedEnumeration getXChannelSelector( );
+ public SVGAnimatedEnumeration getYChannelSelector( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEDistantLightElement.java b/src/main/java/org/w3c/dom/svg/SVGFEDistantLightElement.java
new file mode 100644
index 0000000..576f01b
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEDistantLightElement.java
@@ -0,0 +1,8 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEDistantLightElement extends
+ SVGElement {
+ public SVGAnimatedNumber getAzimuth( );
+ public SVGAnimatedNumber getElevation( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEFloodElement.java b/src/main/java/org/w3c/dom/svg/SVGFEFloodElement.java
new file mode 100644
index 0000000..8960d4d
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEFloodElement.java
@@ -0,0 +1,8 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEFloodElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEFuncAElement.java b/src/main/java/org/w3c/dom/svg/SVGFEFuncAElement.java
new file mode 100644
index 0000000..739982b
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEFuncAElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEFuncAElement extends
+ SVGComponentTransferFunctionElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEFuncBElement.java b/src/main/java/org/w3c/dom/svg/SVGFEFuncBElement.java
new file mode 100644
index 0000000..7afbb51
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEFuncBElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEFuncBElement extends
+ SVGComponentTransferFunctionElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEFuncGElement.java b/src/main/java/org/w3c/dom/svg/SVGFEFuncGElement.java
new file mode 100644
index 0000000..04a43b7
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEFuncGElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEFuncGElement extends
+ SVGComponentTransferFunctionElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEFuncRElement.java b/src/main/java/org/w3c/dom/svg/SVGFEFuncRElement.java
new file mode 100644
index 0000000..b68ca75
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEFuncRElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEFuncRElement extends
+ SVGComponentTransferFunctionElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEGaussianBlurElement.java b/src/main/java/org/w3c/dom/svg/SVGFEGaussianBlurElement.java
new file mode 100644
index 0000000..af1c659
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEGaussianBlurElement.java
@@ -0,0 +1,12 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEGaussianBlurElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedNumber getStdDeviationX( );
+ public SVGAnimatedNumber getStdDeviationY( );
+
+ public void setStdDeviation ( float stdDeviationX, float stdDeviationY );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEImageElement.java b/src/main/java/org/w3c/dom/svg/SVGFEImageElement.java
new file mode 100644
index 0000000..2e4dff4
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEImageElement.java
@@ -0,0 +1,13 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEImageElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGFilterPrimitiveStandardAttributes {
+
+ public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( );
+
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEMergeElement.java b/src/main/java/org/w3c/dom/svg/SVGFEMergeElement.java
new file mode 100644
index 0000000..4224e02
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEMergeElement.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEMergeElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEMergeNodeElement.java b/src/main/java/org/w3c/dom/svg/SVGFEMergeNodeElement.java
new file mode 100644
index 0000000..6cba4e2
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEMergeNodeElement.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEMergeNodeElement extends
+ SVGElement {
+ public SVGAnimatedString getIn1( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEMorphologyElement.java b/src/main/java/org/w3c/dom/svg/SVGFEMorphologyElement.java
new file mode 100644
index 0000000..829ed62
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEMorphologyElement.java
@@ -0,0 +1,16 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEMorphologyElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Morphology Operators
+ public static final short SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0;
+ public static final short SVG_MORPHOLOGY_OPERATOR_ERODE = 1;
+ public static final short SVG_MORPHOLOGY_OPERATOR_DILATE = 2;
+
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedEnumeration getOperator( );
+ public SVGAnimatedNumber getRadiusX( );
+ public SVGAnimatedNumber getRadiusY( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEOffsetElement.java b/src/main/java/org/w3c/dom/svg/SVGFEOffsetElement.java
new file mode 100644
index 0000000..2b57b9c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEOffsetElement.java
@@ -0,0 +1,10 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEOffsetElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedNumber getDx( );
+ public SVGAnimatedNumber getDy( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEPointLightElement.java b/src/main/java/org/w3c/dom/svg/SVGFEPointLightElement.java
new file mode 100644
index 0000000..f1231ae
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFEPointLightElement.java
@@ -0,0 +1,9 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFEPointLightElement extends
+ SVGElement {
+ public SVGAnimatedNumber getX( );
+ public SVGAnimatedNumber getY( );
+ public SVGAnimatedNumber getZ( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFESpecularLightingElement.java b/src/main/java/org/w3c/dom/svg/SVGFESpecularLightingElement.java
new file mode 100644
index 0000000..0c30c19
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFESpecularLightingElement.java
@@ -0,0 +1,11 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFESpecularLightingElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedNumber getSurfaceScale( );
+ public SVGAnimatedNumber getSpecularConstant( );
+ public SVGAnimatedNumber getSpecularExponent( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFESpotLightElement.java b/src/main/java/org/w3c/dom/svg/SVGFESpotLightElement.java
new file mode 100644
index 0000000..5214cb8
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFESpotLightElement.java
@@ -0,0 +1,14 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFESpotLightElement extends
+ SVGElement {
+ public SVGAnimatedNumber getX( );
+ public SVGAnimatedNumber getY( );
+ public SVGAnimatedNumber getZ( );
+ public SVGAnimatedNumber getPointsAtX( );
+ public SVGAnimatedNumber getPointsAtY( );
+ public SVGAnimatedNumber getPointsAtZ( );
+ public SVGAnimatedNumber getSpecularExponent( );
+ public SVGAnimatedNumber getLimitingConeAngle( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFETileElement.java b/src/main/java/org/w3c/dom/svg/SVGFETileElement.java
new file mode 100644
index 0000000..0eb73ec
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFETileElement.java
@@ -0,0 +1,8 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFETileElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFETurbulenceElement.java b/src/main/java/org/w3c/dom/svg/SVGFETurbulenceElement.java
new file mode 100644
index 0000000..4fad7ec
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFETurbulenceElement.java
@@ -0,0 +1,22 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFETurbulenceElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Turbulence Types
+ public static final short SVG_TURBULENCE_TYPE_UNKNOWN = 0;
+ public static final short SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
+ public static final short SVG_TURBULENCE_TYPE_TURBULENCE = 2;
+ // Stitch Options
+ public static final short SVG_STITCHTYPE_UNKNOWN = 0;
+ public static final short SVG_STITCHTYPE_STITCH = 1;
+ public static final short SVG_STITCHTYPE_NOSTITCH = 2;
+
+ public SVGAnimatedNumber getBaseFrequencyX( );
+ public SVGAnimatedNumber getBaseFrequencyY( );
+ public SVGAnimatedInteger getNumOctaves( );
+ public SVGAnimatedNumber getSeed( );
+ public SVGAnimatedEnumeration getStitchTiles( );
+ public SVGAnimatedEnumeration getType( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFilterElement.java b/src/main/java/org/w3c/dom/svg/SVGFilterElement.java
new file mode 100644
index 0000000..2e9d936
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFilterElement.java
@@ -0,0 +1,21 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFilterElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGUnitTypes {
+ public SVGAnimatedEnumeration getFilterUnits( );
+ public SVGAnimatedEnumeration getPrimitiveUnits( );
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+ public SVGAnimatedInteger getFilterResX( );
+ public SVGAnimatedInteger getFilterResY( );
+
+ public void setFilterRes ( int filterResX, int filterResY );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFilterPrimitiveStandardAttributes.java b/src/main/java/org/w3c/dom/svg/SVGFilterPrimitiveStandardAttributes.java
new file mode 100644
index 0000000..44af2e3
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFilterPrimitiveStandardAttributes.java
@@ -0,0 +1,11 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFilterPrimitiveStandardAttributes extends
+ SVGStylable {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+ public SVGAnimatedString getResult( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFitToViewBox.java b/src/main/java/org/w3c/dom/svg/SVGFitToViewBox.java
new file mode 100644
index 0000000..bbc8744
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFitToViewBox.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFitToViewBox {
+ public SVGAnimatedRect getViewBox( );
+ public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFontElement.java b/src/main/java/org/w3c/dom/svg/SVGFontElement.java
new file mode 100644
index 0000000..351c70d
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFontElement.java
@@ -0,0 +1,8 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFontElement extends
+ SVGElement,
+ SVGExternalResourcesRequired,
+ SVGStylable {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFontFaceElement.java b/src/main/java/org/w3c/dom/svg/SVGFontFaceElement.java
new file mode 100644
index 0000000..a466201
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFontFaceElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFontFaceElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFontFaceFormatElement.java b/src/main/java/org/w3c/dom/svg/SVGFontFaceFormatElement.java
new file mode 100644
index 0000000..cc9f3a4
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFontFaceFormatElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFontFaceFormatElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFontFaceNameElement.java b/src/main/java/org/w3c/dom/svg/SVGFontFaceNameElement.java
new file mode 100644
index 0000000..3f2d85d
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFontFaceNameElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFontFaceNameElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFontFaceSrcElement.java b/src/main/java/org/w3c/dom/svg/SVGFontFaceSrcElement.java
new file mode 100644
index 0000000..cf0325a
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFontFaceSrcElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFontFaceSrcElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFontFaceUriElement.java b/src/main/java/org/w3c/dom/svg/SVGFontFaceUriElement.java
new file mode 100644
index 0000000..2edb490
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGFontFaceUriElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGFontFaceUriElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGForeignObjectElement.java b/src/main/java/org/w3c/dom/svg/SVGForeignObjectElement.java
new file mode 100644
index 0000000..794e7a8
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGForeignObjectElement.java
@@ -0,0 +1,18 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGForeignObjectElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGGElement.java b/src/main/java/org/w3c/dom/svg/SVGGElement.java
new file mode 100644
index 0000000..51c0a92
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGGElement.java
@@ -0,0 +1,14 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGGElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGGlyphElement.java b/src/main/java/org/w3c/dom/svg/SVGGlyphElement.java
new file mode 100644
index 0000000..f219b31
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGGlyphElement.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGGlyphElement extends
+ SVGElement,
+ SVGStylable {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGGlyphRefElement.java b/src/main/java/org/w3c/dom/svg/SVGGlyphRefElement.java
new file mode 100644
index 0000000..35bddc1
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGGlyphRefElement.java
@@ -0,0 +1,28 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGGlyphRefElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGStylable {
+ public String getGlyphRef( );
+ public void setGlyphRef( String glyphRef )
+ throws DOMException;
+ public String getFormat( );
+ public void setFormat( String format )
+ throws DOMException;
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getDx( );
+ public void setDx( float dx )
+ throws DOMException;
+ public float getDy( );
+ public void setDy( float dy )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGGradientElement.java b/src/main/java/org/w3c/dom/svg/SVGGradientElement.java
new file mode 100644
index 0000000..87c7c0c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGGradientElement.java
@@ -0,0 +1,19 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGGradientElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGUnitTypes {
+ // Spread Method Types
+ public static final short SVG_SPREADMETHOD_UNKNOWN = 0;
+ public static final short SVG_SPREADMETHOD_PAD = 1;
+ public static final short SVG_SPREADMETHOD_REFLECT = 2;
+ public static final short SVG_SPREADMETHOD_REPEAT = 3;
+
+ public SVGAnimatedEnumeration getGradientUnits( );
+ public SVGAnimatedTransformList getGradientTransform( );
+ public SVGAnimatedEnumeration getSpreadMethod( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGHKernElement.java b/src/main/java/org/w3c/dom/svg/SVGHKernElement.java
new file mode 100644
index 0000000..2744320
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGHKernElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGHKernElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGICCColor.java b/src/main/java/org/w3c/dom/svg/SVGICCColor.java
new file mode 100644
index 0000000..7938213
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGICCColor.java
@@ -0,0 +1,10 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGICCColor {
+ public String getColorProfile( );
+ public void setColorProfile( String colorProfile )
+ throws DOMException;
+ public SVGNumberList getColors( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGImageElement.java b/src/main/java/org/w3c/dom/svg/SVGImageElement.java
new file mode 100644
index 0000000..4a5f240
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGImageElement.java
@@ -0,0 +1,20 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGImageElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+ public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGLangSpace.java b/src/main/java/org/w3c/dom/svg/SVGLangSpace.java
new file mode 100644
index 0000000..c2eff9b
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGLangSpace.java
@@ -0,0 +1,13 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGLangSpace {
+ public String getXMLlang( );
+ public void setXMLlang( String xmllang )
+ throws DOMException;
+ public String getXMLspace( );
+ public void setXMLspace( String xmlspace )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGLength.java b/src/main/java/org/w3c/dom/svg/SVGLength.java
new file mode 100644
index 0000000..a3f9f6e
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGLength.java
@@ -0,0 +1,32 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGLength {
+ // Length Unit Types
+ public static final short SVG_LENGTHTYPE_UNKNOWN = 0;
+ public static final short SVG_LENGTHTYPE_NUMBER = 1;
+ public static final short SVG_LENGTHTYPE_PERCENTAGE = 2;
+ public static final short SVG_LENGTHTYPE_EMS = 3;
+ public static final short SVG_LENGTHTYPE_EXS = 4;
+ public static final short SVG_LENGTHTYPE_PX = 5;
+ public static final short SVG_LENGTHTYPE_CM = 6;
+ public static final short SVG_LENGTHTYPE_MM = 7;
+ public static final short SVG_LENGTHTYPE_IN = 8;
+ public static final short SVG_LENGTHTYPE_PT = 9;
+ public static final short SVG_LENGTHTYPE_PC = 10;
+
+ public short getUnitType( );
+ public float getValue( );
+ public void setValue( float value )
+ throws DOMException;
+ public float getValueInSpecifiedUnits( );
+ public void setValueInSpecifiedUnits( float valueInSpecifiedUnits )
+ throws DOMException;
+ public String getValueAsString( );
+ public void setValueAsString( String valueAsString )
+ throws DOMException;
+
+ public void newValueSpecifiedUnits ( short unitType, float valueInSpecifiedUnits );
+ public void convertToSpecifiedUnits ( short unitType );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGLengthList.java b/src/main/java/org/w3c/dom/svg/SVGLengthList.java
new file mode 100644
index 0000000..ac75627
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGLengthList.java
@@ -0,0 +1,23 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGLengthList {
+ public int getNumberOfItems( );
+
+ public void clear ( )
+ throws DOMException;
+ public SVGLength initialize ( SVGLength newItem )
+ throws DOMException, SVGException;
+ public SVGLength getItem ( int index )
+ throws DOMException;
+ public SVGLength insertItemBefore ( SVGLength newItem, int index )
+ throws DOMException, SVGException;
+ public SVGLength replaceItem ( SVGLength newItem, int index )
+ throws DOMException, SVGException;
+ public SVGLength removeItem ( int index )
+ throws DOMException;
+ public SVGLength appendItem ( SVGLength newItem )
+ throws DOMException, SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGLineElement.java b/src/main/java/org/w3c/dom/svg/SVGLineElement.java
new file mode 100644
index 0000000..faa49e3
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGLineElement.java
@@ -0,0 +1,18 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGLineElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getX1( );
+ public SVGAnimatedLength getY1( );
+ public SVGAnimatedLength getX2( );
+ public SVGAnimatedLength getY2( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGLinearGradientElement.java b/src/main/java/org/w3c/dom/svg/SVGLinearGradientElement.java
new file mode 100644
index 0000000..a0d1f96
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGLinearGradientElement.java
@@ -0,0 +1,10 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGLinearGradientElement extends
+ SVGGradientElement {
+ public SVGAnimatedLength getX1( );
+ public SVGAnimatedLength getY1( );
+ public SVGAnimatedLength getX2( );
+ public SVGAnimatedLength getY2( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGLocatable.java b/src/main/java/org/w3c/dom/svg/SVGLocatable.java
new file mode 100644
index 0000000..4b58621
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGLocatable.java
@@ -0,0 +1,13 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGLocatable {
+ public SVGElement getNearestViewportElement( );
+ public SVGElement getFarthestViewportElement( );
+
+ public SVGRect getBBox ( );
+ public SVGMatrix getCTM ( );
+ public SVGMatrix getScreenCTM ( );
+ public SVGMatrix getTransformToElement ( SVGElement element )
+ throws SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGMPathElement.java b/src/main/java/org/w3c/dom/svg/SVGMPathElement.java
new file mode 100644
index 0000000..4ba7198
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGMPathElement.java
@@ -0,0 +1,8 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGMPathElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGExternalResourcesRequired {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGMarkerElement.java b/src/main/java/org/w3c/dom/svg/SVGMarkerElement.java
new file mode 100644
index 0000000..efd5b5f
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGMarkerElement.java
@@ -0,0 +1,29 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGMarkerElement extends
+ SVGElement,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGFitToViewBox {
+ // Marker Unit Types
+ public static final short SVG_MARKERUNITS_UNKNOWN = 0;
+ public static final short SVG_MARKERUNITS_USERSPACEONUSE = 1;
+ public static final short SVG_MARKERUNITS_STROKEWIDTH = 2;
+ // Marker Orientation Types
+ public static final short SVG_MARKER_ORIENT_UNKNOWN = 0;
+ public static final short SVG_MARKER_ORIENT_AUTO = 1;
+ public static final short SVG_MARKER_ORIENT_ANGLE = 2;
+
+ public SVGAnimatedLength getRefX( );
+ public SVGAnimatedLength getRefY( );
+ public SVGAnimatedEnumeration getMarkerUnits( );
+ public SVGAnimatedLength getMarkerWidth( );
+ public SVGAnimatedLength getMarkerHeight( );
+ public SVGAnimatedEnumeration getOrientType( );
+ public SVGAnimatedAngle getOrientAngle( );
+
+ public void setOrientToAuto ( );
+ public void setOrientToAngle ( SVGAngle angle );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGMaskElement.java b/src/main/java/org/w3c/dom/svg/SVGMaskElement.java
new file mode 100644
index 0000000..f8038d6
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGMaskElement.java
@@ -0,0 +1,17 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGMaskElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGUnitTypes {
+ public SVGAnimatedEnumeration getMaskUnits( );
+ public SVGAnimatedEnumeration getMaskContentUnits( );
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGMatrix.java b/src/main/java/org/w3c/dom/svg/SVGMatrix.java
new file mode 100644
index 0000000..caff00d
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGMatrix.java
@@ -0,0 +1,39 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGMatrix {
+ public float getA( );
+ public void setA( float a )
+ throws DOMException;
+ public float getB( );
+ public void setB( float b )
+ throws DOMException;
+ public float getC( );
+ public void setC( float c )
+ throws DOMException;
+ public float getD( );
+ public void setD( float d )
+ throws DOMException;
+ public float getE( );
+ public void setE( float e )
+ throws DOMException;
+ public float getF( );
+ public void setF( float f )
+ throws DOMException;
+
+ public SVGMatrix multiply ( SVGMatrix secondMatrix );
+ public SVGMatrix inverse ( )
+ throws SVGException;
+ public SVGMatrix translate ( float x, float y );
+ public SVGMatrix scale ( float scaleFactor );
+ public SVGMatrix scaleNonUniform ( float scaleFactorX, float scaleFactorY );
+ public SVGMatrix rotate ( float angle );
+ public SVGMatrix rotateFromVector ( float x, float y )
+ throws SVGException;
+ public SVGMatrix flipX ( );
+ public SVGMatrix flipY ( );
+ public SVGMatrix skewX ( float angle );
+ public SVGMatrix skewY ( float angle );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGMetadataElement.java b/src/main/java/org/w3c/dom/svg/SVGMetadataElement.java
new file mode 100644
index 0000000..cd1c007
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGMetadataElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGMetadataElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGMissingGlyphElement.java b/src/main/java/org/w3c/dom/svg/SVGMissingGlyphElement.java
new file mode 100644
index 0000000..ce426ff
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGMissingGlyphElement.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGMissingGlyphElement extends
+ SVGElement,
+ SVGStylable {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGNumber.java b/src/main/java/org/w3c/dom/svg/SVGNumber.java
new file mode 100644
index 0000000..f4ee801
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGNumber.java
@@ -0,0 +1,10 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGNumber {
+ public float getValue( );
+ public void setValue( float value )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGNumberList.java b/src/main/java/org/w3c/dom/svg/SVGNumberList.java
new file mode 100644
index 0000000..e443caa
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGNumberList.java
@@ -0,0 +1,23 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGNumberList {
+ public int getNumberOfItems( );
+
+ public void clear ( )
+ throws DOMException;
+ public SVGNumber initialize ( SVGNumber newItem )
+ throws DOMException, SVGException;
+ public SVGNumber getItem ( int index )
+ throws DOMException;
+ public SVGNumber insertItemBefore ( SVGNumber newItem, int index )
+ throws DOMException, SVGException;
+ public SVGNumber replaceItem ( SVGNumber newItem, int index )
+ throws DOMException, SVGException;
+ public SVGNumber removeItem ( int index )
+ throws DOMException;
+ public SVGNumber appendItem ( SVGNumber newItem )
+ throws DOMException, SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPaint.java b/src/main/java/org/w3c/dom/svg/SVGPaint.java
new file mode 100644
index 0000000..6a6451c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPaint.java
@@ -0,0 +1,26 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.css.RGBColor;
+
+public interface SVGPaint extends
+ SVGColor {
+ // Paint Types
+ public static final short SVG_PAINTTYPE_UNKNOWN = 0;
+ public static final short SVG_PAINTTYPE_RGBCOLOR = 1;
+ public static final short SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2;
+ public static final short SVG_PAINTTYPE_NONE = 101;
+ public static final short SVG_PAINTTYPE_CURRENTCOLOR = 102;
+ public static final short SVG_PAINTTYPE_URI_NONE = 103;
+ public static final short SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;
+ public static final short SVG_PAINTTYPE_URI_RGBCOLOR = 105;
+ public static final short SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
+ public static final short SVG_PAINTTYPE_URI = 107;
+
+ public short getPaintType( );
+ public String getUri( );
+
+ public void setUri ( String uri );
+ public void setPaint ( short paintType, String uri, String rgbColor, String iccColor )
+ throws SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathElement.java b/src/main/java/org/w3c/dom/svg/SVGPathElement.java
new file mode 100644
index 0000000..b5522ca
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathElement.java
@@ -0,0 +1,39 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGPathElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget,
+ SVGAnimatedPathData {
+ public SVGAnimatedNumber getPathLength( );
+
+ public float getTotalLength ( );
+ public SVGPoint getPointAtLength ( float distance );
+ public int getPathSegAtLength ( float distance );
+ public SVGPathSegClosePath createSVGPathSegClosePath ( );
+ public SVGPathSegMovetoAbs createSVGPathSegMovetoAbs ( float x, float y );
+ public SVGPathSegMovetoRel createSVGPathSegMovetoRel ( float x, float y );
+ public SVGPathSegLinetoAbs createSVGPathSegLinetoAbs ( float x, float y );
+ public SVGPathSegLinetoRel createSVGPathSegLinetoRel ( float x, float y );
+ public SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs ( float x, float y, float x1, float y1, float x2, float y2 );
+ public SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel ( float x, float y, float x1, float y1, float x2, float y2 );
+ public SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs ( float x, float y, float x1, float y1 );
+ public SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel ( float x, float y, float x1, float y1 );
+ public SVGPathSegArcAbs createSVGPathSegArcAbs ( float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag );
+ public SVGPathSegArcRel createSVGPathSegArcRel ( float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag );
+ public SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs ( float x );
+ public SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel ( float x );
+ public SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs ( float y );
+ public SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel ( float y );
+ public SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs ( float x, float y, float x2, float y2 );
+ public SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel ( float x, float y, float x2, float y2 );
+ public SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs ( float x, float y );
+ public SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel ( float x, float y );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSeg.java b/src/main/java/org/w3c/dom/svg/SVGPathSeg.java
new file mode 100644
index 0000000..698239a
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSeg.java
@@ -0,0 +1,29 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGPathSeg {
+ // Path Segment Types
+ public static final short PATHSEG_UNKNOWN = 0;
+ public static final short PATHSEG_CLOSEPATH = 1;
+ public static final short PATHSEG_MOVETO_ABS = 2;
+ public static final short PATHSEG_MOVETO_REL = 3;
+ public static final short PATHSEG_LINETO_ABS = 4;
+ public static final short PATHSEG_LINETO_REL = 5;
+ public static final short PATHSEG_CURVETO_CUBIC_ABS = 6;
+ public static final short PATHSEG_CURVETO_CUBIC_REL = 7;
+ public static final short PATHSEG_CURVETO_QUADRATIC_ABS = 8;
+ public static final short PATHSEG_CURVETO_QUADRATIC_REL = 9;
+ public static final short PATHSEG_ARC_ABS = 10;
+ public static final short PATHSEG_ARC_REL = 11;
+ public static final short PATHSEG_LINETO_HORIZONTAL_ABS = 12;
+ public static final short PATHSEG_LINETO_HORIZONTAL_REL = 13;
+ public static final short PATHSEG_LINETO_VERTICAL_ABS = 14;
+ public static final short PATHSEG_LINETO_VERTICAL_REL = 15;
+ public static final short PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16;
+ public static final short PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17;
+ public static final short PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
+ public static final short PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
+
+ public short getPathSegType( );
+ public String getPathSegTypeAsLetter( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegArcAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegArcAbs.java
new file mode 100644
index 0000000..150340c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegArcAbs.java
@@ -0,0 +1,29 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegArcAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getR1( );
+ public void setR1( float r1 )
+ throws DOMException;
+ public float getR2( );
+ public void setR2( float r2 )
+ throws DOMException;
+ public float getAngle( );
+ public void setAngle( float angle )
+ throws DOMException;
+ public boolean getLargeArcFlag( );
+ public void setLargeArcFlag( boolean largeArcFlag )
+ throws DOMException;
+ public boolean getSweepFlag( );
+ public void setSweepFlag( boolean sweepFlag )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegArcRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegArcRel.java
new file mode 100644
index 0000000..01107ec
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegArcRel.java
@@ -0,0 +1,29 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegArcRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getR1( );
+ public void setR1( float r1 )
+ throws DOMException;
+ public float getR2( );
+ public void setR2( float r2 )
+ throws DOMException;
+ public float getAngle( );
+ public void setAngle( float angle )
+ throws DOMException;
+ public boolean getLargeArcFlag( );
+ public void setLargeArcFlag( boolean largeArcFlag )
+ throws DOMException;
+ public boolean getSweepFlag( );
+ public void setSweepFlag( boolean sweepFlag )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegClosePath.java b/src/main/java/org/w3c/dom/svg/SVGPathSegClosePath.java
new file mode 100644
index 0000000..9cf1c43
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegClosePath.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGPathSegClosePath extends
+ SVGPathSeg {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicAbs.java
new file mode 100644
index 0000000..7286492
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicAbs.java
@@ -0,0 +1,26 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoCubicAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getX1( );
+ public void setX1( float x1 )
+ throws DOMException;
+ public float getY1( );
+ public void setY1( float y1 )
+ throws DOMException;
+ public float getX2( );
+ public void setX2( float x2 )
+ throws DOMException;
+ public float getY2( );
+ public void setY2( float y2 )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicRel.java
new file mode 100644
index 0000000..4883ea1
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicRel.java
@@ -0,0 +1,26 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoCubicRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getX1( );
+ public void setX1( float x1 )
+ throws DOMException;
+ public float getY1( );
+ public void setY1( float y1 )
+ throws DOMException;
+ public float getX2( );
+ public void setX2( float x2 )
+ throws DOMException;
+ public float getY2( );
+ public void setY2( float y2 )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothAbs.java
new file mode 100644
index 0000000..db806d7
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothAbs.java
@@ -0,0 +1,20 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoCubicSmoothAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getX2( );
+ public void setX2( float x2 )
+ throws DOMException;
+ public float getY2( );
+ public void setY2( float y2 )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothRel.java
new file mode 100644
index 0000000..696bb6c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothRel.java
@@ -0,0 +1,20 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoCubicSmoothRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getX2( );
+ public void setX2( float x2 )
+ throws DOMException;
+ public float getY2( );
+ public void setY2( float y2 )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticAbs.java
new file mode 100644
index 0000000..db03df2
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticAbs.java
@@ -0,0 +1,20 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoQuadraticAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getX1( );
+ public void setX1( float x1 )
+ throws DOMException;
+ public float getY1( );
+ public void setY1( float y1 )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticRel.java
new file mode 100644
index 0000000..68f2394
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticRel.java
@@ -0,0 +1,20 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoQuadraticRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getX1( );
+ public void setX1( float x1 )
+ throws DOMException;
+ public float getY1( );
+ public void setY1( float y1 )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothAbs.java
new file mode 100644
index 0000000..307ab51
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothAbs.java
@@ -0,0 +1,14 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoQuadraticSmoothAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothRel.java
new file mode 100644
index 0000000..7fcfc39
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothRel.java
@@ -0,0 +1,14 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoQuadraticSmoothRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoAbs.java
new file mode 100644
index 0000000..a4f55b9
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoAbs.java
@@ -0,0 +1,14 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegLinetoAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalAbs.java
new file mode 100644
index 0000000..f045467
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalAbs.java
@@ -0,0 +1,11 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegLinetoHorizontalAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalRel.java
new file mode 100644
index 0000000..19f320d
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalRel.java
@@ -0,0 +1,11 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegLinetoHorizontalRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoRel.java
new file mode 100644
index 0000000..f5abb2e
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoRel.java
@@ -0,0 +1,14 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegLinetoRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalAbs.java
new file mode 100644
index 0000000..b9bc913
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalAbs.java
@@ -0,0 +1,11 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegLinetoVerticalAbs extends
+ SVGPathSeg {
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalRel.java
new file mode 100644
index 0000000..5a69a83
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalRel.java
@@ -0,0 +1,11 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegLinetoVerticalRel extends
+ SVGPathSeg {
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegList.java b/src/main/java/org/w3c/dom/svg/SVGPathSegList.java
new file mode 100644
index 0000000..7d688f3
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegList.java
@@ -0,0 +1,23 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegList {
+ public int getNumberOfItems( );
+
+ public void clear ( )
+ throws DOMException;
+ public SVGPathSeg initialize ( SVGPathSeg newItem )
+ throws DOMException, SVGException;
+ public SVGPathSeg getItem ( int index )
+ throws DOMException;
+ public SVGPathSeg insertItemBefore ( SVGPathSeg newItem, int index )
+ throws DOMException, SVGException;
+ public SVGPathSeg replaceItem ( SVGPathSeg newItem, int index )
+ throws DOMException, SVGException;
+ public SVGPathSeg removeItem ( int index )
+ throws DOMException;
+ public SVGPathSeg appendItem ( SVGPathSeg newItem )
+ throws DOMException, SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoAbs.java
new file mode 100644
index 0000000..20bd825
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoAbs.java
@@ -0,0 +1,14 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegMovetoAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoRel.java
new file mode 100644
index 0000000..95ec75f
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoRel.java
@@ -0,0 +1,14 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegMovetoRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPatternElement.java b/src/main/java/org/w3c/dom/svg/SVGPatternElement.java
new file mode 100644
index 0000000..a6ce5ca
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPatternElement.java
@@ -0,0 +1,20 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGPatternElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGFitToViewBox,
+ SVGUnitTypes {
+ public SVGAnimatedEnumeration getPatternUnits( );
+ public SVGAnimatedEnumeration getPatternContentUnits( );
+ public SVGAnimatedTransformList getPatternTransform( );
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPoint.java b/src/main/java/org/w3c/dom/svg/SVGPoint.java
new file mode 100644
index 0000000..441b65c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPoint.java
@@ -0,0 +1,15 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPoint {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+
+ public SVGPoint matrixTransform ( SVGMatrix matrix );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPointList.java b/src/main/java/org/w3c/dom/svg/SVGPointList.java
new file mode 100644
index 0000000..b3e41c6
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPointList.java
@@ -0,0 +1,23 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPointList {
+ public int getNumberOfItems( );
+
+ public void clear ( )
+ throws DOMException;
+ public SVGPoint initialize ( SVGPoint newItem )
+ throws DOMException, SVGException;
+ public SVGPoint getItem ( int index )
+ throws DOMException;
+ public SVGPoint insertItemBefore ( SVGPoint newItem, int index )
+ throws DOMException, SVGException;
+ public SVGPoint replaceItem ( SVGPoint newItem, int index )
+ throws DOMException, SVGException;
+ public SVGPoint removeItem ( int index )
+ throws DOMException;
+ public SVGPoint appendItem ( SVGPoint newItem )
+ throws DOMException, SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPolygonElement.java b/src/main/java/org/w3c/dom/svg/SVGPolygonElement.java
new file mode 100644
index 0000000..62b905e
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPolygonElement.java
@@ -0,0 +1,15 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGPolygonElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget,
+ SVGAnimatedPoints {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPolylineElement.java b/src/main/java/org/w3c/dom/svg/SVGPolylineElement.java
new file mode 100644
index 0000000..402b68c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPolylineElement.java
@@ -0,0 +1,15 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGPolylineElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget,
+ SVGAnimatedPoints {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPreserveAspectRatio.java b/src/main/java/org/w3c/dom/svg/SVGPreserveAspectRatio.java
new file mode 100644
index 0000000..b276f43
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGPreserveAspectRatio.java
@@ -0,0 +1,30 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPreserveAspectRatio {
+ // Alignment Types
+ public static final short SVG_PRESERVEASPECTRATIO_UNKNOWN = 0;
+ public static final short SVG_PRESERVEASPECTRATIO_NONE = 1;
+ public static final short SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
+ public static final short SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
+ public static final short SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4;
+ public static final short SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
+ public static final short SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
+ public static final short SVG_PRESERVEASPECTRATIO_XMAXYMID = 7;
+ public static final short SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
+ public static final short SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9;
+ public static final short SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10;
+ // Meet-or-slice Types
+ public static final short SVG_MEETORSLICE_UNKNOWN = 0;
+ public static final short SVG_MEETORSLICE_MEET = 1;
+ public static final short SVG_MEETORSLICE_SLICE = 2;
+
+ public short getAlign( );
+ public void setAlign( short align )
+ throws DOMException;
+ public short getMeetOrSlice( );
+ public void setMeetOrSlice( short meetOrSlice )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGRadialGradientElement.java b/src/main/java/org/w3c/dom/svg/SVGRadialGradientElement.java
new file mode 100644
index 0000000..5307350
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGRadialGradientElement.java
@@ -0,0 +1,11 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGRadialGradientElement extends
+ SVGGradientElement {
+ public SVGAnimatedLength getCx( );
+ public SVGAnimatedLength getCy( );
+ public SVGAnimatedLength getR( );
+ public SVGAnimatedLength getFx( );
+ public SVGAnimatedLength getFy( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGRect.java b/src/main/java/org/w3c/dom/svg/SVGRect.java
new file mode 100644
index 0000000..c55453c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGRect.java
@@ -0,0 +1,19 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGRect {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getWidth( );
+ public void setWidth( float width )
+ throws DOMException;
+ public float getHeight( );
+ public void setHeight( float height )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGRectElement.java b/src/main/java/org/w3c/dom/svg/SVGRectElement.java
new file mode 100644
index 0000000..aec04b0
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGRectElement.java
@@ -0,0 +1,20 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGRectElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+ public SVGAnimatedLength getRx( );
+ public SVGAnimatedLength getRy( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGRenderingIntent.java b/src/main/java/org/w3c/dom/svg/SVGRenderingIntent.java
new file mode 100644
index 0000000..81b61c5
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGRenderingIntent.java
@@ -0,0 +1,12 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGRenderingIntent {
+ // Rendering Intent Types
+ public static final short RENDERING_INTENT_UNKNOWN = 0;
+ public static final short RENDERING_INTENT_AUTO = 1;
+ public static final short RENDERING_INTENT_PERCEPTUAL = 2;
+ public static final short RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3;
+ public static final short RENDERING_INTENT_SATURATION = 4;
+ public static final short RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGSVGElement.java b/src/main/java/org/w3c/dom/svg/SVGSVGElement.java
new file mode 100644
index 0000000..2fefaaa
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGSVGElement.java
@@ -0,0 +1,74 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.DocumentEvent;
+import org.w3c.dom.events.EventTarget;
+import org.w3c.dom.DOMException;
+import org.w3c.dom.NodeList;
+import org.w3c.dom.Element;
+import org.w3c.dom.css.ViewCSS;
+import org.w3c.dom.css.DocumentCSS;
+import org.w3c.dom.css.RGBColor;
+
+public interface SVGSVGElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGLocatable,
+ SVGFitToViewBox,
+ SVGZoomAndPan,
+ EventTarget,
+ DocumentEvent,
+ ViewCSS,
+ DocumentCSS {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+ public String getContentScriptType( );
+ public void setContentScriptType( String contentScriptType )
+ throws DOMException;
+ public String getContentStyleType( );
+ public void setContentStyleType( String contentStyleType )
+ throws DOMException;
+ public SVGRect getViewport( );
+ public float getPixelUnitToMillimeterX( );
+ public float getPixelUnitToMillimeterY( );
+ public float getScreenPixelToMillimeterX( );
+ public float getScreenPixelToMillimeterY( );
+ public boolean getUseCurrentView( );
+ public void setUseCurrentView( boolean useCurrentView )
+ throws DOMException;
+ public SVGViewSpec getCurrentView( );
+ public float getCurrentScale( );
+ public void setCurrentScale( float currentScale )
+ throws DOMException;
+ public SVGPoint getCurrentTranslate( );
+
+ public int suspendRedraw ( int max_wait_milliseconds );
+ public void unsuspendRedraw ( int suspend_handle_id )
+ throws DOMException;
+ public void unsuspendRedrawAll ( );
+ public void forceRedraw ( );
+ public void pauseAnimations ( );
+ public void unpauseAnimations ( );
+ public boolean animationsPaused ( );
+ public float getCurrentTime ( );
+ public void setCurrentTime ( float seconds );
+ public NodeList getIntersectionList ( SVGRect rect, SVGElement referenceElement );
+ public NodeList getEnclosureList ( SVGRect rect, SVGElement referenceElement );
+ public boolean checkIntersection ( SVGElement element, SVGRect rect );
+ public boolean checkEnclosure ( SVGElement element, SVGRect rect );
+ public void deselectAll ( );
+ public SVGNumber createSVGNumber ( );
+ public SVGLength createSVGLength ( );
+ public SVGAngle createSVGAngle ( );
+ public SVGPoint createSVGPoint ( );
+ public SVGMatrix createSVGMatrix ( );
+ public SVGRect createSVGRect ( );
+ public SVGTransform createSVGTransform ( );
+ public SVGTransform createSVGTransformFromMatrix ( SVGMatrix matrix );
+ public Element getElementById ( String elementId );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGScriptElement.java b/src/main/java/org/w3c/dom/svg/SVGScriptElement.java
new file mode 100644
index 0000000..7dd0a60
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGScriptElement.java
@@ -0,0 +1,13 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGScriptElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGExternalResourcesRequired {
+ public String getType( );
+ public void setType( String type )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGSetElement.java b/src/main/java/org/w3c/dom/svg/SVGSetElement.java
new file mode 100644
index 0000000..568e90e
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGSetElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGSetElement extends
+ SVGAnimationElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGStopElement.java b/src/main/java/org/w3c/dom/svg/SVGStopElement.java
new file mode 100644
index 0000000..250c5e0
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGStopElement.java
@@ -0,0 +1,8 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGStopElement extends
+ SVGElement,
+ SVGStylable {
+ public SVGAnimatedNumber getOffset( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGStringList.java b/src/main/java/org/w3c/dom/svg/SVGStringList.java
new file mode 100644
index 0000000..05f860c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGStringList.java
@@ -0,0 +1,23 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGStringList {
+ public int getNumberOfItems( );
+
+ public void clear ( )
+ throws DOMException;
+ public String initialize ( String newItem )
+ throws DOMException, SVGException;
+ public String getItem ( int index )
+ throws DOMException;
+ public String insertItemBefore ( String newItem, int index )
+ throws DOMException, SVGException;
+ public String replaceItem ( String newItem, int index )
+ throws DOMException, SVGException;
+ public String removeItem ( int index )
+ throws DOMException;
+ public String appendItem ( String newItem )
+ throws DOMException, SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGStylable.java b/src/main/java/org/w3c/dom/svg/SVGStylable.java
new file mode 100644
index 0000000..0d547c6
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGStylable.java
@@ -0,0 +1,12 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.css.CSSStyleDeclaration;
+import org.w3c.dom.css.CSSValue;
+
+public interface SVGStylable {
+ public SVGAnimatedString getClassName( );
+ public CSSStyleDeclaration getStyle( );
+
+ public CSSValue getPresentationAttribute ( String name );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGStyleElement.java b/src/main/java/org/w3c/dom/svg/SVGStyleElement.java
new file mode 100644
index 0000000..b8e110e
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGStyleElement.java
@@ -0,0 +1,20 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGStyleElement extends
+ SVGElement {
+ public String getXMLspace( );
+ public void setXMLspace( String xmlspace )
+ throws DOMException;
+ public String getType( );
+ public void setType( String type )
+ throws DOMException;
+ public String getMedia( );
+ public void setMedia( String media )
+ throws DOMException;
+ public String getTitle( );
+ public void setTitle( String title )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGSwitchElement.java b/src/main/java/org/w3c/dom/svg/SVGSwitchElement.java
new file mode 100644
index 0000000..0db51f1
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGSwitchElement.java
@@ -0,0 +1,14 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGSwitchElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGSymbolElement.java b/src/main/java/org/w3c/dom/svg/SVGSymbolElement.java
new file mode 100644
index 0000000..c2bb0e2
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGSymbolElement.java
@@ -0,0 +1,13 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGSymbolElement extends
+ SVGElement,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGFitToViewBox,
+ EventTarget {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTRefElement.java b/src/main/java/org/w3c/dom/svg/SVGTRefElement.java
new file mode 100644
index 0000000..493c883
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGTRefElement.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGTRefElement extends
+ SVGTextPositioningElement,
+ SVGURIReference {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTSpanElement.java b/src/main/java/org/w3c/dom/svg/SVGTSpanElement.java
new file mode 100644
index 0000000..0c450ca
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGTSpanElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGTSpanElement extends
+ SVGTextPositioningElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTests.java b/src/main/java/org/w3c/dom/svg/SVGTests.java
new file mode 100644
index 0000000..4e0d6a4
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGTests.java
@@ -0,0 +1,10 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGTests {
+ public SVGStringList getRequiredFeatures( );
+ public SVGStringList getRequiredExtensions( );
+ public SVGStringList getSystemLanguage( );
+
+ public boolean hasExtension ( String extension );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTextContentElement.java b/src/main/java/org/w3c/dom/svg/SVGTextContentElement.java
new file mode 100644
index 0000000..7f27be2
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGTextContentElement.java
@@ -0,0 +1,37 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+import org.w3c.dom.DOMException;
+
+public interface SVGTextContentElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ EventTarget {
+ // lengthAdjust Types
+ public static final short LENGTHADJUST_UNKNOWN = 0;
+ public static final short LENGTHADJUST_SPACING = 1;
+ public static final short LENGTHADJUST_SPACINGANDGLYPHS = 2;
+
+ public SVGAnimatedLength getTextLength( );
+ public SVGAnimatedEnumeration getLengthAdjust( );
+
+ public int getNumberOfChars ( );
+ public float getComputedTextLength ( );
+ public float getSubStringLength ( int charnum, int nchars )
+ throws DOMException;
+ public SVGPoint getStartPositionOfChar ( int charnum )
+ throws DOMException;
+ public SVGPoint getEndPositionOfChar ( int charnum )
+ throws DOMException;
+ public SVGRect getExtentOfChar ( int charnum )
+ throws DOMException;
+ public float getRotationOfChar ( int charnum )
+ throws DOMException;
+ public int getCharNumAtPosition ( SVGPoint point );
+ public void selectSubString ( int charnum, int nchars )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTextElement.java b/src/main/java/org/w3c/dom/svg/SVGTextElement.java
new file mode 100644
index 0000000..a77c88c
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGTextElement.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGTextElement extends
+ SVGTextPositioningElement,
+ SVGTransformable {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTextPathElement.java b/src/main/java/org/w3c/dom/svg/SVGTextPathElement.java
new file mode 100644
index 0000000..bbd56a4
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGTextPathElement.java
@@ -0,0 +1,19 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGTextPathElement extends
+ SVGTextContentElement,
+ SVGURIReference {
+ // textPath Method Types
+ public static final short TEXTPATH_METHODTYPE_UNKNOWN = 0;
+ public static final short TEXTPATH_METHODTYPE_ALIGN = 1;
+ public static final short TEXTPATH_METHODTYPE_STRETCH = 2;
+ // textPath Spacing Types
+ public static final short TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
+ public static final short TEXTPATH_SPACINGTYPE_AUTO = 1;
+ public static final short TEXTPATH_SPACINGTYPE_EXACT = 2;
+
+ public SVGAnimatedLength getStartOffset( );
+ public SVGAnimatedEnumeration getMethod( );
+ public SVGAnimatedEnumeration getSpacing( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTextPositioningElement.java b/src/main/java/org/w3c/dom/svg/SVGTextPositioningElement.java
new file mode 100644
index 0000000..93b9b60
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGTextPositioningElement.java
@@ -0,0 +1,11 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGTextPositioningElement extends
+ SVGTextContentElement {
+ public SVGAnimatedLengthList getX( );
+ public SVGAnimatedLengthList getY( );
+ public SVGAnimatedLengthList getDx( );
+ public SVGAnimatedLengthList getDy( );
+ public SVGAnimatedNumberList getRotate( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTitleElement.java b/src/main/java/org/w3c/dom/svg/SVGTitleElement.java
new file mode 100644
index 0000000..1252a15
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGTitleElement.java
@@ -0,0 +1,8 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGTitleElement extends
+ SVGElement,
+ SVGLangSpace,
+ SVGStylable {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTransform.java b/src/main/java/org/w3c/dom/svg/SVGTransform.java
new file mode 100644
index 0000000..2778d7a
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGTransform.java
@@ -0,0 +1,24 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGTransform {
+ // Transform Types
+ public static final short SVG_TRANSFORM_UNKNOWN = 0;
+ public static final short SVG_TRANSFORM_MATRIX = 1;
+ public static final short SVG_TRANSFORM_TRANSLATE = 2;
+ public static final short SVG_TRANSFORM_SCALE = 3;
+ public static final short SVG_TRANSFORM_ROTATE = 4;
+ public static final short SVG_TRANSFORM_SKEWX = 5;
+ public static final short SVG_TRANSFORM_SKEWY = 6;
+
+ public short getType( );
+ public SVGMatrix getMatrix( );
+ public float getAngle( );
+
+ public void setMatrix ( SVGMatrix matrix );
+ public void setTranslate ( float tx, float ty );
+ public void setScale ( float sx, float sy );
+ public void setRotate ( float angle, float cx, float cy );
+ public void setSkewX ( float angle );
+ public void setSkewY ( float angle );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTransformList.java b/src/main/java/org/w3c/dom/svg/SVGTransformList.java
new file mode 100644
index 0000000..238d2a7
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGTransformList.java
@@ -0,0 +1,25 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGTransformList {
+ public int getNumberOfItems( );
+
+ public void clear ( )
+ throws DOMException;
+ public SVGTransform initialize ( SVGTransform newItem )
+ throws DOMException, SVGException;
+ public SVGTransform getItem ( int index )
+ throws DOMException;
+ public SVGTransform insertItemBefore ( SVGTransform newItem, int index )
+ throws DOMException, SVGException;
+ public SVGTransform replaceItem ( SVGTransform newItem, int index )
+ throws DOMException, SVGException;
+ public SVGTransform removeItem ( int index )
+ throws DOMException;
+ public SVGTransform appendItem ( SVGTransform newItem )
+ throws DOMException, SVGException;
+ public SVGTransform createSVGTransformFromMatrix ( SVGMatrix matrix );
+ public SVGTransform consolidate ( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTransformable.java b/src/main/java/org/w3c/dom/svg/SVGTransformable.java
new file mode 100644
index 0000000..d3db6e6
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGTransformable.java
@@ -0,0 +1,7 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGTransformable extends
+ SVGLocatable {
+ public SVGAnimatedTransformList getTransform( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGURIReference.java b/src/main/java/org/w3c/dom/svg/SVGURIReference.java
new file mode 100644
index 0000000..c876e11
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGURIReference.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGURIReference {
+ public SVGAnimatedString getHref( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGUnitTypes.java b/src/main/java/org/w3c/dom/svg/SVGUnitTypes.java
new file mode 100644
index 0000000..b883e55
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGUnitTypes.java
@@ -0,0 +1,9 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGUnitTypes {
+ // Unit Types
+ public static final short SVG_UNIT_TYPE_UNKNOWN = 0;
+ public static final short SVG_UNIT_TYPE_USERSPACEONUSE = 1;
+ public static final short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGUseElement.java b/src/main/java/org/w3c/dom/svg/SVGUseElement.java
new file mode 100644
index 0000000..cfbb8f3
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGUseElement.java
@@ -0,0 +1,21 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGUseElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+ public SVGElementInstance getInstanceRoot( );
+ public SVGElementInstance getAnimatedInstanceRoot( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGVKernElement.java b/src/main/java/org/w3c/dom/svg/SVGVKernElement.java
new file mode 100644
index 0000000..9236d70
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGVKernElement.java
@@ -0,0 +1,6 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGVKernElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGViewElement.java b/src/main/java/org/w3c/dom/svg/SVGViewElement.java
new file mode 100644
index 0000000..e18d8bb
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGViewElement.java
@@ -0,0 +1,10 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGViewElement extends
+ SVGElement,
+ SVGExternalResourcesRequired,
+ SVGFitToViewBox,
+ SVGZoomAndPan {
+ public SVGStringList getViewTarget( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGViewSpec.java b/src/main/java/org/w3c/dom/svg/SVGViewSpec.java
new file mode 100644
index 0000000..a0200f0
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGViewSpec.java
@@ -0,0 +1,13 @@
+
+package org.w3c.dom.svg;
+
+public interface SVGViewSpec extends
+ SVGZoomAndPan,
+ SVGFitToViewBox {
+ public SVGTransformList getTransform( );
+ public SVGElement getViewTarget( );
+ public String getViewBoxString( );
+ public String getPreserveAspectRatioString( );
+ public String getTransformString( );
+ public String getViewTargetString( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGZoomAndPan.java b/src/main/java/org/w3c/dom/svg/SVGZoomAndPan.java
new file mode 100644
index 0000000..6d35ac5
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGZoomAndPan.java
@@ -0,0 +1,15 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGZoomAndPan {
+ // Zoom and Pan Types
+ public static final short SVG_ZOOMANDPAN_UNKNOWN = 0;
+ public static final short SVG_ZOOMANDPAN_DISABLE = 1;
+ public static final short SVG_ZOOMANDPAN_MAGNIFY = 2;
+
+ public short getZoomAndPan( );
+ public void setZoomAndPan( short zoomAndPan )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGZoomEvent.java b/src/main/java/org/w3c/dom/svg/SVGZoomEvent.java
new file mode 100644
index 0000000..742b3ce
--- /dev/null
+++ b/src/main/java/org/w3c/dom/svg/SVGZoomEvent.java
@@ -0,0 +1,13 @@
+
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.UIEvent;
+
+public interface SVGZoomEvent extends
+ UIEvent {
+ public SVGRect getZoomRectScreen( );
+ public float getPreviousScale( );
+ public SVGPoint getPreviousTranslate( );
+ public float getNewScale( );
+ public SVGPoint getNewTranslate( );
+}
--
cgit v1.2.3-55-g7522