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

com.github.rahulsom.svg.FeSpotLight 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.feSpotLight.content"&gt;
 *       &lt;attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/&gt;
 *       &lt;attribute name="x" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *       &lt;attribute name="y" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *       &lt;attribute name="z" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *       &lt;attribute name="pointsAtX" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *       &lt;attribute name="pointsAtY" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *       &lt;attribute name="pointsAtZ" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *       &lt;attribute name="specularExponent" type="{http://www.w3.org/2000/svg}Number.datatype" /&gt;
 *       &lt;attribute name="limitingConeAngle" 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 = "feSpotLight")
public class FeSpotLight
    extends SVGFeSpotLightContent
{

    @XmlAttribute(name = "x")
    protected String x;
    @XmlAttribute(name = "y")
    protected String y;
    @XmlAttribute(name = "z")
    protected String z;
    @XmlAttribute(name = "pointsAtX")
    protected String pointsAtX;
    @XmlAttribute(name = "pointsAtY")
    protected String pointsAtY;
    @XmlAttribute(name = "pointsAtZ")
    protected String pointsAtZ;
    @XmlAttribute(name = "specularExponent")
    protected String specularExponent;
    @XmlAttribute(name = "limitingConeAngle")
    protected String limitingConeAngle;
    @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 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 z property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getZ() {
        return z;
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * Sets the value of the limitingConeAngle property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setLimitingConeAngle(String value) {
        this.limitingConeAngle = 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 FeSpotLight withX(String value) {
        setX(value);
        return this;
    }

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

    public FeSpotLight withZ(String value) {
        setZ(value);
        return this;
    }

    public FeSpotLight withPointsAtX(String value) {
        setPointsAtX(value);
        return this;
    }

    public FeSpotLight withPointsAtY(String value) {
        setPointsAtY(value);
        return this;
    }

    public FeSpotLight withPointsAtZ(String value) {
        setPointsAtZ(value);
        return this;
    }

    public FeSpotLight withSpecularExponent(String value) {
        setSpecularExponent(value);
        return this;
    }

    public FeSpotLight withLimitingConeAngle(String value) {
        setLimitingConeAngle(value);
        return this;
    }

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

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

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

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

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

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

}