com.github.rahulsom.svg.Animate 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.animate.content">
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.AnimationTiming.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Conditional.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.AnimationEvents.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.External.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Animation.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.AnimationAttribute.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.AnimationAddtion.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.AnimationValue.attrib"/>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public class Animate
extends SVGAnimateContent
{
@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 = "requiredFeatures")
protected String requiredFeatures;
@XmlAttribute(name = "requiredExtensions")
protected String requiredExtensions;
@XmlAttribute(name = "systemLanguage")
protected String systemLanguage;
@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 = "externalResourcesRequired")
protected BooleanDatatype externalResourcesRequired;
@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 = "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 = "attributeName", required = true)
@XmlSchemaType(name = "anySimpleType")
protected String attributeName;
@XmlAttribute(name = "attributeType")
@XmlSchemaType(name = "anySimpleType")
protected String attributeType;
@XmlAttribute(name = "additive")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String additive;
@XmlAttribute(name = "accumulate")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String accumulate;
@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;
/**
* 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 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 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 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 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 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 attributeName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAttributeName() {
return attributeName;
}
/**
* Sets the value of the attributeName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAttributeName(String value) {
this.attributeName = value;
}
/**
* Gets the value of the attributeType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAttributeType() {
return attributeType;
}
/**
* Sets the value of the attributeType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAttributeType(String value) {
this.attributeType = 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;
}
/**
* Gets the value of the calcMode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCalcMode() {
if (calcMode == null) {
return "linear";
} 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;
}
public Animate withBegin(String value) {
setBegin(value);
return this;
}
public Animate withDur(String value) {
setDur(value);
return this;
}
public Animate withEnd(String value) {
setEnd(value);
return this;
}
public Animate withMin(String value) {
setMin(value);
return this;
}
public Animate withMax(String value) {
setMax(value);
return this;
}
public Animate withRestart(String value) {
setRestart(value);
return this;
}
public Animate withRepeatCount(String value) {
setRepeatCount(value);
return this;
}
public Animate withRepeatDur(String value) {
setRepeatDur(value);
return this;
}
public Animate withFill(String value) {
setFill(value);
return this;
}
public Animate withRequiredFeatures(String value) {
setRequiredFeatures(value);
return this;
}
public Animate withRequiredExtensions(String value) {
setRequiredExtensions(value);
return this;
}
public Animate withSystemLanguage(String value) {
setSystemLanguage(value);
return this;
}
public Animate withOnend(String value) {
setOnend(value);
return this;
}
public Animate withOnrepeat(String value) {
setOnrepeat(value);
return this;
}
public Animate withOnload(String value) {
setOnload(value);
return this;
}
public Animate withOnbegin(String value) {
setOnbegin(value);
return this;
}
public Animate withExternalResourcesRequired(BooleanDatatype value) {
setExternalResourcesRequired(value);
return this;
}
public Animate withLang(String value) {
setLang(value);
return this;
}
public Animate withSpace(String value) {
setSpace(value);
return this;
}
public Animate withBase(String value) {
setBase(value);
return this;
}
public Animate withId(String value) {
setId(value);
return this;
}
public Animate withType(String value) {
setType(value);
return this;
}
public Animate withHref(String value) {
setHref(value);
return this;
}
public Animate withRole(String value) {
setRole(value);
return this;
}
public Animate withArcrole(String value) {
setArcrole(value);
return this;
}
public Animate withTitle(String value) {
setTitle(value);
return this;
}
public Animate withShow(String value) {
setShow(value);
return this;
}
public Animate withActuate(String value) {
setActuate(value);
return this;
}
public Animate withAttributeName(String value) {
setAttributeName(value);
return this;
}
public Animate withAttributeType(String value) {
setAttributeType(value);
return this;
}
public Animate withAdditive(String value) {
setAdditive(value);
return this;
}
public Animate withAccumulate(String value) {
setAccumulate(value);
return this;
}
public Animate withCalcMode(String value) {
setCalcMode(value);
return this;
}
public Animate withValues(String value) {
setValues(value);
return this;
}
public Animate withKeyTimes(String value) {
setKeyTimes(value);
return this;
}
public Animate withKeySplines(String value) {
setKeySplines(value);
return this;
}
public Animate withFrom(String value) {
setFrom(value);
return this;
}
public Animate withTo(String value) {
setTo(value);
return this;
}
public Animate withBy(String value) {
setBy(value);
return this;
}
@Override
public Animate withSVGDescriptionClass(JAXBElement> ... values) {
if (values!= null) {
for (JAXBElement> value: values) {
getSVGDescriptionClass().add(value);
}
}
return this;
}
@Override
public Animate withSVGDescriptionClass(Collection> values) {
if (values!= null) {
getSVGDescriptionClass().addAll(values);
}
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy