xmpp.sec_label._0.Displaymarking Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.10.04 at 01:10:24 PM KST
//
package xmpp.sec_label._0;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* String to be prominently displayed along with labeled
* object.
*
* Java class for displaymarking complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="displaymarking">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="bgcolor" type="{urn:xmpp:sec-label:0}color" default="white" />
* <attribute name="fgcolor" type="{urn:xmpp:sec-label:0}color" default="black" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "displaymarking", propOrder = {
"value"
})
public class Displaymarking {
@XmlValue
protected String value;
@XmlAttribute(name = "bgcolor")
protected String bgcolor;
@XmlAttribute(name = "fgcolor")
protected String fgcolor;
/**
* 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;
}
/**
* Gets the value of the bgcolor property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBgcolor() {
if (bgcolor == null) {
return "white";
} else {
return bgcolor;
}
}
/**
* Sets the value of the bgcolor property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBgcolor(String value) {
this.bgcolor = value;
}
/**
* Gets the value of the fgcolor property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFgcolor() {
if (fgcolor == null) {
return "black";
} else {
return fgcolor;
}
}
/**
* Sets the value of the fgcolor property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFgcolor(String value) {
this.fgcolor = value;
}
}