
org.openfuxml.content.ofx.Emphasis Maven / Gradle / Ivy
The newest version!
package org.openfuxml.content.ofx;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="style" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="normal"/>
* <enumeration value="typewriter"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="bold" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="italic" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="underline" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
@XmlRootElement(name = "emphasis")
public class Emphasis implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlValue
protected String value;
@XmlAttribute(name = "style", required = true)
protected String style;
@XmlAttribute(name = "bold")
protected Boolean bold;
@XmlAttribute(name = "italic")
protected Boolean italic;
@XmlAttribute(name = "underline")
protected Boolean underline;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
public boolean isSetValue() {
return (this.value!= null);
}
/**
* 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;
}
public boolean isSetStyle() {
return (this.style!= null);
}
/**
* Gets the value of the bold property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isBold() {
return bold;
}
/**
* Sets the value of the bold property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setBold(boolean value) {
this.bold = value;
}
public boolean isSetBold() {
return (this.bold!= null);
}
public void unsetBold() {
this.bold = null;
}
/**
* Gets the value of the italic property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isItalic() {
return italic;
}
/**
* Sets the value of the italic property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setItalic(boolean value) {
this.italic = value;
}
public boolean isSetItalic() {
return (this.italic!= null);
}
public void unsetItalic() {
this.italic = null;
}
/**
* Gets the value of the underline property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isUnderline() {
return underline;
}
/**
* Sets the value of the underline property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUnderline(boolean value) {
this.underline = value;
}
public boolean isSetUnderline() {
return (this.underline!= null);
}
public void unsetUnderline() {
this.underline = null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy