All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sweble.wikitext.engine.utils.AdaptedSimpleWikiConfiguration Maven / Gradle / Ivy

Go to download

A minimal engine using the Sweble Wikitext Parser to process articles in the context of a MediaWiki-like configuration.

There is a newer version: 3.1.9
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2014.09.12 at 12:38:33 AM CEST 
//


package org.sweble.wikitext.engine.utils;

import java.math.BigInteger;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for SimpleWikiConfiguration element declaration. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <element name="SimpleWikiConfiguration">
 *   <complexType>
 *     <complexContent>
 *       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *         <sequence>
 *           <element name="namespaces">
 *             <complexType>
 *               <complexContent>
 *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                   <sequence>
 *                     <element name="Namespace" type="{}Namespace" maxOccurs="unbounded" minOccurs="0"/>
 *                   </sequence>
 *                   <attribute name="defaultNamespace" type="{http://www.w3.org/2001/XMLSchema}integer" />
 *                   <attribute name="templateNamespace" type="{http://www.w3.org/2001/XMLSchema}integer" />
 *                 </restriction>
 *               </complexContent>
 *             </complexType>
 *           </element>
 *           <element name="interwikiLinks">
 *             <complexType>
 *               <complexContent>
 *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                   <sequence>
 *                     <element name="Interwiki" type="{}Interwiki" maxOccurs="unbounded" minOccurs="0"/>
 *                   </sequence>
 *                 </restriction>
 *               </complexContent>
 *             </complexType>
 *           </element>
 *           <element name="magicWords">
 *             <complexType>
 *               <complexContent>
 *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                   <sequence>
 *                     <element name="MagicWord" type="{}MagicWord" maxOccurs="unbounded" minOccurs="0"/>
 *                   </sequence>
 *                 </restriction>
 *               </complexContent>
 *             </complexType>
 *           </element>
 *         </sequence>
 *       </restriction>
 *     </complexContent>
 *   </complexType>
 * </element>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "namespaces", "interwikiLinks", "magicWords" }) @XmlRootElement(name = "SimpleWikiConfiguration") public class AdaptedSimpleWikiConfiguration { @XmlElement(required = true) protected AdaptedSimpleWikiConfiguration.Namespaces namespaces; @XmlElement(required = true) protected AdaptedSimpleWikiConfiguration.InterwikiLinks interwikiLinks; @XmlElement(required = true) protected AdaptedSimpleWikiConfiguration.MagicWords magicWords; /** * Gets the value of the namespaces property. * * @return * possible object is * {@link AdaptedSimpleWikiConfiguration.Namespaces } * */ public AdaptedSimpleWikiConfiguration.Namespaces getNamespaces() { return namespaces; } /** * Sets the value of the namespaces property. * * @param value * allowed object is * {@link AdaptedSimpleWikiConfiguration.Namespaces } * */ public void setNamespaces(AdaptedSimpleWikiConfiguration.Namespaces value) { this.namespaces = value; } /** * Gets the value of the interwikiLinks property. * * @return * possible object is * {@link AdaptedSimpleWikiConfiguration.InterwikiLinks } * */ public AdaptedSimpleWikiConfiguration.InterwikiLinks getInterwikiLinks() { return interwikiLinks; } /** * Sets the value of the interwikiLinks property. * * @param value * allowed object is * {@link AdaptedSimpleWikiConfiguration.InterwikiLinks } * */ public void setInterwikiLinks(AdaptedSimpleWikiConfiguration.InterwikiLinks value) { this.interwikiLinks = value; } /** * Gets the value of the magicWords property. * * @return * possible object is * {@link AdaptedSimpleWikiConfiguration.MagicWords } * */ public AdaptedSimpleWikiConfiguration.MagicWords getMagicWords() { return magicWords; } /** * Sets the value of the magicWords property. * * @param value * allowed object is * {@link AdaptedSimpleWikiConfiguration.MagicWords } * */ public void setMagicWords(AdaptedSimpleWikiConfiguration.MagicWords value) { this.magicWords = value; } /** *

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="Interwiki" type="{}Interwiki" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "interwiki" }) public static class InterwikiLinks { @XmlElement(name = "Interwiki") protected List interwiki; /** * Gets the value of the interwiki property. * *

* 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 set method for the interwiki property. * *

* For example, to add a new item, do as follows: *

         *    getInterwiki().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AdaptedInterwiki } * * */ public List getInterwiki() { if (interwiki == null) { interwiki = new ArrayList(); } return this.interwiki; } } /** *

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="MagicWord" type="{}MagicWord" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "magicWord" }) public static class MagicWords { @XmlElement(name = "MagicWord") protected List magicWord; /** * Gets the value of the magicWord property. * *

* 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 set method for the magicWord property. * *

* For example, to add a new item, do as follows: *

         *    getMagicWord().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AdaptedMagicWord } * * */ public List getMagicWord() { if (magicWord == null) { magicWord = new ArrayList(); } return this.magicWord; } } /** *

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="Namespace" type="{}Namespace" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *       <attribute name="defaultNamespace" type="{http://www.w3.org/2001/XMLSchema}integer" />
     *       <attribute name="templateNamespace" type="{http://www.w3.org/2001/XMLSchema}integer" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "namespace" }) public static class Namespaces { @XmlElement(name = "Namespace") protected List namespace; @XmlAttribute(name = "defaultNamespace") protected BigInteger defaultNamespace; @XmlAttribute(name = "templateNamespace") protected BigInteger templateNamespace; /** * Gets the value of the namespace property. * *

* 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 set method for the namespace property. * *

* For example, to add a new item, do as follows: *

         *    getNamespace().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AdaptedNamespace } * * */ public List getNamespace() { if (namespace == null) { namespace = new ArrayList(); } return this.namespace; } /** * Gets the value of the defaultNamespace property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getDefaultNamespace() { return defaultNamespace; } /** * Sets the value of the defaultNamespace property. * * @param value * allowed object is * {@link BigInteger } * */ public void setDefaultNamespace(BigInteger value) { this.defaultNamespace = value; } /** * Gets the value of the templateNamespace property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getTemplateNamespace() { return templateNamespace; } /** * Sets the value of the templateNamespace property. * * @param value * allowed object is * {@link BigInteger } * */ public void setTemplateNamespace(BigInteger value) { this.templateNamespace = value; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy