From 4d3c33af0ba3474bc67b4f06708305c8c0129540 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 25 Jan 2012 14:36:53 +0000 Subject: Generated JAXB bindings for XAdES 1.4 git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1008 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../org/etsi/uri/_01903/v1_4/ObjectFactory.java | 71 +++++++++ .../etsi/uri/_01903/v1_4/ValidationDataType.java | 162 +++++++++++++++++++++ .../org/etsi/uri/_01903/v1_4/package-info.java | 9 ++ 3 files changed, 242 insertions(+) create mode 100644 utils/src/main/java/org/etsi/uri/_01903/v1_4/ObjectFactory.java create mode 100644 utils/src/main/java/org/etsi/uri/_01903/v1_4/ValidationDataType.java create mode 100644 utils/src/main/java/org/etsi/uri/_01903/v1_4/package-info.java (limited to 'utils/src/main/java/org/etsi/uri/_01903/v1_4') diff --git a/utils/src/main/java/org/etsi/uri/_01903/v1_4/ObjectFactory.java b/utils/src/main/java/org/etsi/uri/_01903/v1_4/ObjectFactory.java new file mode 100644 index 00000000..92569076 --- /dev/null +++ b/utils/src/main/java/org/etsi/uri/_01903/v1_4/ObjectFactory.java @@ -0,0 +1,71 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.01.10 at 12:03:52 PM CET +// + + +package org.etsi.uri._01903.v1_4; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; +import org.etsi.uri._01903.v1_3.XAdESTimeStampType; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the org.etsi.uri._01903.v1_4 package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _ArchiveTimeStamp_QNAME = new QName("http://uri.etsi.org/01903/v1.4.1#", "ArchiveTimeStamp"); + private final static QName _TimeStampValidationData_QNAME = new QName("http://uri.etsi.org/01903/v1.4.1#", "TimeStampValidationData"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.etsi.uri._01903.v1_4 + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ValidationDataType } + * + */ + public ValidationDataType createValidationDataType() { + return new ValidationDataType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XAdESTimeStampType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://uri.etsi.org/01903/v1.4.1#", name = "ArchiveTimeStamp") + public JAXBElement createArchiveTimeStamp(XAdESTimeStampType value) { + return new JAXBElement(_ArchiveTimeStamp_QNAME, XAdESTimeStampType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ValidationDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://uri.etsi.org/01903/v1.4.1#", name = "TimeStampValidationData") + public JAXBElement createTimeStampValidationData(ValidationDataType value) { + return new JAXBElement(_TimeStampValidationData_QNAME, ValidationDataType.class, null, value); + } + +} diff --git a/utils/src/main/java/org/etsi/uri/_01903/v1_4/ValidationDataType.java b/utils/src/main/java/org/etsi/uri/_01903/v1_4/ValidationDataType.java new file mode 100644 index 00000000..6ee0a3a4 --- /dev/null +++ b/utils/src/main/java/org/etsi/uri/_01903/v1_4/ValidationDataType.java @@ -0,0 +1,162 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.01.10 at 12:03:52 PM CET +// + + +package org.etsi.uri._01903.v1_4; + +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.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import org.etsi.uri._01903.v1_3.CertificateValuesType; +import org.etsi.uri._01903.v1_3.RevocationValuesType; + + +/** + *

Java class for ValidationDataType complex type. + * + *

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

+ * <complexType name="ValidationDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://uri.etsi.org/01903/v1.3.2#}CertificateValues" minOccurs="0"/>
+ *         <element ref="{http://uri.etsi.org/01903/v1.3.2#}RevocationValues" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *       <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ValidationDataType", propOrder = { + "certificateValues", + "revocationValues" +}) +public class ValidationDataType { + + @XmlElement(name = "CertificateValues", namespace = "http://uri.etsi.org/01903/v1.3.2#") + protected CertificateValuesType certificateValues; + @XmlElement(name = "RevocationValues", namespace = "http://uri.etsi.org/01903/v1.3.2#") + protected RevocationValuesType revocationValues; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + + /** + * Gets the value of the certificateValues property. + * + * @return + * possible object is + * {@link CertificateValuesType } + * + */ + public CertificateValuesType getCertificateValues() { + return certificateValues; + } + + /** + * Sets the value of the certificateValues property. + * + * @param value + * allowed object is + * {@link CertificateValuesType } + * + */ + public void setCertificateValues(CertificateValuesType value) { + this.certificateValues = value; + } + + /** + * Gets the value of the revocationValues property. + * + * @return + * possible object is + * {@link RevocationValuesType } + * + */ + public RevocationValuesType getRevocationValues() { + return revocationValues; + } + + /** + * Sets the value of the revocationValues property. + * + * @param value + * allowed object is + * {@link RevocationValuesType } + * + */ + public void setRevocationValues(RevocationValuesType value) { + this.revocationValues = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + +} diff --git a/utils/src/main/java/org/etsi/uri/_01903/v1_4/package-info.java b/utils/src/main/java/org/etsi/uri/_01903/v1_4/package-info.java new file mode 100644 index 00000000..8a9de55f --- /dev/null +++ b/utils/src/main/java/org/etsi/uri/_01903/v1_4/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.01.10 at 12:03:52 PM CET +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://uri.etsi.org/01903/v1.4.1#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package org.etsi.uri._01903.v1_4; -- cgit v1.2.3