uk.gov.legislation.namespaces.legislation.P2Group 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 uk.co.tso.assets.namespace.error.ErrorType;
import javax.xml.bind.JAXBElement;
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>
* <group ref="{http://www.tso.co.uk/assets/namespace/error}Errors" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/legislation}Title"/>
* <choice maxOccurs="unbounded">
* <element ref="{http://www.legislation.gov.uk/namespaces/legislation}P2"/>
* <element ref="{http://www.legislation.gov.uk/namespaces/legislation}P2para"/>
* </choice>
* </sequence>
* <attGroup ref="{http://www.legislation.gov.uk/namespaces/legislation}PelementIDattributes"/>
* <attGroup ref="{http://www.legislation.gov.uk/namespaces/legislation}CommonSubAttributes"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"errorsAndWarnings",
"title",
"p2SAndP2Paras"
})
@XmlRootElement(name = "P2group")
public class P2Group {
@XmlElementRefs({
@XmlElementRef(name = "Error", namespace = "http://www.tso.co.uk/assets/namespace/error", type = JAXBElement.class, required = false),
@XmlElementRef(name = "Warning", namespace = "http://www.tso.co.uk/assets/namespace/error", type = JAXBElement.class, required = false)
})
protected List> errorsAndWarnings;
@XmlElement(name = "Title", required = true)
protected InlineFullStructure title;
@XmlElements({
@XmlElement(name = "P2", type = P2 .class),
@XmlElement(name = "P2para", type = P2Para.class)
})
protected List