package com.formulasearchengine.wikitext;
import javax.annotation.Generated;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.math.BigInteger;
/**
* <p>Java class for TextType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="TextType">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute ref="{http://www.w3.org/XML/1998/namespace}space default="preserve""/>
* <attribute name="deleted" type="{http://www.mediawiki.org/xml/export-0.10/}DeletedFlagType"
* />
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* <attribute name="bytes" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TextType", namespace = "http://www.mediawiki.org/xml/export-0.10/", propOrder = {
"value"
})
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
public class TextType {
@XmlValue
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
protected String value;
@XmlAttribute(name = "space", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
protected String space;
@XmlAttribute(name = "deleted")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
protected DeletedFlagType deleted;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
protected String id;
@XmlAttribute(name = "bytes")
@XmlSchemaType(name = "nonNegativeInteger")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
protected BigInteger bytes;
/**
* Gets the value of the value property.
*
* @return possible object is {@link String }
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value allowed object is {@link String }
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the space property.
*
* @return possible object is {@link String }
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
public String getSpace() {
if (space == null) {
return "preserve";
} else {
return space;
}
}
/**
* Sets the value of the space property.
*
* @param value allowed object is {@link String }
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
public void setSpace(String value) {
this.space = value;
}
/**
* Gets the value of the deleted property.
*
* @return possible object is {@link DeletedFlagType }
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
public DeletedFlagType getDeleted() {
return deleted;
}
/**
* Sets the value of the deleted property.
*
* @param value allowed object is {@link DeletedFlagType }
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
public void setDeleted(DeletedFlagType value) {
this.deleted = value;
}
/**
* Gets the value of the id property.
*
* @return possible object is {@link String }
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value allowed object is {@link String }
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the bytes property.
*
* @return possible object is {@link BigInteger }
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
public BigInteger getBytes() {
return bytes;
}
/**
* Sets the value of the bytes property.
*
* @param value allowed object is {@link BigInteger }
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-10-26T02:56:58+01:00", comments = "JAXB RI v2.2.8-b130911.1802")
public void setBytes(BigInteger value) {
this.bytes = value;
}
}