com.github.rahulsom.svg.FeDisplacementMap 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>
* <complexType>
* <complexContent>
* <extension base="{http://www.w3.org/2000/svg}SVG.feDisplacementMap.content">
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.FilterPrimitiveWithIn.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.FilterColor.attrib"/>
* <attribute name="in2" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="scale" type="{http://www.w3.org/2000/svg}Number.datatype" />
* <attribute name="xChannelSelector" default="A">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="R"/>
* <enumeration value="G"/>
* <enumeration value="B"/>
* <enumeration value="A"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="yChannelSelector" default="A">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="R"/>
* <enumeration value="G"/>
* <enumeration value="B"/>
* <enumeration value="A"/>
* </restriction>
* </simpleType>
* </attribute>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public class FeDisplacementMap
extends SVGFeDisplacementMapContent
{
@XmlAttribute(name = "in2", required = true)
@XmlSchemaType(name = "anySimpleType")
protected String in2;
@XmlAttribute(name = "scale")
protected String scale;
@XmlAttribute(name = "xChannelSelector")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String xChannelSelector;
@XmlAttribute(name = "yChannelSelector")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String yChannelSelector;
@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;
@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;
/**
* 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 scale property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getScale() {
return scale;
}
/**
* Sets the value of the scale property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setScale(String value) {
this.scale = value;
}
/**
* Gets the value of the xChannelSelector property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXChannelSelector() {
if (xChannelSelector == null) {
return "A";
} else {
return xChannelSelector;
}
}
/**
* Sets the value of the xChannelSelector property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setXChannelSelector(String value) {
this.xChannelSelector = value;
}
/**
* Gets the value of the yChannelSelector property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getYChannelSelector() {
if (yChannelSelector == null) {
return "A";
} else {
return yChannelSelector;
}
}
/**
* Sets the value of the yChannelSelector property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setYChannelSelector(String value) {
this.yChannelSelector = 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;
}
/**
* 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;
}
public FeDisplacementMap withIn2(String value) {
setIn2(value);
return this;
}
public FeDisplacementMap withScale(String value) {
setScale(value);
return this;
}
public FeDisplacementMap withXChannelSelector(String value) {
setXChannelSelector(value);
return this;
}
public FeDisplacementMap withYChannelSelector(String value) {
setYChannelSelector(value);
return this;
}
public FeDisplacementMap withIn(String value) {
setIn(value);
return this;
}
public FeDisplacementMap withX(String value) {
setX(value);
return this;
}
public FeDisplacementMap withY(String value) {
setY(value);
return this;
}
public FeDisplacementMap withWidth(String value) {
setWidth(value);
return this;
}
public FeDisplacementMap withHeight(String value) {
setHeight(value);
return this;
}
public FeDisplacementMap withResult(String value) {
setResult(value);
return this;
}
public FeDisplacementMap withLang(String value) {
setLang(value);
return this;
}
public FeDisplacementMap withSpace(String value) {
setSpace(value);
return this;
}
public FeDisplacementMap withBase(String value) {
setBase(value);
return this;
}
public FeDisplacementMap withId(String value) {
setId(value);
return this;
}
public FeDisplacementMap withColorInterpolationFilters(String value) {
setColorInterpolationFilters(value);
return this;
}
@Override
public FeDisplacementMap withAnimateOrSet(Object... values) {
if (values!= null) {
for (Object value: values) {
getAnimateOrSet().add(value);
}
}
return this;
}
@Override
public FeDisplacementMap withAnimateOrSet(Collection © 2015 - 2025 Weber Informatics LLC | Privacy Policy