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

com.github.rahulsom.svg.FeConvolveMatrix 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.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.feConvolveMatrix.content"&gt;
 *       &lt;attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/&gt;
 *       &lt;attGroup ref="{http://www.w3.org/2000/svg}SVG.FilterColor.attrib"/&gt;
 *       &lt;attGroup ref="{http://www.w3.org/2000/svg}SVG.FilterPrimitiveWithIn.attrib"/&gt;
 *       &lt;attribute name="order" use="required" type="{http://www.w3.org/2000/svg}NumberOptionalNumber.datatype" /&gt;
 *       &lt;attribute name="kernelMatrix" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /&gt;
 *       &lt;attribute name="divisor" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *       &lt;attribute name="bias" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *       &lt;attribute name="targetX" type="{http://www.w3.org/2000/svg}Integer.datatype" /&gt;
 *       &lt;attribute name="targetY" type="{http://www.w3.org/2000/svg}Integer.datatype" /&gt;
 *       &lt;attribute name="edgeMode" default="duplicate"&gt;
 *         &lt;simpleType&gt;
 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token"&gt;
 *             &lt;enumeration value="duplicate"/&gt;
 *             &lt;enumeration value="wrap"/&gt;
 *             &lt;enumeration value="none"/&gt;
 *           &lt;/restriction&gt;
 *         &lt;/simpleType&gt;
 *       &lt;/attribute&gt;
 *       &lt;attribute name="kernelUnitLength" type="{http://www.w3.org/2000/svg}NumberOptionalNumber.datatype" /&gt;
 *       &lt;attribute name="preserveAlpha" type="{http://www.w3.org/2000/svg}Boolean.datatype" /&gt;
 *     &lt;/extension&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public class FeConvolveMatrix
    extends SVGFeConvolveMatrixContent
{

    @XmlAttribute(name = "order", required = true)
    protected String order;
    @XmlAttribute(name = "kernelMatrix", required = true)
    @XmlSchemaType(name = "anySimpleType")
    protected String kernelMatrix;
    @XmlAttribute(name = "divisor")
    protected String divisor;
    @XmlAttribute(name = "bias")
    protected String bias;
    @XmlAttribute(name = "targetX")
    protected String targetX;
    @XmlAttribute(name = "targetY")
    protected String targetY;
    @XmlAttribute(name = "edgeMode")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String edgeMode;
    @XmlAttribute(name = "kernelUnitLength")
    protected String kernelUnitLength;
    @XmlAttribute(name = "preserveAlpha")
    protected BooleanDatatype preserveAlpha;
    @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 = "color-interpolation-filters")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String colorInterpolationFilters;
    @XmlAttribute(name = "in")
    @XmlSchemaType(name = "anySimpleType")
    protected String in;
    @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 order property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOrder() {
        return order;
    }

    /**
     * Sets the value of the order property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOrder(String value) {
        this.order = value;
    }

    /**
     * Gets the value of the kernelMatrix property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getKernelMatrix() {
        return kernelMatrix;
    }

    /**
     * Sets the value of the kernelMatrix property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setKernelMatrix(String value) {
        this.kernelMatrix = value;
    }

    /**
     * Gets the value of the divisor property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDivisor() {
        return divisor;
    }

    /**
     * Sets the value of the divisor property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDivisor(String value) {
        this.divisor = value;
    }

    /**
     * Gets the value of the bias property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getBias() {
        return bias;
    }

    /**
     * Sets the value of the bias property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setBias(String value) {
        this.bias = value;
    }

    /**
     * Gets the value of the targetX property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTargetX() {
        return targetX;
    }

    /**
     * Sets the value of the targetX property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTargetX(String value) {
        this.targetX = value;
    }

    /**
     * Gets the value of the targetY property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTargetY() {
        return targetY;
    }

    /**
     * Sets the value of the targetY property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTargetY(String value) {
        this.targetY = value;
    }

    /**
     * Gets the value of the edgeMode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getEdgeMode() {
        if (edgeMode == null) {
            return "duplicate";
        } else {
            return edgeMode;
        }
    }

    /**
     * Sets the value of the edgeMode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setEdgeMode(String value) {
        this.edgeMode = value;
    }

    /**
     * Gets the value of the kernelUnitLength property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getKernelUnitLength() {
        return kernelUnitLength;
    }

    /**
     * Sets the value of the kernelUnitLength property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setKernelUnitLength(String value) {
        this.kernelUnitLength = value;
    }

    /**
     * Gets the value of the preserveAlpha property.
     * 
     * @return
     *     possible object is
     *     {@link BooleanDatatype }
     *     
     */
    public BooleanDatatype getPreserveAlpha() {
        return preserveAlpha;
    }

    /**
     * Sets the value of the preserveAlpha property.
     * 
     * @param value
     *     allowed object is
     *     {@link BooleanDatatype }
     *     
     */
    public void setPreserveAlpha(BooleanDatatype value) {
        this.preserveAlpha = 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 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 in property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIn() {
        return in;
    }

    /**
     * Sets the value of the in property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setIn(String value) {
        this.in = 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 FeConvolveMatrix withOrder(String value) {
        setOrder(value);
        return this;
    }

    public FeConvolveMatrix withKernelMatrix(String value) {
        setKernelMatrix(value);
        return this;
    }

    public FeConvolveMatrix withDivisor(String value) {
        setDivisor(value);
        return this;
    }

    public FeConvolveMatrix withBias(String value) {
        setBias(value);
        return this;
    }

    public FeConvolveMatrix withTargetX(String value) {
        setTargetX(value);
        return this;
    }

    public FeConvolveMatrix withTargetY(String value) {
        setTargetY(value);
        return this;
    }

    public FeConvolveMatrix withEdgeMode(String value) {
        setEdgeMode(value);
        return this;
    }

    public FeConvolveMatrix withKernelUnitLength(String value) {
        setKernelUnitLength(value);
        return this;
    }

    public FeConvolveMatrix withPreserveAlpha(BooleanDatatype value) {
        setPreserveAlpha(value);
        return this;
    }

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

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

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

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

    public FeConvolveMatrix withColorInterpolationFilters(String value) {
        setColorInterpolationFilters(value);
        return this;
    }

    public FeConvolveMatrix withIn(String value) {
        setIn(value);
        return this;
    }

    public FeConvolveMatrix withX(String value) {
        setX(value);
        return this;
    }

    public FeConvolveMatrix withY(String value) {
        setY(value);
        return this;
    }

    public FeConvolveMatrix withWidth(String value) {
        setWidth(value);
        return this;
    }

    public FeConvolveMatrix withHeight(String value) {
        setHeight(value);
        return this;
    }

    public FeConvolveMatrix withResult(String value) {
        setResult(value);
        return this;
    }

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

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

}