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

com.github.rahulsom.svg.SVGFeDiffuseLightingContent Maven / Gradle / Ivy


package com.github.rahulsom.svg;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for SVG.feDiffuseLighting.content complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="SVG.feDiffuseLighting.content">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <choice>
 *           <element ref="{http://www.w3.org/2000/svg}feDistantLight"/>
 *           <element ref="{http://www.w3.org/2000/svg}fePointLight"/>
 *           <element ref="{http://www.w3.org/2000/svg}feSpotLight"/>
 *         </choice>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element ref="{http://www.w3.org/2000/svg}animate"/>
 *           <element ref="{http://www.w3.org/2000/svg}set"/>
 *           <element ref="{http://www.w3.org/2000/svg}animateColor"/>
 *         </choice>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SVG.feDiffuseLighting.content", propOrder = { "feDistantLight", "fePointLight", "feSpotLight", "animateOrSetOrAnimateColor" }) @XmlSeeAlso({ FeDiffuseLighting.class }) public class SVGFeDiffuseLightingContent { protected FeDistantLight feDistantLight; protected FePointLight fePointLight; protected FeSpotLight feSpotLight; @XmlElements({ @XmlElement(name = "animate", type = Animate.class), @XmlElement(name = "set", type = Set.class), @XmlElement(name = "animateColor", type = AnimateColor.class) }) protected List animateOrSetOrAnimateColor; /** * Gets the value of the feDistantLight property. * * @return * possible object is * {@link FeDistantLight } * */ public FeDistantLight getFeDistantLight() { return feDistantLight; } /** * Sets the value of the feDistantLight property. * * @param value * allowed object is * {@link FeDistantLight } * */ public void setFeDistantLight(FeDistantLight value) { this.feDistantLight = value; } /** * Gets the value of the fePointLight property. * * @return * possible object is * {@link FePointLight } * */ public FePointLight getFePointLight() { return fePointLight; } /** * Sets the value of the fePointLight property. * * @param value * allowed object is * {@link FePointLight } * */ public void setFePointLight(FePointLight value) { this.fePointLight = value; } /** * Gets the value of the feSpotLight property. * * @return * possible object is * {@link FeSpotLight } * */ public FeSpotLight getFeSpotLight() { return feSpotLight; } /** * Sets the value of the feSpotLight property. * * @param value * allowed object is * {@link FeSpotLight } * */ public void setFeSpotLight(FeSpotLight value) { this.feSpotLight = value; } /** * Gets the value of the animateOrSetOrAnimateColor property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the animateOrSetOrAnimateColor property. * *

* For example, to add a new item, do as follows: *

     *    getAnimateOrSetOrAnimateColor().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Animate } * {@link Set } * {@link AnimateColor } * * */ public List getAnimateOrSetOrAnimateColor() { if (animateOrSetOrAnimateColor == null) { animateOrSetOrAnimateColor = new ArrayList(); } return this.animateOrSetOrAnimateColor; } public SVGFeDiffuseLightingContent withFeDistantLight(FeDistantLight value) { setFeDistantLight(value); return this; } public SVGFeDiffuseLightingContent withFePointLight(FePointLight value) { setFePointLight(value); return this; } public SVGFeDiffuseLightingContent withFeSpotLight(FeSpotLight value) { setFeSpotLight(value); return this; } public SVGFeDiffuseLightingContent withAnimateOrSetOrAnimateColor(Object... values) { if (values!= null) { for (Object value: values) { getAnimateOrSetOrAnimateColor().add(value); } } return this; } public SVGFeDiffuseLightingContent withAnimateOrSetOrAnimateColor(Collection values) { if (values!= null) { getAnimateOrSetOrAnimateColor().addAll(values); } return this; } }