blob: 2f91d340ae8c39c54e9c3fcb6dd5d4aeaa568a95 [file] [log] [blame]
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.04.21 at 02:35:28 PM CDT
//
package org.eclipse.ptp.rm.jaxb.core.data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for font-type complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* &lt;complexType name="font-type">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="size" type="{http://www.w3.org/2001/XMLSchema}int" default="9" />
* &lt;attribute name="style" default="normal">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="normal"/>
* &lt;enumeration value="bold"/>
* &lt;enumeration value="italic"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/attribute>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "font-type")
public class FontType {
@XmlAttribute
protected String name;
@XmlAttribute
protected Integer size;
@XmlAttribute
protected String style;
/**
* Gets the value of the name property.
*
* @return possible object is {@link String }
*
*/
public String getName() {
return name;
}
/**
* Gets the value of the size property.
*
* @return possible object is {@link Integer }
*
*/
public int getSize() {
if (size == null) {
return 9;
} else {
return size;
}
}
/**
* Gets the value of the style property.
*
* @return possible object is {@link String }
*
*/
public String getStyle() {
if (style == null) {
return "normal"; //$NON-NLS-1$
} else {
return style;
}
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Sets the value of the size property.
*
* @param value
* allowed object is {@link Integer }
*
*/
public void setSize(Integer value) {
this.size = value;
}
/**
* Sets the value of the style property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setStyle(String value) {
this.style = value;
}
}