summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/salamander/svg/basic
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/kitfox/salamander/svg/basic')
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAngle.java4
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedString.java4
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGColor.java7
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGLangSpace.java6
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGLength.java4
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGStringList.java3
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGStylable.java3
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGTests.java4
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGViewSpec.java9
9 files changed, 29 insertions, 15 deletions
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAngle.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAngle.java
index 2bb0beb..fc40bc3 100755
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAngle.java
+++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGAngle.java
@@ -9,6 +9,8 @@
package com.kitfox.salamander.svg.basic;
+import com.kitfox.salamander.svg.DOMString;
+
/**
*
* The SVGAngle interface corresponds to the <angle> basic data type.
@@ -53,7 +55,7 @@ public interface SVGAngle extends SVGDataType
/**
* 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 SVGString getValueAsString();
+ 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.
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedString.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedString.java
index e105b7d..1ec000d 100755
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedString.java
+++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedString.java
@@ -9,11 +9,13 @@
package com.kitfox.salamander.svg.basic;
+import com.kitfox.salamander.svg.DOMString;
+
/**
*
* Used for attributes of type DOMString which can be animated.
* @author kitfox
*/
-public interface SVGAnimatedString extends SVGAnimatedDataType<SVGString>
+public interface SVGAnimatedString extends SVGAnimatedDataType<DOMString>
{
}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGColor.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGColor.java
index c7dc25b..13eed11 100755
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGColor.java
+++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGColor.java
@@ -9,6 +9,7 @@
package com.kitfox.salamander.svg.basic;
+import com.kitfox.salamander.svg.DOMString;
import com.kitfox.salamander.svg.SVGException;
import org.w3c.dom.css.CSSValue;
import org.w3c.dom.css.RGBColor;
@@ -58,14 +59,14 @@ public interface SVGColor extends SVGDataType, CSSValue
* @param rgbColor The new color value.
* @throws com.kitfox.salamander.svg.SVGException SVG_INVALID_VALUE_ERR: Raised if one of the parameters has an invalid value.
*/
- public void setRGBColor(SVGString rgbColor) throws SVGException;
+ public void setRGBColor(DOMString rgbColor) throws SVGException;
/**
* Modifies the color value to be the specified sRGB color with an alternate ICC color specification.
* @param rgbColor The new color value.
* @param iccColor The alternate ICC color specification.
* @throws com.kitfox.salamander.svg.SVGException SVG_INVALID_VALUE_ERR: Raised if one of the parameters has an invalid value.
*/
- public void setRGBColorICCCOlor(SVGString rgbColor, SVGString iccColor) throws SVGException;
+ public void setRGBColorICCCOlor(DOMString rgbColor, DOMString iccColor) throws SVGException;
/**
* Sets the colorType as specified by the parameters. If colorType requires an RGBColor, then rgbColor must be a valid RGBColor object; otherwise, rgbColor must be null. If colorType requires an SVGICCColor, then iccColor must be a valid SVGICCColor object; otherwise, iccColor must be null.
* @param colorType One of the defined constants for colorType.
@@ -73,6 +74,6 @@ public interface SVGColor extends SVGDataType, CSSValue
* @param iccColor The specification of an ICC color, or null.
* @throws com.kitfox.salamander.svg.SVGException SVG_INVALID_VALUE_ERR: Raised if one of the parameters has an invalid value.
*/
- public void setColor(Type colorType, SVGString rgbColor, SVGString iccColor) throws SVGException;
+ public void setColor(Type colorType, DOMString rgbColor, DOMString iccColor) throws SVGException;
}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGLangSpace.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGLangSpace.java
index 005f4aa..f2326bb 100755
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGLangSpace.java
+++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGLangSpace.java
@@ -9,6 +9,8 @@
package com.kitfox.salamander.svg.basic;
+import com.kitfox.salamander.svg.DOMString;
+
/**
*
* Interface SVGLangSpace defines an interface which applies to all elements which have attributes xml:lang and xml:space.
@@ -19,9 +21,9 @@ public interface SVGLangSpace
/**
* Corresponds to attribute xml:lang on the given element.
*/
- public SVGString getXmllang();
+ public DOMString getXmllang();
/**
* Corresponds to attribute xml:space on the given element.
*/
- public SVGString getXmlspace();
+ public DOMString getXmlspace();
}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGLength.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGLength.java
index 472498d..9e60b46 100755
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGLength.java
+++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGLength.java
@@ -9,6 +9,8 @@
package com.kitfox.salamander.svg.basic;
+import com.kitfox.salamander.svg.DOMString;
+
/**
*
* The SVGLength interface corresponds to the &lt;length&gt; basic data type.
@@ -80,7 +82,7 @@ public interface SVGLength extends SVGDataType
/**
* The value as a string value, in the units expressed by unitType. Setting this attribute will cause value and valueInSpecifiedUnits to be updated automatically to reflect this setting.
*/
- public SVGString getValueAsString();
+ 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.
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGStringList.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGStringList.java
index 1a60497..1909fd9 100755
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGStringList.java
+++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGStringList.java
@@ -10,6 +10,7 @@
package com.kitfox.salamander.svg.basic;
import com.kitfox.salamander.svg.DOMException;
+import com.kitfox.salamander.svg.DOMString;
import com.kitfox.salamander.svg.SVGException;
@@ -19,6 +20,6 @@ import com.kitfox.salamander.svg.SVGException;
* SVGStringList has the same attributes and methods as other SVGxxxList interfaces. Implementers may consider using a single base class to implement the various SVGxxxList interfaces.
* @author kitfox
*/
-public interface SVGStringList extends SVGList<SVGString>
+public interface SVGStringList extends SVGList<DOMString>
{
}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGStylable.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGStylable.java
index 41cdc13..15b2f4d 100755
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGStylable.java
+++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGStylable.java
@@ -9,6 +9,7 @@
package com.kitfox.salamander.svg.basic;
+import com.kitfox.salamander.svg.DOMString;
import org.w3c.dom.css.CSSStyleDeclaration;
import org.w3c.dom.css.CSSValue;
@@ -31,5 +32,5 @@ public interface SVGStylable
* @param name Retrieves a "presentation attribute" by name.
* @return The static/base value of the given presentation attribute as a CSSValue, or NULL if the given attribute does not have a specified value.
*/
- public CSSValue getPresentationAttribute(SVGString name);
+ public CSSValue getPresentationAttribute(DOMString name);
}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGTests.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGTests.java
index aaa2041..1ae0e4d 100755
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGTests.java
+++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGTests.java
@@ -9,6 +9,8 @@
package com.kitfox.salamander.svg.basic;
+import com.kitfox.salamander.svg.DOMString;
+
/**
*
* Interface SVGTests defines an interface which applies to all elements which have attributes requiredFeatures, requiredExtensions and systemLanguage.
@@ -33,5 +35,5 @@ public interface SVGTests
* @param extension The name of the extension, expressed as a URI.
* @return True or false, depending on whether the given extension is supported.
*/
- public boolean hasExtension(SVGString extension);
+ public boolean hasExtension(DOMString extension);
}
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGViewSpec.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGViewSpec.java
index addb8bd..5c739e0 100755
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGViewSpec.java
+++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGViewSpec.java
@@ -9,6 +9,7 @@
package com.kitfox.salamander.svg.basic;
+import com.kitfox.salamander.svg.DOMString;
import com.kitfox.salamander.svg.coordSystems.SVGTransformList;
/**
@@ -29,17 +30,17 @@ public interface SVGViewSpec extends SVGZoomAndPan, SVGFitToViewBox
/**
* Corresponds to the viewBox setting on the SVG View Specification.
*/
- public SVGString getViewBoxString();
+ public DOMString getViewBoxString();
/**
* Corresponds to the preserveAspectRatio setting on the SVG View Specification.
*/
- public SVGString getPreserveAspectRatioString();
+ public DOMString getPreserveAspectRatioString();
/**
* Corresponds to the transform setting on the SVG View Specification.
*/
- public SVGString getTransformString();
+ public DOMString getTransformString();
/**
* Corresponds to the viewTarget setting on the SVG View Specification.
*/
- public SVGString getTargetString();
+ public DOMString getTargetString();
}