com.github.rahulsom.svg.FeTurbulence Maven / Gradle / Ivy
package com.github.rahulsom.svg;
import java.util.Collection;
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.feTurbulence.content">
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.FilterColor.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.FilterPrimitive.attrib"/>
* <attribute name="baseFrequency" type="{http://www.w3.org/2000/svg}NumberOptionalNumber.datatype" />
* <attribute name="numOctaves" type="{http://www.w3.org/2000/svg}Integer.datatype" />
* <attribute name="seed" type="{http://www.w3.org/2000/svg}Number.datatype" />
* <attribute name="stitchTiles" default="noStitch">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="stitch"/>
* <enumeration value="noStitch"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="type" default="turbulence">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="fractalNoise"/>
* <enumeration value="turbulence"/>
* </restriction>
* </simpleType>
* </attribute>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public class FeTurbulence
extends SVGFeTurbulenceContent
{
@XmlAttribute(name = "baseFrequency")
protected String baseFrequency;
@XmlAttribute(name = "numOctaves")
protected String numOctaves;
@XmlAttribute(name = "seed")
protected String seed;
@XmlAttribute(name = "stitchTiles")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String stitchTiles;
@XmlAttribute(name = "type")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String type;
@XmlAttribute(name = "color-interpolation-filters")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String colorInterpolationFilters;
@XmlAttribute(name = "space", namespace = "http://www.w3.org/XML/1998/namespace", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String space;
@XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String lang;
@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 = "x")
protected String x;
@XmlAttribute(name = "y")
protected String y;
@XmlAttribute(name = "width")
protected String width;
@XmlAttribute(name = "height")
protected String height;
@XmlAttribute(name = "result")
@XmlSchemaType(name = "anySimpleType")
protected String result;
/**
* Gets the value of the baseFrequency property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBaseFrequency() {
return baseFrequency;
}
/**
* Sets the value of the baseFrequency property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBaseFrequency(String value) {
this.baseFrequency = value;
}
/**
* Gets the value of the numOctaves property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNumOctaves() {
return numOctaves;
}
/**
* Sets the value of the numOctaves property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNumOctaves(String value) {
this.numOctaves = value;
}
/**
* Gets the value of the seed property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSeed() {
return seed;
}
/**
* Sets the value of the seed property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSeed(String value) {
this.seed = value;
}
/**
* Gets the value of the stitchTiles property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStitchTiles() {
if (stitchTiles == null) {
return "noStitch";
} else {
return stitchTiles;
}
}
/**
* Sets the value of the stitchTiles property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStitchTiles(String value) {
this.stitchTiles = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
if (type == null) {
return "turbulence";
} 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 colorInterpolationFilters property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColorInterpolationFilters() {
return colorInterpolationFilters;
}
/**
* Sets the value of the colorInterpolationFilters property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColorInterpolationFilters(String value) {
this.colorInterpolationFilters = 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 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 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 x property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getX() {
return x;
}
/**
* Sets the value of the x property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setX(String value) {
this.x = value;
}
/**
* Gets the value of the y property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getY() {
return y;
}
/**
* Sets the value of the y property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setY(String value) {
this.y = value;
}
/**
* Gets the value of the width property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWidth() {
return width;
}
/**
* Sets the value of the width property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWidth(String value) {
this.width = value;
}
/**
* Gets the value of the height property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHeight() {
return height;
}
/**
* Sets the value of the height property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHeight(String value) {
this.height = value;
}
/**
* Gets the value of the result property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getResult() {
return result;
}
/**
* Sets the value of the result property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setResult(String value) {
this.result = value;
}
public FeTurbulence withBaseFrequency(String value) {
setBaseFrequency(value);
return this;
}
public FeTurbulence withNumOctaves(String value) {
setNumOctaves(value);
return this;
}
public FeTurbulence withSeed(String value) {
setSeed(value);
return this;
}
public FeTurbulence withStitchTiles(String value) {
setStitchTiles(value);
return this;
}
public FeTurbulence withType(String value) {
setType(value);
return this;
}
public FeTurbulence withColorInterpolationFilters(String value) {
setColorInterpolationFilters(value);
return this;
}
public FeTurbulence withSpace(String value) {
setSpace(value);
return this;
}
public FeTurbulence withLang(String value) {
setLang(value);
return this;
}
public FeTurbulence withId(String value) {
setId(value);
return this;
}
public FeTurbulence withBase(String value) {
setBase(value);
return this;
}
public FeTurbulence withX(String value) {
setX(value);
return this;
}
public FeTurbulence withY(String value) {
setY(value);
return this;
}
public FeTurbulence withWidth(String value) {
setWidth(value);
return this;
}
public FeTurbulence withHeight(String value) {
setHeight(value);
return this;
}
public FeTurbulence withResult(String value) {
setResult(value);
return this;
}
@Override
public FeTurbulence withAnimateOrSet(Object... values) {
if (values!= null) {
for (Object value: values) {
getAnimateOrSet().add(value);
}
}
return this;
}
@Override
public FeTurbulence withAnimateOrSet(Collection © 2015 - 2025 Weber Informatics LLC | Privacy Policy