All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.rahulsom.svg.Set Maven / Gradle / Ivy


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;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <extension base="{http://www.w3.org/2000/svg}SVG.set.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.External.attrib"/>
 *       <attGroup ref="{http://www.w3.org/2000/svg}SVG.AnimationAttribute.attrib"/>
 *       <attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/>
 *       <attGroup ref="{http://www.w3.org/2000/svg}SVG.AnimationEvents.attrib"/>
 *       <attGroup ref="{http://www.w3.org/2000/svg}SVG.Animation.attrib"/>
 *       <attribute name="to" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public class Set extends SVGSetContent { @XmlAttribute(name = "to") @XmlSchemaType(name = "anySimpleType") protected String to; @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 = "externalResourcesRequired") protected BooleanDatatype externalResourcesRequired; @XmlAttribute(name = "attributeName", required = true) @XmlSchemaType(name = "anySimpleType") protected String attributeName; @XmlAttribute(name = "attributeType") @XmlSchemaType(name = "anySimpleType") protected String attributeType; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace") protected String base; @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 = "onrepeat") protected String onrepeat; @XmlAttribute(name = "onload") protected String onload; @XmlAttribute(name = "onbegin") protected String onbegin; @XmlAttribute(name = "onend") protected String onend; @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 = "actuate", namespace = "http://www.w3.org/1999/xlink", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String actuate; @XmlAttribute(name = "show", namespace = "http://www.w3.org/1999/xlink", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String show; /** * 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 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 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 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 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 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 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 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 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 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 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 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; } public Set withTo(String value) { setTo(value); return this; } public Set withBegin(String value) { setBegin(value); return this; } public Set withDur(String value) { setDur(value); return this; } public Set withEnd(String value) { setEnd(value); return this; } public Set withMin(String value) { setMin(value); return this; } public Set withMax(String value) { setMax(value); return this; } public Set withRestart(String value) { setRestart(value); return this; } public Set withRepeatCount(String value) { setRepeatCount(value); return this; } public Set withRepeatDur(String value) { setRepeatDur(value); return this; } public Set withFill(String value) { setFill(value); return this; } public Set withRequiredFeatures(String value) { setRequiredFeatures(value); return this; } public Set withRequiredExtensions(String value) { setRequiredExtensions(value); return this; } public Set withSystemLanguage(String value) { setSystemLanguage(value); return this; } public Set withExternalResourcesRequired(BooleanDatatype value) { setExternalResourcesRequired(value); return this; } public Set withAttributeName(String value) { setAttributeName(value); return this; } public Set withAttributeType(String value) { setAttributeType(value); return this; } public Set withId(String value) { setId(value); return this; } public Set withBase(String value) { setBase(value); return this; } public Set withLang(String value) { setLang(value); return this; } public Set withSpace(String value) { setSpace(value); return this; } public Set withOnrepeat(String value) { setOnrepeat(value); return this; } public Set withOnload(String value) { setOnload(value); return this; } public Set withOnbegin(String value) { setOnbegin(value); return this; } public Set withOnend(String value) { setOnend(value); return this; } public Set withType(String value) { setType(value); return this; } public Set withHref(String value) { setHref(value); return this; } public Set withRole(String value) { setRole(value); return this; } public Set withArcrole(String value) { setArcrole(value); return this; } public Set withTitle(String value) { setTitle(value); return this; } public Set withActuate(String value) { setActuate(value); return this; } public Set withShow(String value) { setShow(value); return this; } @Override public Set withSVGDescriptionClass(JAXBElement ... values) { if (values!= null) { for (JAXBElement value: values) { getSVGDescriptionClass().add(value); } } return this; } @Override public Set withSVGDescriptionClass(Collection> values) { if (values!= null) { getSVGDescriptionClass().addAll(values); } return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy