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

com.github.rahulsom.svg.FeFuncR 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.XmlRootElement;
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.feFuncR.content">
 *       <attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/>
 *       <attribute name="type" use="required">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *             <enumeration value="identity"/>
 *             <enumeration value="table"/>
 *             <enumeration value="discrete"/>
 *             <enumeration value="linear"/>
 *             <enumeration value="gamma"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="tableValues" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="slope" type="{http://www.w3.org/2000/svg}Number.datatype" />
 *       <attribute name="intercept" type="{http://www.w3.org/2000/svg}Number.datatype" />
 *       <attribute name="amplitude" type="{http://www.w3.org/2000/svg}Number.datatype" />
 *       <attribute name="exponent" type="{http://www.w3.org/2000/svg}Number.datatype" />
 *       <attribute name="offset" type="{http://www.w3.org/2000/svg}Number.datatype" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "feFuncR") public class FeFuncR extends SVGFeFuncRContent { @XmlAttribute(name = "type", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String type; @XmlAttribute(name = "tableValues") @XmlSchemaType(name = "anySimpleType") protected String tableValues; @XmlAttribute(name = "slope") protected String slope; @XmlAttribute(name = "intercept") protected String intercept; @XmlAttribute(name = "amplitude") protected String amplitude; @XmlAttribute(name = "exponent") protected String exponent; @XmlAttribute(name = "offset") protected String offset; @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; /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { 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 tableValues property. * * @return * possible object is * {@link String } * */ public String getTableValues() { return tableValues; } /** * Sets the value of the tableValues property. * * @param value * allowed object is * {@link String } * */ public void setTableValues(String value) { this.tableValues = value; } /** * Gets the value of the slope property. * * @return * possible object is * {@link String } * */ public String getSlope() { return slope; } /** * Sets the value of the slope property. * * @param value * allowed object is * {@link String } * */ public void setSlope(String value) { this.slope = value; } /** * Gets the value of the intercept property. * * @return * possible object is * {@link String } * */ public String getIntercept() { return intercept; } /** * Sets the value of the intercept property. * * @param value * allowed object is * {@link String } * */ public void setIntercept(String value) { this.intercept = value; } /** * Gets the value of the amplitude property. * * @return * possible object is * {@link String } * */ public String getAmplitude() { return amplitude; } /** * Sets the value of the amplitude property. * * @param value * allowed object is * {@link String } * */ public void setAmplitude(String value) { this.amplitude = value; } /** * Gets the value of the exponent property. * * @return * possible object is * {@link String } * */ public String getExponent() { return exponent; } /** * Sets the value of the exponent property. * * @param value * allowed object is * {@link String } * */ public void setExponent(String value) { this.exponent = value; } /** * Gets the value of the offset property. * * @return * possible object is * {@link String } * */ public String getOffset() { return offset; } /** * Sets the value of the offset property. * * @param value * allowed object is * {@link String } * */ public void setOffset(String value) { this.offset = 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; } public FeFuncR withType(String value) { setType(value); return this; } public FeFuncR withTableValues(String value) { setTableValues(value); return this; } public FeFuncR withSlope(String value) { setSlope(value); return this; } public FeFuncR withIntercept(String value) { setIntercept(value); return this; } public FeFuncR withAmplitude(String value) { setAmplitude(value); return this; } public FeFuncR withExponent(String value) { setExponent(value); return this; } public FeFuncR withOffset(String value) { setOffset(value); return this; } public FeFuncR withSpace(String value) { setSpace(value); return this; } public FeFuncR withLang(String value) { setLang(value); return this; } public FeFuncR withId(String value) { setId(value); return this; } public FeFuncR withBase(String value) { setBase(value); return this; } @Override public FeFuncR withAnimateOrSet(Object... values) { if (values!= null) { for (Object value: values) { getAnimateOrSet().add(value); } } return this; } @Override public FeFuncR withAnimateOrSet(Collection values) { if (values!= null) { getAnimateOrSet().addAll(values); } return this; } }