package com.formulasearchengine.wikitext;
import javax.annotation.Generated;
import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
/**
* <p>Java class for MediaWikiType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="MediaWikiType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="siteinfo" type="{http://www.mediawiki.org/xml/export-0.10/}SiteInfoType"
* minOccurs="0"/>
* <element name="page" type="{http://www.mediawiki.org/xml/export-0.10/}PageType"
* maxOccurs="unbounded" minOccurs="0"/>
* <element name="logitem" type="{http://www.mediawiki.org/xml/export-0.10/}LogItemType"
* maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string"
* />
* <attribute ref="{http://www.w3.org/XML/1998/namespace}lang use="required""/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MediaWikiType", namespace = "http://www.mediawiki.org/xml/export-0.10/", propOrder = {
"siteinfo",
"page",
"logitem"
})
@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 MediaWikiType {
@XmlElement(namespace = "http://www.mediawiki.org/xml/export-0.10/")
@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 SiteInfoType siteinfo;
@XmlElement(namespace = "http://www.mediawiki.org/xml/export-0.10/")
@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 List<PageType> page;
@XmlElement(namespace = "http://www.mediawiki.org/xml/export-0.10/")
@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 List<LogItemType> logitem;
@XmlAttribute(name = "version", required = true)
@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 version;
@XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace", required = true)
@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 lang;
/**
* Gets the value of the siteinfo property.
*
* @return possible object is {@link SiteInfoType }
*/
@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 SiteInfoType getSiteinfo() {
return siteinfo;
}
/**
* Sets the value of the siteinfo property.
*
* @param value allowed object is {@link SiteInfoType }
*/
@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 setSiteinfo(SiteInfoType value) {
this.siteinfo = value;
}
/**
* Gets the value of the page property.
*
* <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any
* modification you make to the returned list will be present inside the JAXB object. This is why
* there is not a <CODE>set</CODE> method for the page property.
*
* <p> For example, to add a new item, do as follows:
* <pre>
* getPage().add(newItem);
* </pre>
*
*
* <p> Objects of the following type(s) are allowed in the list {@link PageType }
*/
@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 List<PageType> getPage() {
if (page == null) {
page = new ArrayList<PageType>();
}
return this.page;
}
/**
* Gets the value of the logitem property.
*
* <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any
* modification you make to the returned list will be present inside the JAXB object. This is why
* there is not a <CODE>set</CODE> method for the logitem property.
*
* <p> For example, to add a new item, do as follows:
* <pre>
* getLogitem().add(newItem);
* </pre>
*
*
* <p> Objects of the following type(s) are allowed in the list {@link LogItemType }
*/
@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 List<LogItemType> getLogitem() {
if (logitem == null) {
logitem = new ArrayList<LogItemType>();
}
return this.logitem;
}
/**
* Gets the value of the version 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 getVersion() {
return version;
}
/**
* Sets the value of the version 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 setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the lang 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 getLang() {
return lang;
}
/**
* Sets the value of the lang 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 setLang(String value) {
this.lang = value;
}
}