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

com.github.rahulsom.svg.FeComposite 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.feComposite.content">
 *       <attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/>
 *       <attGroup ref="{http://www.w3.org/2000/svg}SVG.FilterColor.attrib"/>
 *       <attGroup ref="{http://www.w3.org/2000/svg}SVG.FilterPrimitiveWithIn.attrib"/>
 *       <attribute name="in2" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="operator" default="over">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *             <enumeration value="over"/>
 *             <enumeration value="in"/>
 *             <enumeration value="out"/>
 *             <enumeration value="atop"/>
 *             <enumeration value="xor"/>
 *             <enumeration value="arithmetic"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="k1" type="{http://www.w3.org/2000/svg}Number.datatype" />
 *       <attribute name="k2" type="{http://www.w3.org/2000/svg}Number.datatype" />
 *       <attribute name="k3" type="{http://www.w3.org/2000/svg}Number.datatype" />
 *       <attribute name="k4" type="{http://www.w3.org/2000/svg}Number.datatype" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public class FeComposite extends SVGFeCompositeContent { @XmlAttribute(name = "in2", required = true) @XmlSchemaType(name = "anySimpleType") protected String in2; @XmlAttribute(name = "operator") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String operator; @XmlAttribute(name = "k1") protected String k1; @XmlAttribute(name = "k2") protected String k2; @XmlAttribute(name = "k3") protected String k3; @XmlAttribute(name = "k4") protected String k4; @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 = "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 = "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 in2 property. * * @return * possible object is * {@link String } * */ public String getIn2() { return in2; } /** * Sets the value of the in2 property. * * @param value * allowed object is * {@link String } * */ public void setIn2(String value) { this.in2 = value; } /** * Gets the value of the operator property. * * @return * possible object is * {@link String } * */ public String getOperator() { if (operator == null) { return "over"; } else { return operator; } } /** * Sets the value of the operator property. * * @param value * allowed object is * {@link String } * */ public void setOperator(String value) { this.operator = value; } /** * Gets the value of the k1 property. * * @return * possible object is * {@link String } * */ public String getK1() { return k1; } /** * Sets the value of the k1 property. * * @param value * allowed object is * {@link String } * */ public void setK1(String value) { this.k1 = value; } /** * Gets the value of the k2 property. * * @return * possible object is * {@link String } * */ public String getK2() { return k2; } /** * Sets the value of the k2 property. * * @param value * allowed object is * {@link String } * */ public void setK2(String value) { this.k2 = value; } /** * Gets the value of the k3 property. * * @return * possible object is * {@link String } * */ public String getK3() { return k3; } /** * Sets the value of the k3 property. * * @param value * allowed object is * {@link String } * */ public void setK3(String value) { this.k3 = value; } /** * Gets the value of the k4 property. * * @return * possible object is * {@link String } * */ public String getK4() { return k4; } /** * Sets the value of the k4 property. * * @param value * allowed object is * {@link String } * */ public void setK4(String value) { this.k4 = 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 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 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 FeComposite withIn2(String value) { setIn2(value); return this; } public FeComposite withOperator(String value) { setOperator(value); return this; } public FeComposite withK1(String value) { setK1(value); return this; } public FeComposite withK2(String value) { setK2(value); return this; } public FeComposite withK3(String value) { setK3(value); return this; } public FeComposite withK4(String value) { setK4(value); return this; } public FeComposite withId(String value) { setId(value); return this; } public FeComposite withBase(String value) { setBase(value); return this; } public FeComposite withLang(String value) { setLang(value); return this; } public FeComposite withSpace(String value) { setSpace(value); return this; } public FeComposite withColorInterpolationFilters(String value) { setColorInterpolationFilters(value); return this; } public FeComposite withIn(String value) { setIn(value); return this; } public FeComposite withX(String value) { setX(value); return this; } public FeComposite withY(String value) { setY(value); return this; } public FeComposite withWidth(String value) { setWidth(value); return this; } public FeComposite withHeight(String value) { setHeight(value); return this; } public FeComposite withResult(String value) { setResult(value); return this; } @Override public FeComposite withAnimateOrSet(Object... values) { if (values!= null) { for (Object value: values) { getAnimateOrSet().add(value); } } return this; } @Override public FeComposite withAnimateOrSet(Collection values) { if (values!= null) { getAnimateOrSet().addAll(values); } return this; } }