com.github.rahulsom.svg.FeMorphology 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.feMorphology.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="operator" default="erode">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="erode"/>
* <enumeration value="dilate"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="radius" type="{http://www.w3.org/2000/svg}NumberOptionalNumber.datatype" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public class FeMorphology
extends SVGFeMorphologyContent
{
@XmlAttribute(name = "operator")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String operator;
@XmlAttribute(name = "radius")
protected String radius;
@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 operator property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOperator() {
if (operator == null) {
return "erode";
} 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 radius property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRadius() {
return radius;
}
/**
* Sets the value of the radius property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRadius(String value) {
this.radius = 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 FeMorphology withOperator(String value) {
setOperator(value);
return this;
}
public FeMorphology withRadius(String value) {
setRadius(value);
return this;
}
public FeMorphology withLang(String value) {
setLang(value);
return this;
}
public FeMorphology withSpace(String value) {
setSpace(value);
return this;
}
public FeMorphology withBase(String value) {
setBase(value);
return this;
}
public FeMorphology withId(String value) {
setId(value);
return this;
}
public FeMorphology withColorInterpolationFilters(String value) {
setColorInterpolationFilters(value);
return this;
}
public FeMorphology withIn(String value) {
setIn(value);
return this;
}
public FeMorphology withX(String value) {
setX(value);
return this;
}
public FeMorphology withY(String value) {
setY(value);
return this;
}
public FeMorphology withWidth(String value) {
setWidth(value);
return this;
}
public FeMorphology withHeight(String value) {
setHeight(value);
return this;
}
public FeMorphology withResult(String value) {
setResult(value);
return this;
}
@Override
public FeMorphology withAnimateOrSet(Object... values) {
if (values!= null) {
for (Object value: values) {
getAnimateOrSet().add(value);
}
}
return this;
}
@Override
public FeMorphology withAnimateOrSet(Collection © 2015 - 2025 Weber Informatics LLC | Privacy Policy