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

com.github.rahulsom.svg.FePointLight 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.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;


/**
 * 

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.fePointLight.content">
 *       <attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/>
 *       <attribute name="x" type="{http://www.w3.org/2000/svg}Number.datatype" />
 *       <attribute name="y" type="{http://www.w3.org/2000/svg}Number.datatype" />
 *       <attribute name="z" type="{http://www.w3.org/2000/svg}Number.datatype" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "fePointLight") public class FePointLight extends SVGFePointLightContent { @XmlAttribute(name = "x") protected String x; @XmlAttribute(name = "y") protected String y; @XmlAttribute(name = "z") protected String z; @XmlAttribute(name = "space", namespace = "http://www.w3.org/XML/1998/namespace", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String space; @XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String lang; @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; /** * 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 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 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 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; } public FePointLight withX(String value) { setX(value); return this; } public FePointLight withY(String value) { setY(value); return this; } public FePointLight withZ(String value) { setZ(value); return this; } public FePointLight withSpace(String value) { setSpace(value); return this; } public FePointLight withLang(String value) { setLang(value); return this; } public FePointLight withId(String value) { setId(value); return this; } public FePointLight withBase(String value) { setBase(value); return this; } @Override public FePointLight withAnimateOrSet(Object... values) { if (values!= null) { for (Object value: values) { getAnimateOrSet().add(value); } } return this; } @Override public FePointLight withAnimateOrSet(Collection values) { if (values!= null) { getAnimateOrSet().addAll(values); } return this; } }