com.bitplan.mediawiki.japi.api.Parse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mediawiki-japi Show documentation
Show all versions of mediawiki-japi Show documentation
Java library to call Mediawiki API described at http://www.mediawiki.org/wiki/API:Main_page
/**
*
* This file is part of the https://github.com/WolfgangFahl/Mediawiki-Japi open source project
*
* Copyright 2015-2018 BITPlan GmbH https://github.com/BITPlan
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* You may obtain a copy of the License at
*
* http:www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.04.05 at 05:20:14 PM CEST
//
package com.bitplan.mediawiki.japi.api;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="sections">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="s" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="toclevel" type="{http://www.w3.org/2001/XMLSchema}byte" />
* <attribute name="level" type="{http://www.w3.org/2001/XMLSchema}byte" />
* <attribute name="line" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="number" type="{http://www.w3.org/2001/XMLSchema}float" />
* <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}byte" />
* <attribute name="fromtitle" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="byteoffset" type="{http://www.w3.org/2001/XMLSchema}short" />
* <attribute name="anchor" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlRootElement(name = "parse")
@XmlAccessorType(XmlAccessType.NONE)
public class Parse {
protected List sections=new ArrayList();
@XmlElement
protected String text;
@XmlAttribute(name = "title")
protected String title;
/**
* Gets the value of the sections property.
*
* @return
* possible object is
* {@link Sections }
*
*/
@XmlElementWrapper(name = "sections")
@XmlElement(name = "s", type = S.class)
public List getSections() {
return sections;
}
/**
* Sets the value of the sections property.
*
* @param value
* allowed object is
* {@link Sections }
*
*/
public void setSections(List value) {
this.sections = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* get the text
* @return the text (if any)
*/
public String getText() {
return text;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy