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

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

The newest version!

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;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;extension base="{http://www.w3.org/2000/svg}SVG.feFuncG.content"&gt;
 *       &lt;attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/&gt;
 *       &lt;attribute name="type" use="required"&gt;
 *         &lt;simpleType&gt;
 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token"&gt;
 *             &lt;enumeration value="identity"/&gt;
 *             &lt;enumeration value="table"/&gt;
 *             &lt;enumeration value="discrete"/&gt;
 *             &lt;enumeration value="linear"/&gt;
 *             &lt;enumeration value="gamma"/&gt;
 *           &lt;/restriction&gt;
 *         &lt;/simpleType&gt;
 *       &lt;/attribute&gt;
 *       &lt;attribute name="tableValues" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /&gt;
 *       &lt;attribute name="slope" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *       &lt;attribute name="intercept" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *       &lt;attribute name="amplitude" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *       &lt;attribute name="exponent" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *       &lt;attribute name="offset" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *     &lt;/extension&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "feFuncG")
public class FeFuncG
    extends SVGFeFuncGContent
{

    @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 = "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;

    /**
     * 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 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;
    }

    public FeFuncG withType(String value) {
        setType(value);
        return this;
    }

    public FeFuncG withTableValues(String value) {
        setTableValues(value);
        return this;
    }

    public FeFuncG withSlope(String value) {
        setSlope(value);
        return this;
    }

    public FeFuncG withIntercept(String value) {
        setIntercept(value);
        return this;
    }

    public FeFuncG withAmplitude(String value) {
        setAmplitude(value);
        return this;
    }

    public FeFuncG withExponent(String value) {
        setExponent(value);
        return this;
    }

    public FeFuncG withOffset(String value) {
        setOffset(value);
        return this;
    }

    public FeFuncG withLang(String value) {
        setLang(value);
        return this;
    }

    public FeFuncG withSpace(String value) {
        setSpace(value);
        return this;
    }

    public FeFuncG withBase(String value) {
        setBase(value);
        return this;
    }

    public FeFuncG withId(String value) {
        setId(value);
        return this;
    }

    @Override
    public FeFuncG withAnimateOrSet(Object... values) {
        if (values!= null) {
            for (Object value: values) {
                getAnimateOrSet().add(value);
            }
        }
        return this;
    }

    @Override
    public FeFuncG withAnimateOrSet(Collection values) {
        if (values!= null) {
            getAnimateOrSet().addAll(values);
        }
        return this;
    }

}