org.plutext.jaxb.svg11.LinearGradient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaxb-svg11 Show documentation
Show all versions of jaxb-svg11 Show documentation
JAXB classes modelling SVG 1.1
/*
* Copyright 2010, Plutext Pty Ltd.
*
* This file is part of docx4j.
docx4j is licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.plutext.jaxb.svg11;
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;
/**
* 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.linearGradient.content">
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.External.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Style.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.XLink.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Gradient.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Color.attrib"/>
* <attribute name="x1" type="{http://www.w3.org/2000/svg}Coordinate.datatype" />
* <attribute name="y1" type="{http://www.w3.org/2000/svg}Coordinate.datatype" />
* <attribute name="x2" type="{http://www.w3.org/2000/svg}Coordinate.datatype" />
* <attribute name="y2" type="{http://www.w3.org/2000/svg}Coordinate.datatype" />
* <attribute name="gradientUnits">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="userSpaceOnUse"/>
* <enumeration value="objectBoundingBox"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="gradientTransform" type="{http://www.w3.org/2000/svg}TransformList.datatype" />
* <attribute name="spreadMethod">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="pad"/>
* <enumeration value="reflect"/>
* <enumeration value="repeat"/>
* </restriction>
* </simpleType>
* </attribute>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public class LinearGradient
extends SVGLinearGradientContent
{
@XmlAttribute
protected String x1;
@XmlAttribute
protected String y1;
@XmlAttribute
protected String x2;
@XmlAttribute
protected String y2;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String gradientUnits;
@XmlAttribute
protected String gradientTransform;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String spreadMethod;
@XmlAttribute
protected BooleanDatatype externalResourcesRequired;
@XmlAttribute
protected String style;
@XmlAttribute(name = "class")
protected String clazz;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String type;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
protected String href;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
protected String role;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
protected String arcrole;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anySimpleType")
protected String title;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String show;
@XmlAttribute(namespace = "http://www.w3.org/1999/xlink", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String actuate;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
protected String base;
@XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String space;
@XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String lang;
@XmlAttribute(name = "stop-color")
protected String stopColor;
@XmlAttribute(name = "stop-opacity")
protected String stopOpacity;
@XmlAttribute(name = "color-interpolation")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String colorInterpolation;
@XmlAttribute(name = "color-rendering")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String colorRendering;
@XmlAttribute
protected String color;
/**
* Gets the value of the x1 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getX1() {
return x1;
}
/**
* Sets the value of the x1 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setX1(String value) {
this.x1 = value;
}
/**
* Gets the value of the y1 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getY1() {
return y1;
}
/**
* Sets the value of the y1 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setY1(String value) {
this.y1 = value;
}
/**
* Gets the value of the x2 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getX2() {
return x2;
}
/**
* Sets the value of the x2 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setX2(String value) {
this.x2 = value;
}
/**
* Gets the value of the y2 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getY2() {
return y2;
}
/**
* Sets the value of the y2 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setY2(String value) {
this.y2 = value;
}
/**
* Gets the value of the gradientUnits property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGradientUnits() {
return gradientUnits;
}
/**
* Sets the value of the gradientUnits property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGradientUnits(String value) {
this.gradientUnits = value;
}
/**
* Gets the value of the gradientTransform property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGradientTransform() {
return gradientTransform;
}
/**
* Sets the value of the gradientTransform property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGradientTransform(String value) {
this.gradientTransform = value;
}
/**
* Gets the value of the spreadMethod property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSpreadMethod() {
return spreadMethod;
}
/**
* Sets the value of the spreadMethod property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSpreadMethod(String value) {
this.spreadMethod = value;
}
/**
* Gets the value of the externalResourcesRequired property.
*
* @return
* possible object is
* {@link BooleanDatatype }
*
*/
public BooleanDatatype getExternalResourcesRequired() {
return externalResourcesRequired;
}
/**
* Sets the value of the externalResourcesRequired property.
*
* @param value
* allowed object is
* {@link BooleanDatatype }
*
*/
public void setExternalResourcesRequired(BooleanDatatype value) {
this.externalResourcesRequired = value;
}
/**
* Gets the value of the style property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStyle() {
return style;
}
/**
* Sets the value of the style property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStyle(String value) {
this.style = value;
}
/**
* Gets the value of the clazz property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClazz() {
return clazz;
}
/**
* Sets the value of the clazz property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClazz(String value) {
this.clazz = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
if (type == null) {
return "simple";
} else {
return type;
}
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the href property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHref() {
return href;
}
/**
* Sets the value of the href property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHref(String value) {
this.href = value;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(String value) {
this.role = value;
}
/**
* Gets the value of the arcrole property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArcrole() {
return arcrole;
}
/**
* Sets the value of the arcrole property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArcrole(String value) {
this.arcrole = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the show property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShow() {
return show;
}
/**
* Sets the value of the show property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShow(String value) {
this.show = value;
}
/**
* Gets the value of the actuate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getActuate() {
return actuate;
}
/**
* Sets the value of the actuate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setActuate(String value) {
this.actuate = 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;
}
/**
* 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 stopColor property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStopColor() {
return stopColor;
}
/**
* Sets the value of the stopColor property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStopColor(String value) {
this.stopColor = value;
}
/**
* Gets the value of the stopOpacity property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStopOpacity() {
return stopOpacity;
}
/**
* Sets the value of the stopOpacity property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStopOpacity(String value) {
this.stopOpacity = value;
}
/**
* Gets the value of the colorInterpolation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColorInterpolation() {
return colorInterpolation;
}
/**
* Sets the value of the colorInterpolation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColorInterpolation(String value) {
this.colorInterpolation = value;
}
/**
* Gets the value of the colorRendering property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColorRendering() {
return colorRendering;
}
/**
* Sets the value of the colorRendering property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColorRendering(String value) {
this.colorRendering = value;
}
/**
* Gets the value of the color property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColor() {
return color;
}
/**
* Sets the value of the color property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColor(String value) {
this.color = value;
}
}