uk.gov.legislation.namespaces.legislation.Version Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of legislation-gov-uk Show documentation
Show all versions of legislation-gov-uk Show documentation
Java library for consuming the Legislation.gov.uk API
//
// 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.08.07 at 06:17:52 PM CEST
//
package uk.gov.legislation.namespaces.legislation;
import org.w3c.dom.Element;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.ArrayList;
import java.util.List;
/**
* 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>
* <any processContents='lax' minOccurs="0"/>
* </sequence>
* <attGroup ref="{http://www.legislation.gov.uk/namespaces/legislation}CommonSubAttributes"/>
* <attribute name="Description" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="id">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
* <pattern value="v[0-9]{5}"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="Class">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="text"/>
* <enumeration value="audio"/>
* <enumeration value="braille"/>
* <enumeration value="graphic"/>
* <enumeration value="video"/>
* <enumeration value="other"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="Language">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Arabic"/>
* <enumeration value="Bengali"/>
* <enumeration value="Chinese"/>
* <enumeration value="Danish"/>
* <enumeration value="Dutch"/>
* <enumeration value="English"/>
* <enumeration value="Finnish"/>
* <enumeration value="French"/>
* <enumeration value="Gaelic"/>
* <enumeration value="German"/>
* <enumeration value="Greek"/>
* <enumeration value="Hindi"/>
* <enumeration value="Hungarian"/>
* <enumeration value="Icelandic"/>
* <enumeration value="Italian"/>
* <enumeration value="Latin"/>
* <enumeration value="Latvian"/>
* <enumeration value="Lithuanian"/>
* <enumeration value="Norwegian"/>
* <enumeration value="Polish"/>
* <enumeration value="Russian"/>
* <enumeration value="Slovenian"/>
* <enumeration value="Spanish"/>
* <enumeration value="Urdu"/>
* <enumeration value="Welsh"/>
* <enumeration value="notApplicable"/>
* <enumeration value="other"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="RestrictOutput" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
@XmlRootElement(name = "Version")
public class Version {
@XmlAnyElement
protected Element any;
@XmlAttribute(name = "Description")
protected String description;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
protected String id;
@XmlAttribute(name = "Class")
protected String clazz;
@XmlAttribute(name = "Language")
protected String language;
@XmlAttribute(name = "RestrictOutput")
protected Boolean restrictOutput;
@XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String lang;
@XmlAttribute(name = "space", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String space;
@XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlSchemaType(name = "anyURI")
protected String base;
@XmlAttribute(name = "AltVersionRefs")
@XmlIDREF
@XmlSchemaType(name = "IDREFS")
protected List