summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/svg/animation/AnimateMotion.java
diff options
context:
space:
mode:
authorkitfox2013-03-19 06:20:37 +0100
committerkitfox2013-03-19 06:20:37 +0100
commit6776ed9f1a81e517139d85eb6d2e28911fd0fc35 (patch)
treee169f598f518670f5434d75d1b76ceb3c0765d32 /src/main/java/com/kitfox/svg/animation/AnimateMotion.java
parentError handling now sends warnings to Logger. (diff)
downloadsvg-salamander-core-6776ed9f1a81e517139d85eb6d2e28911fd0fc35.tar.gz
svg-salamander-core-6776ed9f1a81e517139d85eb6d2e28911fd0fc35.tar.xz
svg-salamander-core-6776ed9f1a81e517139d85eb6d2e28911fd0fc35.zip
Adding support for style sheets.
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@153 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
Diffstat (limited to 'src/main/java/com/kitfox/svg/animation/AnimateMotion.java')
-rw-r--r--src/main/java/com/kitfox/svg/animation/AnimateMotion.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/java/com/kitfox/svg/animation/AnimateMotion.java b/src/main/java/com/kitfox/svg/animation/AnimateMotion.java
index 8d3fa3a..8b543d5 100644
--- a/src/main/java/com/kitfox/svg/animation/AnimateMotion.java
+++ b/src/main/java/com/kitfox/svg/animation/AnimateMotion.java
@@ -59,6 +59,8 @@ import org.xml.sax.SAXException;
*/
public class AnimateMotion extends AnimateXform
{
+ public static final String TAG_NAME = "animateMotion";
+
static final Matcher matchPoint = Pattern.compile("\\s*(\\d+)[^\\d]+(\\d+)\\s*").matcher("");
// protected double fromValue;
@@ -77,7 +79,12 @@ public class AnimateMotion extends AnimateXform
public AnimateMotion()
{
}
-
+
+ public String getTagName()
+ {
+ return TAG_NAME;
+ }
+
public void loaderStartElement(SVGLoaderHelper helper, Attributes attrs, SVGElement parent) throws SAXException
{
//Load style string