com.github.rahulsom.svg.GlyphRef Maven / Gradle / Ivy
package com.github.rahulsom.svg;
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>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Style.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Core.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.XLink.attrib"/>
* <attGroup ref="{http://www.w3.org/2000/svg}SVG.Font.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="dx" type="{http://www.w3.org/2000/svg}Number.datatype" />
* <attribute name="dy" type="{http://www.w3.org/2000/svg}Number.datatype" />
* <attribute name="glyphRef" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "glyphRef")
public class GlyphRef {
@XmlAttribute(name = "x")
protected String x;
@XmlAttribute(name = "y")
protected String y;
@XmlAttribute(name = "dx")
protected String dx;
@XmlAttribute(name = "dy")
protected String dy;
@XmlAttribute(name = "glyphRef")
@XmlSchemaType(name = "anySimpleType")
protected String glyphRef;
@XmlAttribute(name = "format")
@XmlSchemaType(name = "anySimpleType")
protected String format;
@XmlAttribute(name = "style")
protected String style;
@XmlAttribute(name = "class")
protected String clazz;
@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;
@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 = "type", namespace = "http://www.w3.org/1999/xlink")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String type;
@XmlAttribute(name = "href", namespace = "http://www.w3.org/1999/xlink")
protected String href;
@XmlAttribute(name = "role", namespace = "http://www.w3.org/1999/xlink")
protected String role;
@XmlAttribute(name = "arcrole", namespace = "http://www.w3.org/1999/xlink")
protected String arcrole;
@XmlAttribute(name = "title", namespace = "http://www.w3.org/1999/xlink")
@XmlSchemaType(name = "anySimpleType")
protected String title;
@XmlAttribute(name = "actuate", namespace = "http://www.w3.org/1999/xlink", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String actuate;
@XmlAttribute(name = "show", namespace = "http://www.w3.org/1999/xlink", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String show;
@XmlAttribute(name = "font-family")
protected String fontFamily;
@XmlAttribute(name = "font-size")
protected String fontSize;
@XmlAttribute(name = "font-size-adjust")
protected String fontSizeAdjust;
@XmlAttribute(name = "font-stretch")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String fontStretch;
@XmlAttribute(name = "font-style")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String fontStyle;
@XmlAttribute(name = "font-variant")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String fontVariant;
@XmlAttribute(name = "font-weight")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String fontWeight;
/**
* 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 dx property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDx() {
return dx;
}
/**
* Sets the value of the dx property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDx(String value) {
this.dx = value;
}
/**
* Gets the value of the dy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDy() {
return dy;
}
/**
* Sets the value of the dy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDy(String value) {
this.dy = value;
}
/**
* Gets the value of the glyphRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGlyphRef() {
return glyphRef;
}
/**
* Sets the value of the glyphRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGlyphRef(String value) {
this.glyphRef = value;
}
/**
* Gets the value of the format property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFormat() {
return format;
}
/**
* Sets the value of the format property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFormat(String value) {
this.format = 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 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 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 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 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 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 fontFamily property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFontFamily() {
return fontFamily;
}
/**
* Sets the value of the fontFamily property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFontFamily(String value) {
this.fontFamily = value;
}
/**
* Gets the value of the fontSize property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFontSize() {
return fontSize;
}
/**
* Sets the value of the fontSize property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFontSize(String value) {
this.fontSize = value;
}
/**
* Gets the value of the fontSizeAdjust property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFontSizeAdjust() {
return fontSizeAdjust;
}
/**
* Sets the value of the fontSizeAdjust property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFontSizeAdjust(String value) {
this.fontSizeAdjust = value;
}
/**
* Gets the value of the fontStretch property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFontStretch() {
return fontStretch;
}
/**
* Sets the value of the fontStretch property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFontStretch(String value) {
this.fontStretch = value;
}
/**
* Gets the value of the fontStyle property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFontStyle() {
return fontStyle;
}
/**
* Sets the value of the fontStyle property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFontStyle(String value) {
this.fontStyle = value;
}
/**
* Gets the value of the fontVariant property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFontVariant() {
return fontVariant;
}
/**
* Sets the value of the fontVariant property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFontVariant(String value) {
this.fontVariant = value;
}
/**
* Gets the value of the fontWeight property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFontWeight() {
return fontWeight;
}
/**
* Sets the value of the fontWeight property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFontWeight(String value) {
this.fontWeight = value;
}
public GlyphRef withX(String value) {
setX(value);
return this;
}
public GlyphRef withY(String value) {
setY(value);
return this;
}
public GlyphRef withDx(String value) {
setDx(value);
return this;
}
public GlyphRef withDy(String value) {
setDy(value);
return this;
}
public GlyphRef withGlyphRef(String value) {
setGlyphRef(value);
return this;
}
public GlyphRef withFormat(String value) {
setFormat(value);
return this;
}
public GlyphRef withStyle(String value) {
setStyle(value);
return this;
}
public GlyphRef withClazz(String value) {
setClazz(value);
return this;
}
public GlyphRef withId(String value) {
setId(value);
return this;
}
public GlyphRef withBase(String value) {
setBase(value);
return this;
}
public GlyphRef withLang(String value) {
setLang(value);
return this;
}
public GlyphRef withSpace(String value) {
setSpace(value);
return this;
}
public GlyphRef withType(String value) {
setType(value);
return this;
}
public GlyphRef withHref(String value) {
setHref(value);
return this;
}
public GlyphRef withRole(String value) {
setRole(value);
return this;
}
public GlyphRef withArcrole(String value) {
setArcrole(value);
return this;
}
public GlyphRef withTitle(String value) {
setTitle(value);
return this;
}
public GlyphRef withActuate(String value) {
setActuate(value);
return this;
}
public GlyphRef withShow(String value) {
setShow(value);
return this;
}
public GlyphRef withFontFamily(String value) {
setFontFamily(value);
return this;
}
public GlyphRef withFontSize(String value) {
setFontSize(value);
return this;
}
public GlyphRef withFontSizeAdjust(String value) {
setFontSizeAdjust(value);
return this;
}
public GlyphRef withFontStretch(String value) {
setFontStretch(value);
return this;
}
public GlyphRef withFontStyle(String value) {
setFontStyle(value);
return this;
}
public GlyphRef withFontVariant(String value) {
setFontVariant(value);
return this;
}
public GlyphRef withFontWeight(String value) {
setFontWeight(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy