com.github.rahulsom.svg.AnimateMotion Maven / Gradle / Ivy
The newest version!
package com.github.rahulsom.svg;
import java.util.Collection;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <extension base="{http://www.w3.org/2000/svg}SVG.animateMotion.content">
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.AnimationEvents.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Animation.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.AnimationTiming.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.External.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Conditional.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.AnimationAddtion.attrib"/>
* <attribute name="calcMode" default="paced">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="discrete"/>
* <enumeration value="linear"/>
* <enumeration value="paced"/>
* <enumeration value="spline"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="values" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="keyTimes" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="keySplines" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="from" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="to" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="by" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="path" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="keyPoints" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="rotate" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="origin" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public class AnimateMotion
extends SVGAnimateMotionContent
{
@XmlAttribute(name = "calcMode")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String calcMode;
@XmlAttribute(name = "values")
@XmlSchemaType(name = "anySimpleType")
protected String values;
@XmlAttribute(name = "keyTimes")
@XmlSchemaType(name = "anySimpleType")
protected String keyTimes;
@XmlAttribute(name = "keySplines")
@XmlSchemaType(name = "anySimpleType")
protected String keySplines;
@XmlAttribute(name = "from")
@XmlSchemaType(name = "anySimpleType")
protected String from;
@XmlAttribute(name = "to")
@XmlSchemaType(name = "anySimpleType")
protected String to;
@XmlAttribute(name = "by")
@XmlSchemaType(name = "anySimpleType")
protected String by;
@XmlAttribute(name = "path")
@XmlSchemaType(name = "anySimpleType")
protected String path;
@XmlAttribute(name = "keyPoints")
@XmlSchemaType(name = "anySimpleType")
protected String keyPoints;
@XmlAttribute(name = "rotate")
@XmlSchemaType(name = "anySimpleType")
protected String rotate;
@XmlAttribute(name = "origin")
@XmlSchemaType(name = "anySimpleType")
protected String origin;
@XmlAttribute(name = "onend")
protected String onend;
@XmlAttribute(name = "onrepeat")
protected String onrepeat;
@XmlAttribute(name = "onload")
protected String onload;
@XmlAttribute(name = "onbegin")
protected String onbegin;
@XmlAttribute(name = "type", namespace = "http://www.w3.org/1999/xlink")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String type;
@XmlAttribute(name = "href", namespace = "http://www.w3.org/1999/xlink")
protected String href;
@XmlAttribute(name = "role", namespace = "http://www.w3.org/1999/xlink")
protected String role;
@XmlAttribute(name = "arcrole", namespace = "http://www.w3.org/1999/xlink")
protected String arcrole;
@XmlAttribute(name = "title", namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anySimpleType")
protected String title;
@XmlAttribute(name = "show", namespace = "http://www.w3.org/1999/xlink", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String show;
@XmlAttribute(name = "actuate", namespace = "http://www.w3.org/1999/xlink", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String actuate;
@XmlAttribute(name = "begin")
@XmlSchemaType(name = "anySimpleType")
protected String begin;
@XmlAttribute(name = "dur")
@XmlSchemaType(name = "anySimpleType")
protected String dur;
@XmlAttribute(name = "end")
@XmlSchemaType(name = "anySimpleType")
protected String end;
@XmlAttribute(name = "min")
@XmlSchemaType(name = "anySimpleType")
protected String min;
@XmlAttribute(name = "max")
@XmlSchemaType(name = "anySimpleType")
protected String max;
@XmlAttribute(name = "restart")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String restart;
@XmlAttribute(name = "repeatCount")
@XmlSchemaType(name = "anySimpleType")
protected String repeatCount;
@XmlAttribute(name = "repeatDur")
@XmlSchemaType(name = "anySimpleType")
protected String repeatDur;
@XmlAttribute(name = "fill")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String fill;
@XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String lang;
@XmlAttribute(name = "space", namespace = "http://www.w3.org/XML/1998/namespace", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String space;
@XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
protected String base;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlAttribute(name = "externalResourcesRequired")
protected BooleanDatatype externalResourcesRequired;
@XmlAttribute(name = "requiredFeatures")
protected String requiredFeatures;
@XmlAttribute(name = "requiredExtensions")
protected String requiredExtensions;
@XmlAttribute(name = "systemLanguage")
protected String systemLanguage;
@XmlAttribute(name = "additive")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String additive;
@XmlAttribute(name = "accumulate")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String accumulate;
/**
* Gets the value of the calcMode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCalcMode() {
if (calcMode == null) {
return "paced";
} else {
return calcMode;
}
}
/**
* Sets the value of the calcMode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCalcMode(String value) {
this.calcMode = value;
}
/**
* Gets the value of the values property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValues() {
return values;
}
/**
* Sets the value of the values property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValues(String value) {
this.values = value;
}
/**
* Gets the value of the keyTimes property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeyTimes() {
return keyTimes;
}
/**
* Sets the value of the keyTimes property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeyTimes(String value) {
this.keyTimes = value;
}
/**
* Gets the value of the keySplines property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeySplines() {
return keySplines;
}
/**
* Sets the value of the keySplines property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeySplines(String value) {
this.keySplines = value;
}
/**
* Gets the value of the from property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFrom() {
return from;
}
/**
* Sets the value of the from property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFrom(String value) {
this.from = value;
}
/**
* Gets the value of the to property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTo() {
return to;
}
/**
* Sets the value of the to property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTo(String value) {
this.to = value;
}
/**
* Gets the value of the by property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBy() {
return by;
}
/**
* Sets the value of the by property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBy(String value) {
this.by = value;
}
/**
* Gets the value of the path property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPath() {
return path;
}
/**
* Sets the value of the path property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPath(String value) {
this.path = value;
}
/**
* Gets the value of the keyPoints property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeyPoints() {
return keyPoints;
}
/**
* Sets the value of the keyPoints property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeyPoints(String value) {
this.keyPoints = value;
}
/**
* Gets the value of the rotate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRotate() {
return rotate;
}
/**
* Sets the value of the rotate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRotate(String value) {
this.rotate = value;
}
/**
* Gets the value of the origin property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrigin() {
return origin;
}
/**
* Sets the value of the origin property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrigin(String value) {
this.origin = value;
}
/**
* Gets the value of the onend property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOnend() {
return onend;
}
/**
* Sets the value of the onend property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOnend(String value) {
this.onend = value;
}
/**
* Gets the value of the onrepeat property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOnrepeat() {
return onrepeat;
}
/**
* Sets the value of the onrepeat property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOnrepeat(String value) {
this.onrepeat = value;
}
/**
* Gets the value of the onload property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOnload() {
return onload;
}
/**
* Sets the value of the onload property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOnload(String value) {
this.onload = value;
}
/**
* Gets the value of the onbegin property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOnbegin() {
return onbegin;
}
/**
* Sets the value of the onbegin property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOnbegin(String value) {
this.onbegin = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
if (type == null) {
return "simple";
} else {
return type;
}
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the href property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHref() {
return href;
}
/**
* Sets the value of the href property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHref(String value) {
this.href = value;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(String value) {
this.role = value;
}
/**
* Gets the value of the arcrole property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArcrole() {
return arcrole;
}
/**
* Sets the value of the arcrole property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArcrole(String value) {
this.arcrole = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the show property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShow() {
return show;
}
/**
* Sets the value of the show property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShow(String value) {
this.show = value;
}
/**
* Gets the value of the actuate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getActuate() {
return actuate;
}
/**
* Sets the value of the actuate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setActuate(String value) {
this.actuate = value;
}
/**
* Gets the value of the begin property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBegin() {
return begin;
}
/**
* Sets the value of the begin property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBegin(String value) {
this.begin = value;
}
/**
* Gets the value of the dur property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDur() {
return dur;
}
/**
* Sets the value of the dur property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDur(String value) {
this.dur = value;
}
/**
* Gets the value of the end property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEnd() {
return end;
}
/**
* Sets the value of the end property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEnd(String value) {
this.end = value;
}
/**
* Gets the value of the min property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMin() {
return min;
}
/**
* Sets the value of the min property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMin(String value) {
this.min = value;
}
/**
* Gets the value of the max property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMax() {
return max;
}
/**
* Sets the value of the max property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMax(String value) {
this.max = value;
}
/**
* Gets the value of the restart property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRestart() {
if (restart == null) {
return "always";
} else {
return restart;
}
}
/**
* Sets the value of the restart property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRestart(String value) {
this.restart = value;
}
/**
* Gets the value of the repeatCount property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRepeatCount() {
return repeatCount;
}
/**
* Sets the value of the repeatCount property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRepeatCount(String value) {
this.repeatCount = value;
}
/**
* Gets the value of the repeatDur property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRepeatDur() {
return repeatDur;
}
/**
* Sets the value of the repeatDur property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRepeatDur(String value) {
this.repeatDur = value;
}
/**
* Gets the value of the fill property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFill() {
if (fill == null) {
return "remove";
} else {
return fill;
}
}
/**
* Sets the value of the fill property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFill(String value) {
this.fill = value;
}
/**
* Gets the value of the lang property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLang() {
return lang;
}
/**
* Sets the value of the lang property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLang(String value) {
this.lang = value;
}
/**
* Gets the value of the space property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSpace() {
return space;
}
/**
* Sets the value of the space property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSpace(String value) {
this.space = value;
}
/**
* Gets the value of the base property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBase() {
return base;
}
/**
* Sets the value of the base property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBase(String value) {
this.base = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the externalResourcesRequired property.
*
* @return
* possible object is
* {@link BooleanDatatype }
*
*/
public BooleanDatatype getExternalResourcesRequired() {
return externalResourcesRequired;
}
/**
* Sets the value of the externalResourcesRequired property.
*
* @param value
* allowed object is
* {@link BooleanDatatype }
*
*/
public void setExternalResourcesRequired(BooleanDatatype value) {
this.externalResourcesRequired = value;
}
/**
* Gets the value of the requiredFeatures property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRequiredFeatures() {
return requiredFeatures;
}
/**
* Sets the value of the requiredFeatures property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRequiredFeatures(String value) {
this.requiredFeatures = value;
}
/**
* Gets the value of the requiredExtensions property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRequiredExtensions() {
return requiredExtensions;
}
/**
* Sets the value of the requiredExtensions property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRequiredExtensions(String value) {
this.requiredExtensions = value;
}
/**
* Gets the value of the systemLanguage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSystemLanguage() {
return systemLanguage;
}
/**
* Sets the value of the systemLanguage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSystemLanguage(String value) {
this.systemLanguage = value;
}
/**
* Gets the value of the additive property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAdditive() {
if (additive == null) {
return "replace";
} else {
return additive;
}
}
/**
* Sets the value of the additive property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAdditive(String value) {
this.additive = value;
}
/**
* Gets the value of the accumulate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccumulate() {
if (accumulate == null) {
return "none";
} else {
return accumulate;
}
}
/**
* Sets the value of the accumulate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccumulate(String value) {
this.accumulate = value;
}
public AnimateMotion withCalcMode(String value) {
setCalcMode(value);
return this;
}
public AnimateMotion withValues(String value) {
setValues(value);
return this;
}
public AnimateMotion withKeyTimes(String value) {
setKeyTimes(value);
return this;
}
public AnimateMotion withKeySplines(String value) {
setKeySplines(value);
return this;
}
public AnimateMotion withFrom(String value) {
setFrom(value);
return this;
}
public AnimateMotion withTo(String value) {
setTo(value);
return this;
}
public AnimateMotion withBy(String value) {
setBy(value);
return this;
}
public AnimateMotion withPath(String value) {
setPath(value);
return this;
}
public AnimateMotion withKeyPoints(String value) {
setKeyPoints(value);
return this;
}
public AnimateMotion withRotate(String value) {
setRotate(value);
return this;
}
public AnimateMotion withOrigin(String value) {
setOrigin(value);
return this;
}
public AnimateMotion withOnend(String value) {
setOnend(value);
return this;
}
public AnimateMotion withOnrepeat(String value) {
setOnrepeat(value);
return this;
}
public AnimateMotion withOnload(String value) {
setOnload(value);
return this;
}
public AnimateMotion withOnbegin(String value) {
setOnbegin(value);
return this;
}
public AnimateMotion withType(String value) {
setType(value);
return this;
}
public AnimateMotion withHref(String value) {
setHref(value);
return this;
}
public AnimateMotion withRole(String value) {
setRole(value);
return this;
}
public AnimateMotion withArcrole(String value) {
setArcrole(value);
return this;
}
public AnimateMotion withTitle(String value) {
setTitle(value);
return this;
}
public AnimateMotion withShow(String value) {
setShow(value);
return this;
}
public AnimateMotion withActuate(String value) {
setActuate(value);
return this;
}
public AnimateMotion withBegin(String value) {
setBegin(value);
return this;
}
public AnimateMotion withDur(String value) {
setDur(value);
return this;
}
public AnimateMotion withEnd(String value) {
setEnd(value);
return this;
}
public AnimateMotion withMin(String value) {
setMin(value);
return this;
}
public AnimateMotion withMax(String value) {
setMax(value);
return this;
}
public AnimateMotion withRestart(String value) {
setRestart(value);
return this;
}
public AnimateMotion withRepeatCount(String value) {
setRepeatCount(value);
return this;
}
public AnimateMotion withRepeatDur(String value) {
setRepeatDur(value);
return this;
}
public AnimateMotion withFill(String value) {
setFill(value);
return this;
}
public AnimateMotion withLang(String value) {
setLang(value);
return this;
}
public AnimateMotion withSpace(String value) {
setSpace(value);
return this;
}
public AnimateMotion withBase(String value) {
setBase(value);
return this;
}
public AnimateMotion withId(String value) {
setId(value);
return this;
}
public AnimateMotion withExternalResourcesRequired(BooleanDatatype value) {
setExternalResourcesRequired(value);
return this;
}
public AnimateMotion withRequiredFeatures(String value) {
setRequiredFeatures(value);
return this;
}
public AnimateMotion withRequiredExtensions(String value) {
setRequiredExtensions(value);
return this;
}
public AnimateMotion withSystemLanguage(String value) {
setSystemLanguage(value);
return this;
}
public AnimateMotion withAdditive(String value) {
setAdditive(value);
return this;
}
public AnimateMotion withAccumulate(String value) {
setAccumulate(value);
return this;
}
@Override
public AnimateMotion withSVGDescriptionClass(JAXBElement> ... values) {
if (values!= null) {
for (JAXBElement> value: values) {
getSVGDescriptionClass().add(value);
}
}
return this;
}
@Override
public AnimateMotion withSVGDescriptionClass(Collection> values) {
if (values!= null) {
getSVGDescriptionClass().addAll(values);
}
return this;
}
@Override
public AnimateMotion withMpath(Mpath value) {
setMpath(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy