summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkitfox2007-04-13 17:37:54 +0200
committerkitfox2007-04-13 17:37:54 +0200
commitda3090bc6de061f2b611138a9fbfe6f2db477cfc (patch)
tree96ef86d88f17a3333412ead9a5497b459871d719
parentAdded text and formatting interfaces. (diff)
downloadsvg-salamander-core-da3090bc6de061f2b611138a9fbfe6f2db477cfc.tar.gz
svg-salamander-core-da3090bc6de061f2b611138a9fbfe6f2db477cfc.tar.xz
svg-salamander-core-da3090bc6de061f2b611138a9fbfe6f2db477cfc.zip
Added filter interfaces.
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@23 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedEnumeration.java6
-rw-r--r--src/main/java/com/kitfox/salamander/svg/clip/SVGClipPathElement.java2
-rw-r--r--src/main/java/com/kitfox/salamander/svg/clip/SVGMaskElement.java4
-rw-r--r--src/main/java/com/kitfox/salamander/svg/fills/SVGGradientElement.java5
-rw-r--r--src/main/java/com/kitfox/salamander/svg/fills/SVGPatternElement.java4
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGComponentTransferFunctionElement.java76
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEBlendElement.java63
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEColorMatrixElement.java61
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEComponentTransferElement.java26
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFECompositeElement.java82
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEConvolveMatrixElement.java88
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEDiffuseLightingElement.java43
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEDisplacementMapElement.java67
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEDistantLightElement.java29
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEFloodElement.java26
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncAElement.java19
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncBElement.java19
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncGElement.java19
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncRElement.java19
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEGaussianBlurElement.java42
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEImageElement.java32
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEMergeElement.java22
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEMergeNodeElement.java25
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEMorphologyElement.java54
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEOffseElement.java35
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFEPointLightElement.java33
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFESpecularLightingElement.java39
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFESpotLightElement.java53
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFETileElement.java26
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFETurbulenceElement.java76
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFilterElement.java72
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGFilterPrimitiveStandardAttributes.java42
-rw-r--r--src/main/java/com/kitfox/salamander/svg/paint/SVGMarkerElement.java4
-rw-r--r--src/main/java/com/kitfox/salamander/svg/text/SVGTextContentElement.java2
-rw-r--r--src/main/java/com/kitfox/salamander/svg/text/SVGTextPathElement.java4
35 files changed, 1204 insertions, 15 deletions
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedEnumeration.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedEnumeration.java
index cc79e8c..6ececa6 100755
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedEnumeration.java
+++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedEnumeration.java
@@ -14,14 +14,14 @@ package com.kitfox.salamander.svg.basic;
* Used for attributes of type DOMString which can be animated.
* @author kitfox
*/
-public interface SVGAnimatedEnumeration
+public interface SVGAnimatedEnumeration<T extends Enum>
{
/**
* The base value of the given attribute before applying any animations.
*/
- public Enum getBaseVal();
+ public T getBaseVal();
/**
* If the given attribute or property is being animated, contains the current animated value of the attribute or property. If the given attribute or property is not currently being animated, contains the same value as 'baseVal'.
*/
- public Enum getAnimVal();
+ public T getAnimVal();
}
diff --git a/src/main/java/com/kitfox/salamander/svg/clip/SVGClipPathElement.java b/src/main/java/com/kitfox/salamander/svg/clip/SVGClipPathElement.java
index 227d459..47a5fd2 100644
--- a/src/main/java/com/kitfox/salamander/svg/clip/SVGClipPathElement.java
+++ b/src/main/java/com/kitfox/salamander/svg/clip/SVGClipPathElement.java
@@ -33,5 +33,5 @@ public interface SVGClipPathElement extends SVGElement,
/**
* Corresponds to attribute clipPathUnits on the given 'clipPath' element. Takes one of the constants defined in SVGUnitTypes.
*/
- public SVGAnimatedEnumeration getClipPathUnits();
+ public SVGAnimatedEnumeration<SVGUnitTypes.Type> getClipPathUnits();
}
diff --git a/src/main/java/com/kitfox/salamander/svg/clip/SVGMaskElement.java b/src/main/java/com/kitfox/salamander/svg/clip/SVGMaskElement.java
index 4b5a134..7dc2e16 100644
--- a/src/main/java/com/kitfox/salamander/svg/clip/SVGMaskElement.java
+++ b/src/main/java/com/kitfox/salamander/svg/clip/SVGMaskElement.java
@@ -32,11 +32,11 @@ public interface SVGMaskElement extends SVGElement,
/**
* Corresponds to attribute maskUnits on the given 'mask' element. Takes one of the constants defined in SVGUnitTypes.
*/
- public SVGAnimatedEnumeration getMaskUnits();
+ public SVGAnimatedEnumeration<SVGUnitTypes.Type> getMaskUnits();
/**
* Corresponds to attribute maskContentUnits on the given 'mask' element. Takes one of the constants defined in SVGUnitTypes.
*/
- public SVGAnimatedEnumeration getMaskContentUnits();
+ public SVGAnimatedEnumeration<SVGUnitTypes.Type> getMaskContentUnits();
/**
* Corresponds to attribute x on the given 'mask' element.
*/
diff --git a/src/main/java/com/kitfox/salamander/svg/fills/SVGGradientElement.java b/src/main/java/com/kitfox/salamander/svg/fills/SVGGradientElement.java
index 00088c1..98690b0 100644
--- a/src/main/java/com/kitfox/salamander/svg/fills/SVGGradientElement.java
+++ b/src/main/java/com/kitfox/salamander/svg/fills/SVGGradientElement.java
@@ -14,6 +14,7 @@ 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;
/**
@@ -48,7 +49,7 @@ public interface SVGGradientElement extends SVGElement,
/**
* Corresponds to attribute gradientUnits on the given element. Takes one of the constants defined in SVGUnitTypes.
*/
- public SVGAnimatedEnumeration getGradientUnits();
+ public SVGAnimatedEnumeration<SVGUnitTypes.Type> getGradientUnits();
/**
* Corresponds to attribute gradientTransform on the given element.
*/
@@ -56,6 +57,6 @@ public interface SVGGradientElement extends SVGElement,
/**
* Corresponds to attribute spreadMethod on the given element. One of the Spread Method Types.
*/
- public SVGAnimatedEnumeration getSpreadMethod();
+ public SVGAnimatedEnumeration<SpreadMethod> getSpreadMethod();
}
diff --git a/src/main/java/com/kitfox/salamander/svg/fills/SVGPatternElement.java b/src/main/java/com/kitfox/salamander/svg/fills/SVGPatternElement.java
index 28cf6a6..f551c4a 100644
--- a/src/main/java/com/kitfox/salamander/svg/fills/SVGPatternElement.java
+++ b/src/main/java/com/kitfox/salamander/svg/fills/SVGPatternElement.java
@@ -37,11 +37,11 @@ public interface SVGPatternElement extends SVGElement,
/**
* Corresponds to attribute patternUnits on the given 'pattern' element. Takes one of the constants defined in SVGUnitTypes.
*/
- public SVGAnimatedEnumeration getPatternUnits();
+ public SVGAnimatedEnumeration<SVGUnitTypes.Type> getPatternUnits();
/**
* Corresponds to attribute patternContentUnits on the given 'pattern' element. Takes one of the constants defined in SVGUnitTypes.
*/
- public SVGAnimatedEnumeration getPatternContentUnits();
+ public SVGAnimatedEnumeration<SVGUnitTypes.Type> getPatternContentUnits();
/**
* Corresponds to attribute patternTransform on the given 'pattern' element.
*/
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGComponentTransferFunctionElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGComponentTransferFunctionElement.java
new file mode 100644
index 0000000..6b42e7b
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGComponentTransferFunctionElement.java
@@ -0,0 +1,76 @@
+/*
+ * SVGComponentTransferFunctionElement.java
+ *
+ * Created on April 13, 2007, 10:46 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedEnumeration;
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumberList;
+
+/**
+ * This interface defines a base interface used by the component transfer function interfaces.
+ * @author kitfox
+ */
+public interface SVGComponentTransferFunctionElement
+{
+ public static enum Type
+ {
+ /**
+ * The type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
+ */
+ UNKNOWN,
+ /**
+ * Corresponds to value identity.
+ */
+ IDENTITY,
+ /**
+ * Corresponds to value table.
+ */
+ TABLE,
+ /**
+ * Corresponds to value discrete.
+ */
+ DISCRETE,
+ /**
+ * Corresponds to value linear.
+ */
+ LINEAR,
+ /**
+ * Corresponds to value gamma.
+ */
+ GAMMA};
+ /**
+ * Corresponds to attribute type on the given element. Takes one of the Component Transfer Types.
+ */
+ public SVGAnimatedEnumeration<Type> getType();
+ /**
+ * Corresponds to attribute tableValues on the given element.
+ */
+ public SVGAnimatedNumberList getTableValues();
+ /**
+ * Corresponds to attribute slope on the given element.
+ */
+ public SVGAnimatedNumber getSlope();
+ /**
+ * Corresponds to attribute intercept on the given element.
+ */
+ public SVGAnimatedNumber getIntercept();
+ /**
+ * Corresponds to attribute amplitude on the given element.
+ */
+ public SVGAnimatedNumber getAmplitude();
+ /**
+ * Corresponds to attribute exponent on the given element.
+ */
+ public SVGAnimatedNumber getExponent();
+ /**
+ * Corresponds to attribute offset on the given element.
+ */
+ public SVGAnimatedNumber getOffset();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEBlendElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEBlendElement.java
new file mode 100644
index 0000000..acaaa2a
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEBlendElement.java
@@ -0,0 +1,63 @@
+/*
+ * SVGFEBlendElement.java
+ *
+ * Created on April 13, 2007, 10:39 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedEnumeration;
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ *
+ * The SVGFEBlendElement interface corresponds to the 'feBlend' element.
+ * @author kitfox
+ */
+public interface SVGFEBlendElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ public static enum Mode
+ {
+ /**
+ * 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 normal.
+ */
+ NORMAL,
+ /**
+ * Corresponds to value multiply.
+ */
+ MULTIPLY,
+ /**
+ * Corresponds to value screen.
+ */
+ SCREEN,
+ /**
+ * Corresponds to value darken.
+ */
+ DARKEN,
+ /**
+ * Corresponds to value lighten.
+ */
+ LIGHTEN};
+ /**
+ * Corresponds to attribute in on the given 'feBlend' element.
+ */
+ public SVGAnimatedString getIn1();
+ /**
+ * Corresponds to attribute in2 on the given 'feBlend' element.
+ */
+ public SVGAnimatedString getIn2();
+ /**
+ * Corresponds to attribute mode on the given 'feBlend' element.
+ */
+ public SVGAnimatedEnumeration<Mode> getMode();
+
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEColorMatrixElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEColorMatrixElement.java
new file mode 100644
index 0000000..cf18d57
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEColorMatrixElement.java
@@ -0,0 +1,61 @@
+/*
+ * SVGFEColorMatrixElement.java
+ *
+ * Created on April 13, 2007, 10:42 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedEnumeration;
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumberList;
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ *
+ * The SVGFEColorMatrixElement interface corresponds to the 'feColorMatrix' element.
+ * @author kitfox
+ */
+public interface SVGFEColorMatrixElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ public static enum Type
+ {
+ /**
+ * The type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
+ */
+ UNKNOWN,
+ /**
+ * Corresponds to value matrix.
+ */
+ MATRIX,
+ /**
+ * Corresponds to value saturate.
+ */
+ SATURATE,
+ /**
+ * Corresponds to value hueRotate.
+ */
+ HUE_ROTATE,
+ /**
+ * Corresponds to value luminanceToAlpha.
+ */
+ LUMINANCE_TO_ALPHA};
+ /**
+ * Corresponds to attribute in on the given 'feColorMatrix' element.
+ */
+ public SVGAnimatedString getIn1();
+ /**
+ * Corresponds to attribute type on the given 'feColorMatrix' element. Takes one of the Color Matrix Types.
+ */
+ public SVGAnimatedEnumeration<Type> getType();
+ /**
+ * Corresponds to attribute values on the given 'feColorMatrix' element.
+ *
+ * Provides access to the contents of the values attribute.
+ */
+ public SVGAnimatedNumberList getValues();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEComponentTransferElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEComponentTransferElement.java
new file mode 100644
index 0000000..cd189ad
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEComponentTransferElement.java
@@ -0,0 +1,26 @@
+/*
+ * SVGFEComponentTransferElement.java
+ *
+ * Created on April 13, 2007, 10:45 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFEComponentTransferElement interface corresponds to the 'feComponentTransfer' element.
+ * @author kitfox
+ */
+public interface SVGFEComponentTransferElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ /**
+ * Corresponds to attribute in on the given 'feComponentTransfer' element.
+ */
+ public SVGAnimatedString getIn1();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFECompositeElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFECompositeElement.java
new file mode 100644
index 0000000..d5685f6
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFECompositeElement.java
@@ -0,0 +1,82 @@
+/*
+ * SVGFECompositeElement.java
+ *
+ * Created on April 13, 2007, 10:51 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedEnumeration;
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFECompositeElement interface corresponds to the 'feComposite' element.
+ * @author kitfox
+ */
+public interface SVGFECompositeElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ public static enum Operator
+ {
+ /**
+ * 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 over.
+ */
+ OVER,
+ /**
+ * Corresponds to value in.
+ */
+ IN,
+ /**
+ * Corresponds to value out.
+ */
+ OUT,
+ /**
+ * Corresponds to value atop.
+ */
+ ATOP,
+ /**
+ * Corresponds to value xor.
+ */
+ XOR,
+ /**
+ * Corresponds to value arithmetic.
+ */
+ ARITHMETIC};
+ /**
+ * Corresponds to attribute in on the given 'feComposite' element.
+ */
+ public SVGAnimatedString getIn1();
+ /**
+ * Corresponds to attribute in2 on the given 'feComposite' element.
+ */
+ public SVGAnimatedString getIn2();
+ /**
+ * Corresponds to attribute operator on the given 'feComposite' element. Takes one of the Composite Operators.
+ */
+ public SVGAnimatedEnumeration<Operator> getOperator();
+ /**
+ * Corresponds to attribute k1 on the given 'feComposite' element.
+ */
+ public SVGAnimatedNumber getK1();
+ /**
+ * Corresponds to attribute k2 on the given 'feComposite' element.
+ */
+ public SVGAnimatedNumber getK2();
+ /**
+ * Corresponds to attribute k3 on the given 'feComposite' element.
+ */
+ public SVGAnimatedNumber getK3();
+ /**
+ * Corresponds to attribute k4 on the given 'feComposite' element.
+ */
+ public SVGAnimatedNumber getK4();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEConvolveMatrixElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEConvolveMatrixElement.java
new file mode 100644
index 0000000..1ff44da
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEConvolveMatrixElement.java
@@ -0,0 +1,88 @@
+/*
+ * SVGFEConvolveMatrixElement.java
+ *
+ * Created on April 13, 2007, 10:57 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedBoolean;
+import com.kitfox.salamander.svg.basic.SVGAnimatedEnumeration;
+import com.kitfox.salamander.svg.basic.SVGAnimatedInteger;
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumberList;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFEConvolveMatrixElement interface corresponds to the 'feConvolveMatrix' element.
+ * @author kitfox
+ */
+public interface SVGFEConvolveMatrixElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ public static enum EdgeMode
+ {
+ /**
+ * 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 duplicate.
+ */
+ DUPLICATE,
+ /**
+ * Corresponds to value wrap.
+ */
+ WRAP,
+ /**
+ * Corresponds to value none.
+ */
+ NONE};
+ /**
+ * Corresponds to attribute orderX on the given 'feConvolveMatrix' element.
+ */
+ public SVGAnimatedInteger getOrderX();
+ /**
+ * Corresponds to attribute orderY on the given 'feConvolveMatrix' element.
+ */
+ public SVGAnimatedInteger getOrderY();
+ /**
+ * Corresponds to attribute kernelMatrix on the given 'feConvolveMatrix' element.
+ */
+ public SVGAnimatedNumberList getKernelMatrix();
+ /**
+ * Corresponds to attribute divisor on the given 'feConvolveMatrix' element.
+ */
+ public SVGAnimatedNumber getDivisor();
+ /**
+ * Corresponds to attribute bias on the given 'feConvolveMatrix' element.
+ */
+ public SVGAnimatedNumber getBias();
+ /**
+ * Corresponds to attribute targetX on the given 'feConvolveMatrix' element.
+ */
+ public SVGAnimatedInteger getTargetX();
+ /**
+ * Corresponds to attribute targetY on the given 'feConvolveMatrix' element.
+ */
+ public SVGAnimatedInteger getTargetY();
+ /**
+ * Corresponds to attribute edgeMode on the given 'feConvolveMatrix' element. Takes one of the EdgeMode Types.
+ */
+ public SVGAnimatedEnumeration<EdgeMode> getEdgeMode();
+ /**
+ * Corresponds to attribute kernelUnitLengthX on the given 'feConvolveMatrix' element.
+ */
+ public SVGAnimatedNumber getKernelUnitLengthX();
+ /**
+ * Corresponds to attribute kernelUnitLengthY on the given 'feConvolveMatrix' element.
+ */
+ public SVGAnimatedNumber getKernelUnitLengthY();
+ /**
+ * Corresponds to attribute preserveAlpha on the given 'feConvolveMatrix' element.
+ */
+ public SVGAnimatedBoolean getPreserveAlpha();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEDiffuseLightingElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEDiffuseLightingElement.java
new file mode 100644
index 0000000..c45b1fe
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEDiffuseLightingElement.java
@@ -0,0 +1,43 @@
+/*
+ * SVGFEDiffuseLightingElement.java
+ *
+ * Created on April 13, 2007, 11:03 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFEDiffuseLightingElement interface corresponds to the 'feDiffuseLighting' element.
+ * @author kitfox
+ */
+public interface SVGFEDiffuseLightingElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ /**
+ * Corresponds to attribute in on the given 'feDiffuseLighting' element.
+ */
+ public SVGAnimatedString getIn1();
+ /**
+ * Corresponds to attribute surfaceScale on the given 'feDiffuseLighting' element.
+ */
+ public SVGAnimatedNumber getSurfaceScale();
+ /**
+ * Corresponds to attribute diffuseConstant on the given 'feDiffuseLighting' element.
+ */
+ public SVGAnimatedNumber getDiffuseConstant();
+ /**
+ * Corresponds to attribute kernelUnitLengthX on the given 'feDiffuseLighting' element.
+ */
+ public SVGAnimatedNumber getKernelUnitLengthX();
+ /**
+ * Corresponds to attribute kernelUnitLengthY on the given 'feDiffuseLighting' element.
+ */
+ public SVGAnimatedNumber getKernelUnitLengthY();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEDisplacementMapElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEDisplacementMapElement.java
new file mode 100644
index 0000000..06ce6e7
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEDisplacementMapElement.java
@@ -0,0 +1,67 @@
+/*
+ * SVGFEDisplacementMapElement.java
+ *
+ * Created on April 13, 2007, 11:10 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedEnumeration;
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ *
+ * The SVGFEDisplacementMapElement interface corresponds to the 'feDisplacementMap' element.
+ * @author kitfox
+ */
+public interface SVGFEDisplacementMapElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ public static enum Channel
+ {
+ /**
+ * 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 R.
+ */
+ R,
+ /**
+ * Corresponds to value G.
+ */
+ G,
+ /**
+ * Corresponds to value B.
+ */
+ B,
+ /**
+ * Corresponds to value A.
+ */
+ A};
+ /**
+ * Corresponds to attribute in on the given 'feDisplacementMap' element.
+ */
+ public SVGAnimatedString getIn1();
+ /**
+ * Corresponds to attribute in2 on the given 'feDisplacementMap' element.
+ */
+ public SVGAnimatedString getIn2();
+ /**
+ * Corresponds to attribute scale on the given 'feDisplacementMap' element.
+ */
+ public SVGAnimatedNumber getScale();
+ /**
+ * Corresponds to attribute xChannelSelector on the given 'feDisplacementMap' element.
+ */
+ public SVGAnimatedEnumeration<Channel> getXChannelSelector();
+ /**
+ * Corresponds to attribute yChannelSelector on the given 'feDisplacementMap' element.
+ */
+ public SVGAnimatedEnumeration<Channel> getYChannelSelector();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEDistantLightElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEDistantLightElement.java
new file mode 100644
index 0000000..0141918
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEDistantLightElement.java
@@ -0,0 +1,29 @@
+/*
+ * SVGFEDistantLightElement.java
+ *
+ * Created on April 13, 2007, 11:05 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFEDistantLightElement interface corresponds to the 'feDistantLight' element.
+ * @author kitfox
+ */
+public interface SVGFEDistantLightElement extends SVGElement
+{
+ /**
+ * Corresponds to attribute azimuth on the given 'feDistantLight' element.
+ */
+ public SVGAnimatedNumber getAzimuth();
+ /**
+ * Corresponds to attribute elevation on the given 'feDistantLight' element.
+ */
+ public SVGAnimatedNumber getElevation();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFloodElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFloodElement.java
new file mode 100644
index 0000000..f1c33a4
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFloodElement.java
@@ -0,0 +1,26 @@
+/*
+ * SVGFEFloodElement.java
+ *
+ * Created on April 13, 2007, 11:14 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFEFloodElement interface corresponds to the 'feFlood' element.
+ * @author kitfox
+ */
+public interface SVGFEFloodElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ /**
+ * Corresponds to attribute in on the given 'feFlood' element.
+ */
+ public SVGAnimatedString getIn1();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncAElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncAElement.java
new file mode 100644
index 0000000..f2296c9
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncAElement.java
@@ -0,0 +1,19 @@
+/*
+ * SVGFEFuncRElement.java
+ *
+ * Created on April 13, 2007, 10:49 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+/**
+ * The SVGFEFuncAElement interface corresponds to the 'feFuncA' element.
+ * @author kitfox
+ */
+public interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement
+{
+
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncBElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncBElement.java
new file mode 100644
index 0000000..a0acf67
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncBElement.java
@@ -0,0 +1,19 @@
+/*
+ * SVGFEFuncRElement.java
+ *
+ * Created on April 13, 2007, 10:49 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+/**
+ * The SVGFEFuncBElement interface corresponds to the 'feFuncB' element.
+ * @author kitfox
+ */
+public interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement
+{
+
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncGElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncGElement.java
new file mode 100644
index 0000000..c51d459
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncGElement.java
@@ -0,0 +1,19 @@
+/*
+ * SVGFEFuncRElement.java
+ *
+ * Created on April 13, 2007, 10:49 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+/**
+ * The SVGFEFuncGElement interface corresponds to the 'feFuncG' element.
+ * @author kitfox
+ */
+public interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement
+{
+
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncRElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncRElement.java
new file mode 100644
index 0000000..50a57f7
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEFuncRElement.java
@@ -0,0 +1,19 @@
+/*
+ * SVGFEFuncRElement.java
+ *
+ * Created on April 13, 2007, 10:49 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+/**
+ * The SVGFEFuncRElement interface corresponds to the 'feFuncR' element.
+ * @author kitfox
+ */
+public interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement
+{
+
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEGaussianBlurElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEGaussianBlurElement.java
new file mode 100644
index 0000000..e9b2f75
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEGaussianBlurElement.java
@@ -0,0 +1,42 @@
+/*
+ * SVGFEGaussianBlurElement.java
+ *
+ * Created on April 13, 2007, 11:15 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ *
+ * The SVGFEGaussianBlurElement interface corresponds to the 'feGaussianBlur' element.
+ * @author kitfox
+ */
+public interface SVGFEGaussianBlurElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ /**
+ * Corresponds to attribute in on the given 'feGaussianBlur' element.
+ */
+ public SVGAnimatedString getIn1();
+ /**
+ * Corresponds to attribute stdDeviation on the given 'feGaussianBlur' element. Contains the X component of attribute stdDeviation.
+ */
+ public SVGAnimatedNumber getStdDeviationX();
+ /**
+ * Corresponds to attribute stdDeviation on the given 'feGaussianBlur' element. Contains the Y component (possibly computed automatically) of attribute stdDeviation.
+ */
+ public SVGAnimatedNumber getStdDeviationY();
+ /**
+ * Sets the values for attribute stdDeviation.
+ * @param stdDeviationX The X component of attribute stdDeviation.
+ * @param stdDeviationY The Y component of attribute stdDeviation.
+ */
+ public void setStdDeviation(float stdDeviationX, float stdDeviationY);
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEImageElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEImageElement.java
new file mode 100644
index 0000000..052f893
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEImageElement.java
@@ -0,0 +1,32 @@
+/*
+ * SVGFEImageElement.java
+ *
+ * Created on April 13, 2007, 11:17 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+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.SVGURIReference;
+import com.kitfox.salamander.svg.coordSystems.SVGAnimatedPreserveAspectRatio;
+
+/**
+ * The SVGFEImageElement interface corresponds to the 'feImage' element.
+ * @author kitfox
+ */
+public interface SVGFEImageElement extends SVGElement,
+ SVGURIReference,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGFilterPrimitiveStandardAttributes
+{
+ /**
+ * Corresponds to attribute preserveAspectRatio on the given element.
+ */
+ public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEMergeElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEMergeElement.java
new file mode 100644
index 0000000..ee3a227
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEMergeElement.java
@@ -0,0 +1,22 @@
+/*
+ * SVGFEMergeElement.java
+ *
+ * Created on April 13, 2007, 11:18 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFEMergeElement interface corresponds to the 'feMerge' element.
+ * @author kitfox
+ */
+public interface SVGFEMergeElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEMergeNodeElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEMergeNodeElement.java
new file mode 100644
index 0000000..b899e0d
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEMergeNodeElement.java
@@ -0,0 +1,25 @@
+/*
+ * SVGFEMergeNodeElement.java
+ *
+ * Created on April 13, 2007, 11:19 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFEMergeNodeElement interface corresponds to the 'feMergeNode' element.
+ * @author kitfox
+ */
+public interface SVGFEMergeNodeElement extends SVGElement
+{
+ /**
+ * Corresponds to attribute in on the given 'feMergeNode' element.
+ */
+ public SVGAnimatedString getIn1();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEMorphologyElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEMorphologyElement.java
new file mode 100644
index 0000000..01eafd2
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEMorphologyElement.java
@@ -0,0 +1,54 @@
+/*
+ * SVGFEMorphologyElement.java
+ *
+ * Created on April 13, 2007, 11:20 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedEnumeration;
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFEMorphologyElement interface corresponds to the 'feMorphology' element.
+ * @author kitfox
+ */
+public interface SVGFEMorphologyElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ public static enum Operator
+ {
+ /**
+ * 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 erode.
+ */
+ ERODE,
+ /**
+ * Corresponds to value dilate.
+ */
+ DILATE};
+ /**
+ * Corresponds to attribute in on the given 'feMorphology' element.
+ */
+ public SVGAnimatedString getIn1();
+ /**
+ * Corresponds to attribute operator on the given 'feMorphology' element. Takes one of the Morphology Operators.
+ */
+ public SVGAnimatedEnumeration<Operator> getOperator();
+ /**
+ * Corresponds to attribute radiusX on the given 'feMorphology' element.
+ */
+ public SVGAnimatedNumber getRadiusX();
+ /**
+ * Corresponds to attribute radiusY on the given 'feMorphology' element.
+ */
+ public SVGAnimatedNumber getRadiusY();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEOffseElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEOffseElement.java
new file mode 100644
index 0000000..ed3a4f5
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEOffseElement.java
@@ -0,0 +1,35 @@
+/*
+ * SVGFEOffseElement.java
+ *
+ * Created on April 13, 2007, 11:22 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFEOffsetElement interface corresponds to the 'feOffset' element.
+ * @author kitfox
+ */
+public interface SVGFEOffseElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ /**
+ * Corresponds to attribute in on the given 'feOffset' element.
+ */
+ public SVGAnimatedString getIn1();
+ /**
+ * Corresponds to attribute dx on the given 'feOffset' element.
+ */
+ public SVGAnimatedNumber getDx();
+ /**
+ * Corresponds to attribute dy on the given 'feOffset' element.
+ */
+ public SVGAnimatedNumber getDy();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEPointLightElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEPointLightElement.java
new file mode 100644
index 0000000..fde39f2
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEPointLightElement.java
@@ -0,0 +1,33 @@
+/*
+ * SVGFEPointLightElement.java
+ *
+ * Created on April 13, 2007, 11:06 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFEPointLightElement interface corresponds to the 'fePointLight' element.
+ * @author kitfox
+ */
+public interface SVGFEPointLightElement extends SVGElement
+{
+ /**
+ * Corresponds to attribute x on the given 'fePointLight' element.
+ */
+ public SVGAnimatedNumber getX();
+ /**
+ * Corresponds to attribute y on the given 'fePointLight' element.
+ */
+ public SVGAnimatedNumber getY();
+ /**
+ * Corresponds to attribute z on the given 'fePointLight' element.
+ */
+ public SVGAnimatedNumber getZ();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFESpecularLightingElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFESpecularLightingElement.java
new file mode 100644
index 0000000..a294faa
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFESpecularLightingElement.java
@@ -0,0 +1,39 @@
+/*
+ * SVGFESpecularLightingElement.java
+ *
+ * Created on April 13, 2007, 11:23 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFESpecularLightingElement interface corresponds to the 'feSpecularLighting' element.
+ * @author kitfox
+ */
+public interface SVGFESpecularLightingElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ /**
+ * Corresponds to attribute in on the given 'feSpecularLighting' element.
+ */
+ public SVGAnimatedString getIn1();
+ /**
+ * Corresponds to attribute surfaceScale on the given 'feSpecularLighting' element.
+ */
+ public SVGAnimatedNumber getSurfaceScale();
+ /**
+ * Corresponds to attribute specularConstant on the given 'feSpecularLighting' element.
+ */
+ public SVGAnimatedNumber getSpecularConstant();
+ /**
+ * Corresponds to attribute specularExponent on the given 'feSpecularLighting' element.
+ */
+ public SVGAnimatedNumber getSpecularExponent();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFESpotLightElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFESpotLightElement.java
new file mode 100644
index 0000000..0bef34d
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFESpotLightElement.java
@@ -0,0 +1,53 @@
+/*
+ * SVGFESpotLightElement.java
+ *
+ * Created on April 13, 2007, 11:08 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFESpotLightElement interface corresponds to the 'feSpotLight' element.
+ * @author kitfox
+ */
+public interface SVGFESpotLightElement extends SVGElement
+{
+ /**
+ * Corresponds to attribute x on the given 'feSpotLight' element.
+ */
+ public SVGAnimatedNumber getX();
+ /**
+ * Corresponds to attribute y on the given 'feSpotLight' element.
+ */
+ public SVGAnimatedNumber getY();
+ /**
+ * Corresponds to attribute z on the given 'feSpotLight' element.
+ */
+ public SVGAnimatedNumber getZ();
+ /**
+ * Corresponds to attribute pointsAtX on the given 'feSpotLight' element.
+ */
+ public SVGAnimatedNumber getPointsAtX();
+ /**
+ * Corresponds to attribute pointsAtY on the given 'feSpotLight' element.
+ */
+ public SVGAnimatedNumber getPointsAtY();
+ /**
+ * Corresponds to attribute pointsAtZ on the given 'feSpotLight' element.
+ */
+ public SVGAnimatedNumber getPointsAtZ();
+ /**
+ * Corresponds to attribute specularExponent on the given 'feSpotLight' element.
+ */
+ public SVGAnimatedNumber getSpecularExponent();
+ /**
+ * Corresponds to attribute limitingConeAngle on the given 'feSpotLight' element.
+ */
+ public SVGAnimatedNumber getLimitingConeAngle();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFETileElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFETileElement.java
new file mode 100644
index 0000000..a5f9df7
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFETileElement.java
@@ -0,0 +1,26 @@
+/*
+ * SVGFETileElement.java
+ *
+ * Created on April 13, 2007, 11:25 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFETileElement interface corresponds to the 'feTile' element.
+ * @author kitfox
+ */
+public interface SVGFETileElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ /**
+ * Corresponds to attribute in on the given 'feTile' element.
+ */
+ public SVGAnimatedString getIn1();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFETurbulenceElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFETurbulenceElement.java
new file mode 100644
index 0000000..622dcd1
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFETurbulenceElement.java
@@ -0,0 +1,76 @@
+/*
+ * SVGFETurbulenceElement.java
+ *
+ * Created on April 13, 2007, 11:26 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedEnumeration;
+import com.kitfox.salamander.svg.basic.SVGAnimatedInteger;
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGElement;
+
+/**
+ * The SVGFETurbulenceElement interface corresponds to the 'feTurbulence' element.
+ * @author kitfox
+ */
+public interface SVGFETurbulenceElement extends SVGElement,
+ SVGFilterPrimitiveStandardAttributes
+{
+ public static enum Turbulence
+ {
+ /**
+ * 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 fractalNoise.
+ */
+ FRACTAL_NOISE,
+ /**
+ * Corresponds to value turbulence.
+ */
+ TURBULENCE};
+ public static enum StitchType
+ {
+ /**
+ * 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 stitch.
+ */
+ STITCH,
+ /**
+ * Corresponds to value noStitch.
+ */
+ NO_STITCH};
+ /**
+ * Corresponds to attribute baseFrequencyX on the given 'feTurbulence' element.
+ */
+ public SVGAnimatedNumber getBaseFrequencyX();
+ /**
+ * Corresponds to attribute baseFrequencyY on the given 'feTurbulence' element.
+ */
+ public SVGAnimatedNumber getBaseFrequencyY();
+ /**
+ * Corresponds to attribute numOctaves on the given 'feTurbulence' element.
+ */
+ public SVGAnimatedInteger getNumOctaves();
+ /**
+ * Corresponds to attribute seed on the given 'feTurbulence' element.
+ */
+ public SVGAnimatedNumber getSeed();
+ /**
+ * Corresponds to attribute stitchTiles on the given 'feTurbulence' element.
+ */
+ public SVGAnimatedEnumeration<StitchType> getStitchTiles();
+ /**
+ * Corresponds to attribute type on the given 'feTurbulence' element.
+ */
+ public SVGAnimatedEnumeration<Turbulence> getType();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFilterElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFilterElement.java
new file mode 100644
index 0000000..e4c89bd
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFilterElement.java
@@ -0,0 +1,72 @@
+/*
+ * SVGFilterElement.java
+ *
+ * Created on April 13, 2007, 10:33 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedEnumeration;
+import com.kitfox.salamander.svg.basic.SVGAnimatedInteger;
+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.SVGURIReference;
+import com.kitfox.salamander.svg.basic.SVGUnitTypes;
+
+/**
+ * The SVGFilterElement interface corresponds to the 'filter' element.
+ * @author kitfox
+ */
+public interface SVGFilterElement extends SVGElement,
+ SVGURIReference,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGUnitTypes
+{
+ /**
+ * Corresponds to attribute filterUnits on the given 'filter' element. Takes one of the constants defined in SVGUnitTypes.
+ */
+ public SVGAnimatedEnumeration<SVGUnitTypes.Type> getFilterUnits();
+ /**
+ * Corresponds to attribute primitiveUnits on the given 'filter' element. Takes one of the constants defined in SVGUnitTypes.
+ */
+ public SVGAnimatedEnumeration<SVGUnitTypes.Type> getPrimitiveUnits();
+ /**
+ * Corresponds to attribute x on the given 'filter' element.
+ */
+ public SVGAnimatedLength getX();
+ /**
+ * Corresponds to attribute y on the given 'filter' element.
+ */
+ public SVGAnimatedLength getY();
+ /**
+ * Corresponds to attribute width on the given 'filter' element.
+ */
+ public SVGAnimatedLength getWidth();
+ /**
+ * Corresponds to attribute height on the given 'filter' element.
+ */
+ public SVGAnimatedLength getHeight();
+ /**
+ * Corresponds to attribute filterResX on the given 'filter' element.
+ */
+ public SVGAnimatedInteger getFilterResX();
+ /**
+ * Corresponds to attribute filterResY on the given 'filter' element.
+ */
+ public SVGAnimatedInteger getFilterResY();
+ /**
+ * Sets the values for attribute filterRes.
+ * @param filterResX The X component of attribute filterRes.
+ * @param filterResY The Y component of attribute filterRes.
+ */
+ public void setFilterRes(int filterResX, int filterResY);
+
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFilterPrimitiveStandardAttributes.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFilterPrimitiveStandardAttributes.java
new file mode 100644
index 0000000..b4ad35f
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFilterPrimitiveStandardAttributes.java
@@ -0,0 +1,42 @@
+/*
+ * SVGFilterPrimitiveStandardAttributes.java
+ *
+ * Created on April 13, 2007, 10:37 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedLength;
+import com.kitfox.salamander.svg.basic.SVGAnimatedString;
+import com.kitfox.salamander.svg.basic.SVGStylable;
+
+/**
+ * This interface defines the set of DOM attributes that are common across the filter interfaces.
+ * @author kitfox
+ */
+public interface SVGFilterPrimitiveStandardAttributes extends SVGStylable
+{
+ /**
+ * Corresponds to attribute x on the given element.
+ */
+ public SVGAnimatedLength getX();
+ /**
+ * Corresponds to attribute y on the given element.
+ */
+ public SVGAnimatedLength getY();
+ /**
+ * Corresponds to attribute width on the given element.
+ */
+ public SVGAnimatedLength getWidth();
+ /**
+ * Corresponds to attribute height on the given element.
+ */
+ public SVGAnimatedLength getHeight();
+ /**
+ * Corresponds to attribute result on the given element.
+ */
+ public SVGAnimatedString getResult();
+}
diff --git a/src/main/java/com/kitfox/salamander/svg/paint/SVGMarkerElement.java b/src/main/java/com/kitfox/salamander/svg/paint/SVGMarkerElement.java
index 77ec079..476147b 100644
--- a/src/main/java/com/kitfox/salamander/svg/paint/SVGMarkerElement.java
+++ b/src/main/java/com/kitfox/salamander/svg/paint/SVGMarkerElement.java
@@ -70,7 +70,7 @@ public interface SVGMarkerElement extends SVGElement,
/**
* Corresponds to attribute markerUnits on the given 'marker' element. One of the Marker Units Types defined above.
*/
- public SVGAnimatedEnumeration getMarkerUnits();
+ public SVGAnimatedEnumeration<Units> getMarkerUnits();
/**
* Corresponds to attribute markerWidth on the given 'marker' element.
*/
@@ -82,7 +82,7 @@ public interface SVGMarkerElement extends SVGElement,
/**
* Corresponds to attribute orient on the given 'marker' element. One of the Marker Orientation Types defined above.
*/
- public SVGAnimatedEnumeration getOrientType();
+ public SVGAnimatedEnumeration<Orient> getOrientType();
/**
* Corresponds to attribute orient on the given 'marker' element. If markerUnits is SVG_MARKER_ORIENT_ANGLE, the angle value for attribute orient; otherwise, it will be set to zero.
*/
diff --git a/src/main/java/com/kitfox/salamander/svg/text/SVGTextContentElement.java b/src/main/java/com/kitfox/salamander/svg/text/SVGTextContentElement.java
index 7e43e31..8e48292 100644
--- a/src/main/java/com/kitfox/salamander/svg/text/SVGTextContentElement.java
+++ b/src/main/java/com/kitfox/salamander/svg/text/SVGTextContentElement.java
@@ -54,7 +54,7 @@ public interface SVGTextContentElement extends SVGElement,
/**
* Corresponds to attribute lengthAdjust on the given element. The value must be one of the length adjust constants specified above.
*/
- public SVGAnimatedEnumeration getLengthAdjust();
+ public SVGAnimatedEnumeration<LengthAdjust> getLengthAdjust();
/**
* Returns the total number of characters to be rendered within the current element. Includes characters which are included via a 'tref' reference.
diff --git a/src/main/java/com/kitfox/salamander/svg/text/SVGTextPathElement.java b/src/main/java/com/kitfox/salamander/svg/text/SVGTextPathElement.java
index 2f7ce16..8b8c589 100644
--- a/src/main/java/com/kitfox/salamander/svg/text/SVGTextPathElement.java
+++ b/src/main/java/com/kitfox/salamander/svg/text/SVGTextPathElement.java
@@ -55,9 +55,9 @@ public interface SVGTextPathElement extends SVGTextContentElement, SVGURIReferen
/**
* Corresponds to attribute method on the given 'textPath' element. The value must be one of the method type constants specified above.
*/
- public SVGAnimatedEnumeration getMethod();
+ public SVGAnimatedEnumeration<MethodType> getMethod();
/**
* Corresponds to attribute spacing on the given 'textPath' element. The value must be one of the spacing type constants specified above.
*/
- public SVGAnimatedEnumeration getSpacing();
+ public SVGAnimatedEnumeration<SpacingType> getSpacing();
}