org.sweble.wikitext.engine.utils.AdaptedInterwiki Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swc-engine Show documentation
Show all versions of swc-engine Show documentation
A minimal engine using the Sweble Wikitext Parser to
process articles in the context of a MediaWiki-like configuration.
//
// 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: 2012.05.26 at 11:05:57 PM CEST
//
package org.sweble.wikitext.engine.utils;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Interwiki complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Interwiki">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="prefix" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="url" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
* <element name="local" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="trans" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Interwiki", propOrder = {
"prefix",
"url",
"local",
"trans"
})
public class AdaptedInterwiki {
@XmlElement(required = true)
protected String prefix;
@XmlElement(required = true)
@XmlSchemaType(name = "anyURI")
protected String url;
protected boolean local;
protected boolean trans;
/**
* Gets the value of the prefix property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrefix() {
return prefix;
}
/**
* Sets the value of the prefix property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPrefix(String value) {
this.prefix = value;
}
/**
* Gets the value of the url property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUrl() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUrl(String value) {
this.url = value;
}
/**
* Gets the value of the local property.
*
*/
public boolean isLocal() {
return local;
}
/**
* Sets the value of the local property.
*
*/
public void setLocal(boolean value) {
this.local = value;
}
/**
* Gets the value of the trans property.
*
*/
public boolean isTrans() {
return trans;
}
/**
* Sets the value of the trans property.
*
*/
public void setTrans(boolean value) {
this.trans = value;
}
}