com.github.rahulsom.svg.RadialGradient 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.radialGradient.content">
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Color.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Style.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Gradient.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.XLink.attrib"/>
* <attribute name="cx" type="{http://www.w3.org/2000/svg}Coordinate.datatype" />
* <attribute name="cy" type="{http://www.w3.org/2000/svg}Coordinate.datatype" />
* <attribute name="r" type="{http://www.w3.org/2000/svg}Length.datatype" />
* <attribute name="fx" type="{http://www.w3.org/2000/svg}Coordinate.datatype" />
* <attribute name="fy" type="{http://www.w3.org/2000/svg}Coordinate.datatype" />
* <attribute name="gradientUnits">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="userSpaceOnUse"/>
* <enumeration value="objectBoundingBox"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="gradientTransform" type="{http://www.w3.org/2000/svg}TransformList.datatype" />
* <attribute name="spreadMethod">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="pad"/>
* <enumeration value="reflect"/>
* <enumeration value="repeat"/>
* </restriction>
* </simpleType>
* </attribute>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public class RadialGradient
extends SVGRadialGradientContent
{
@XmlAttribute(name = "cx")
protected String cx;
@XmlAttribute(name = "cy")
protected String cy;
@XmlAttribute(name = "r")
protected String r;
@XmlAttribute(name = "fx")
protected String fx;
@XmlAttribute(name = "fy")
protected String fy;
@XmlAttribute(name = "gradientUnits")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String gradientUnits;
@XmlAttribute(name = "gradientTransform")
protected String gradientTransform;
@XmlAttribute(name = "spreadMethod")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String spreadMethod;
@XmlAttribute(name = "color-rendering")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String colorRendering;
@XmlAttribute(name = "color")
protected String color;
@XmlAttribute(name = "color-interpolation")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String colorInterpolation;
@XmlAttribute(name = "style")
protected String style;
@XmlAttribute(name = "class")
protected String clazz;
@XmlAttribute(name = "stop-color")
protected String stopColor;
@XmlAttribute(name = "stop-opacity")
protected String stopOpacity;
@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;
/**
* Gets the value of the cx property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCx() {
return cx;
}
/**
* Sets the value of the cx property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCx(String value) {
this.cx = value;
}
/**
* Gets the value of the cy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCy() {
return cy;
}
/**
* Sets the value of the cy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCy(String value) {
this.cy = value;
}
/**
* Gets the value of the r property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getR() {
return r;
}
/**
* Sets the value of the r property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setR(String value) {
this.r = value;
}
/**
* Gets the value of the fx property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFx() {
return fx;
}
/**
* Sets the value of the fx property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFx(String value) {
this.fx = value;
}
/**
* Gets the value of the fy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFy() {
return fy;
}
/**
* Sets the value of the fy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFy(String value) {
this.fy = value;
}
/**
* Gets the value of the gradientUnits property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGradientUnits() {
return gradientUnits;
}
/**
* Sets the value of the gradientUnits property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGradientUnits(String value) {
this.gradientUnits = value;
}
/**
* Gets the value of the gradientTransform property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGradientTransform() {
return gradientTransform;
}
/**
* Sets the value of the gradientTransform property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGradientTransform(String value) {
this.gradientTransform = value;
}
/**
* Gets the value of the spreadMethod property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSpreadMethod() {
return spreadMethod;
}
/**
* Sets the value of the spreadMethod property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSpreadMethod(String value) {
this.spreadMethod = value;
}
/**
* Gets the value of the colorRendering property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColorRendering() {
return colorRendering;
}
/**
* Sets the value of the colorRendering property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColorRendering(String value) {
this.colorRendering = value;
}
/**
* Gets the value of the color property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColor() {
return color;
}
/**
* Sets the value of the color property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColor(String value) {
this.color = value;
}
/**
* Gets the value of the colorInterpolation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColorInterpolation() {
return colorInterpolation;
}
/**
* Sets the value of the colorInterpolation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColorInterpolation(String value) {
this.colorInterpolation = value;
}
/**
* Gets the value of the style property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStyle() {
return style;
}
/**
* Sets the value of the style property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStyle(String value) {
this.style = value;
}
/**
* Gets the value of the clazz property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClazz() {
return clazz;
}
/**
* Sets the value of the clazz property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClazz(String value) {
this.clazz = value;
}
/**
* Gets the value of the stopColor property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStopColor() {
return stopColor;
}
/**
* Sets the value of the stopColor property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStopColor(String value) {
this.stopColor = value;
}
/**
* Gets the value of the stopOpacity property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStopOpacity() {
return stopOpacity;
}
/**
* Sets the value of the stopOpacity property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStopOpacity(String value) {
this.stopOpacity = 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;
}
public RadialGradient withCx(String value) {
setCx(value);
return this;
}
public RadialGradient withCy(String value) {
setCy(value);
return this;
}
public RadialGradient withR(String value) {
setR(value);
return this;
}
public RadialGradient withFx(String value) {
setFx(value);
return this;
}
public RadialGradient withFy(String value) {
setFy(value);
return this;
}
public RadialGradient withGradientUnits(String value) {
setGradientUnits(value);
return this;
}
public RadialGradient withGradientTransform(String value) {
setGradientTransform(value);
return this;
}
public RadialGradient withSpreadMethod(String value) {
setSpreadMethod(value);
return this;
}
public RadialGradient withColorRendering(String value) {
setColorRendering(value);
return this;
}
public RadialGradient withColor(String value) {
setColor(value);
return this;
}
public RadialGradient withColorInterpolation(String value) {
setColorInterpolation(value);
return this;
}
public RadialGradient withStyle(String value) {
setStyle(value);
return this;
}
public RadialGradient withClazz(String value) {
setClazz(value);
return this;
}
public RadialGradient withStopColor(String value) {
setStopColor(value);
return this;
}
public RadialGradient withStopOpacity(String value) {
setStopOpacity(value);
return this;
}
public RadialGradient withExternalResourcesRequired(BooleanDatatype value) {
setExternalResourcesRequired(value);
return this;
}
public RadialGradient withLang(String value) {
setLang(value);
return this;
}
public RadialGradient withSpace(String value) {
setSpace(value);
return this;
}
public RadialGradient withBase(String value) {
setBase(value);
return this;
}
public RadialGradient withId(String value) {
setId(value);
return this;
}
public RadialGradient withType(String value) {
setType(value);
return this;
}
public RadialGradient withHref(String value) {
setHref(value);
return this;
}
public RadialGradient withRole(String value) {
setRole(value);
return this;
}
public RadialGradient withArcrole(String value) {
setArcrole(value);
return this;
}
public RadialGradient withTitle(String value) {
setTitle(value);
return this;
}
public RadialGradient withShow(String value) {
setShow(value);
return this;
}
public RadialGradient withActuate(String value) {
setActuate(value);
return this;
}
@Override
public RadialGradient withSVGDescriptionClass(JAXBElement> ... values) {
if (values!= null) {
for (JAXBElement> value: values) {
getSVGDescriptionClass().add(value);
}
}
return this;
}
@Override
public RadialGradient withSVGDescriptionClass(Collection> values) {
if (values!= null) {
getSVGDescriptionClass().addAll(values);
}
return this;
}
@Override
public RadialGradient withStopOrAnimateOrSet(Object... values) {
if (values!= null) {
for (Object value: values) {
getStopOrAnimateOrSet().add(value);
}
}
return this;
}
@Override
public RadialGradient withStopOrAnimateOrSet(Collection © 2015 - 2025 Weber Informatics LLC | Privacy Policy