diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-09-30 12:19:31 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-09-30 12:19:31 +0200 |
commit | dcd678d6ac5ededc8b58b5d473cf12acfdbd8598 (patch) | |
tree | 5085b777f1da246f3769539e16fdcb089b8f7c23 /src/main/java/at/gv/util/xsd/w3c_xmlenc | |
parent | b950de8b3994caa81504e677c125a07564582929 (diff) | |
download | egovutils-dcd678d6ac5ededc8b58b5d473cf12acfdbd8598.tar.gz egovutils-dcd678d6ac5ededc8b58b5d473cf12acfdbd8598.tar.bz2 egovutils-dcd678d6ac5ededc8b58b5d473cf12acfdbd8598.zip |
add JaxB classes for MIS client 2.0
Diffstat (limited to 'src/main/java/at/gv/util/xsd/w3c_xmlenc')
14 files changed, 1613 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/AgreementMethodType.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/AgreementMethodType.java new file mode 100644 index 0000000..2c4d82a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/AgreementMethodType.java @@ -0,0 +1,117 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.w3c_xmldsig.KeyInfoType; + + +/** + * <p>Java-Klasse für AgreementMethodType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="AgreementMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="KA-Nonce" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> + * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * <element name="OriginatorKeyInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType" minOccurs="0"/> + * <element name="RecipientKeyInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AgreementMethodType", propOrder = { + "content" +}) +public class AgreementMethodType { + + @XmlElementRefs({ + @XmlElementRef(name = "RecipientKeyInfo", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "OriginatorKeyInfo", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "KA-Nonce", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class, required = false) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >} + * {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >} + * {@link JAXBElement }{@code <}{@link byte[]}{@code >} + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Ruft den Wert der algorithm-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Legt den Wert der algorithm-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/CipherDataType.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/CipherDataType.java new file mode 100644 index 0000000..10bada7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/CipherDataType.java @@ -0,0 +1,88 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für CipherDataType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="CipherDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="CipherValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element ref="{http://www.w3.org/2001/04/xmlenc#}CipherReference"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CipherDataType", propOrder = { + "cipherValue", + "cipherReference" +}) +public class CipherDataType { + + @XmlElement(name = "CipherValue") + protected byte[] cipherValue; + @XmlElement(name = "CipherReference") + protected CipherReferenceType cipherReference; + + /** + * Ruft den Wert der cipherValue-Eigenschaft ab. + * + * @return + * possible object is + * byte[] + */ + public byte[] getCipherValue() { + return cipherValue; + } + + /** + * Legt den Wert der cipherValue-Eigenschaft fest. + * + * @param value + * allowed object is + * byte[] + */ + public void setCipherValue(byte[] value) { + this.cipherValue = value; + } + + /** + * Ruft den Wert der cipherReference-Eigenschaft ab. + * + * @return + * possible object is + * {@link CipherReferenceType } + * + */ + public CipherReferenceType getCipherReference() { + return cipherReference; + } + + /** + * Legt den Wert der cipherReference-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link CipherReferenceType } + * + */ + public void setCipherReference(CipherReferenceType value) { + this.cipherReference = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/CipherReferenceType.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/CipherReferenceType.java new file mode 100644 index 0000000..7746d46 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/CipherReferenceType.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für CipherReferenceType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="CipherReferenceType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="Transforms" type="{http://www.w3.org/2001/04/xmlenc#}TransformsType" minOccurs="0"/> + * </choice> + * <attribute name="URI" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CipherReferenceType", propOrder = { + "transforms" +}) +public class CipherReferenceType { + + @XmlElement(name = "Transforms") + protected TransformsType transforms; + @XmlAttribute(name = "URI", required = true) + @XmlSchemaType(name = "anyURI") + protected String uri; + + /** + * Ruft den Wert der transforms-Eigenschaft ab. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Legt den Wert der transforms-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Ruft den Wert der uri-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Legt den Wert der uri-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedDataType.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedDataType.java new file mode 100644 index 0000000..2bf6362 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedDataType.java @@ -0,0 +1,32 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für EncryptedDataType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="EncryptedDataType"> + * <complexContent> + * <extension base="{http://www.w3.org/2001/04/xmlenc#}EncryptedType"> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EncryptedDataType") +public class EncryptedDataType + extends EncryptedType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedKeyType.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedKeyType.java new file mode 100644 index 0000000..da56e97 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedKeyType.java @@ -0,0 +1,120 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +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.XmlType; + + +/** + * <p>Java-Klasse für EncryptedKeyType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="EncryptedKeyType"> + * <complexContent> + * <extension base="{http://www.w3.org/2001/04/xmlenc#}EncryptedType"> + * <sequence> + * <element ref="{http://www.w3.org/2001/04/xmlenc#}ReferenceList" minOccurs="0"/> + * <element name="CarriedKeyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * <attribute name="Recipient" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EncryptedKeyType", propOrder = { + "referenceList", + "carriedKeyName" +}) +public class EncryptedKeyType + extends EncryptedType +{ + + @XmlElement(name = "ReferenceList") + protected ReferenceList referenceList; + @XmlElement(name = "CarriedKeyName") + protected String carriedKeyName; + @XmlAttribute(name = "Recipient") + protected String recipient; + + /** + * Ruft den Wert der referenceList-Eigenschaft ab. + * + * @return + * possible object is + * {@link ReferenceList } + * + */ + public ReferenceList getReferenceList() { + return referenceList; + } + + /** + * Legt den Wert der referenceList-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ReferenceList } + * + */ + public void setReferenceList(ReferenceList value) { + this.referenceList = value; + } + + /** + * Ruft den Wert der carriedKeyName-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCarriedKeyName() { + return carriedKeyName; + } + + /** + * Legt den Wert der carriedKeyName-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCarriedKeyName(String value) { + this.carriedKeyName = value; + } + + /** + * Ruft den Wert der recipient-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRecipient() { + return recipient; + } + + /** + * Legt den Wert der recipient-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRecipient(String value) { + this.recipient = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedType.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedType.java new file mode 100644 index 0000000..4fc8bf8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptedType.java @@ -0,0 +1,270 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +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.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import at.gv.util.xsd.w3c_xmldsig.KeyInfoType; + + +/** + * <p>Java-Klasse für EncryptedType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="EncryptedType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="EncryptionMethod" type="{http://www.w3.org/2001/04/xmlenc#}EncryptionMethodType" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> + * <element ref="{http://www.w3.org/2001/04/xmlenc#}CipherData"/> + * <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptionProperties" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EncryptedType", propOrder = { + "encryptionMethod", + "keyInfo", + "cipherData", + "encryptionProperties" +}) +@XmlSeeAlso({ + EncryptedDataType.class, + EncryptedKeyType.class +}) +public abstract class EncryptedType { + + @XmlElement(name = "EncryptionMethod") + protected EncryptionMethodType encryptionMethod; + @XmlElement(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected KeyInfoType keyInfo; + @XmlElement(name = "CipherData", required = true) + protected CipherDataType cipherData; + @XmlElement(name = "EncryptionProperties") + protected EncryptionPropertiesType encryptionProperties; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlAttribute(name = "MimeType") + protected String mimeType; + @XmlAttribute(name = "Encoding") + @XmlSchemaType(name = "anyURI") + protected String encoding; + + /** + * Ruft den Wert der encryptionMethod-Eigenschaft ab. + * + * @return + * possible object is + * {@link EncryptionMethodType } + * + */ + public EncryptionMethodType getEncryptionMethod() { + return encryptionMethod; + } + + /** + * Legt den Wert der encryptionMethod-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link EncryptionMethodType } + * + */ + public void setEncryptionMethod(EncryptionMethodType value) { + this.encryptionMethod = value; + } + + /** + * Ruft den Wert der keyInfo-Eigenschaft ab. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Legt den Wert der keyInfo-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Ruft den Wert der cipherData-Eigenschaft ab. + * + * @return + * possible object is + * {@link CipherDataType } + * + */ + public CipherDataType getCipherData() { + return cipherData; + } + + /** + * Legt den Wert der cipherData-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link CipherDataType } + * + */ + public void setCipherData(CipherDataType value) { + this.cipherData = value; + } + + /** + * Ruft den Wert der encryptionProperties-Eigenschaft ab. + * + * @return + * possible object is + * {@link EncryptionPropertiesType } + * + */ + public EncryptionPropertiesType getEncryptionProperties() { + return encryptionProperties; + } + + /** + * Legt den Wert der encryptionProperties-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link EncryptionPropertiesType } + * + */ + public void setEncryptionProperties(EncryptionPropertiesType value) { + this.encryptionProperties = value; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Ruft den Wert der type-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Legt den Wert der type-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Ruft den Wert der mimeType-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMimeType() { + return mimeType; + } + + /** + * Legt den Wert der mimeType-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMimeType(String value) { + this.mimeType = value; + } + + /** + * Ruft den Wert der encoding-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncoding() { + return encoding; + } + + /** + * Legt den Wert der encoding-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncoding(String value) { + this.encoding = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptionMethodType.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptionMethodType.java new file mode 100644 index 0000000..fe718ee --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptionMethodType.java @@ -0,0 +1,114 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für EncryptionMethodType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="EncryptionMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="KeySize" type="{http://www.w3.org/2001/04/xmlenc#}KeySizeType" minOccurs="0"/> + * <element name="OAEPparams" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> + * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EncryptionMethodType", propOrder = { + "content" +}) +public class EncryptionMethodType { + + @XmlElementRefs({ + @XmlElementRef(name = "KeySize", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "OAEPparams", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class, required = false) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * {@link JAXBElement }{@code <}{@link byte[]}{@code >} + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Ruft den Wert der algorithm-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Legt den Wert der algorithm-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptionPropertiesType.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptionPropertiesType.java new file mode 100644 index 0000000..45b0310 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptionPropertiesType.java @@ -0,0 +1,104 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +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.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; + + +/** + * <p>Java-Klasse für EncryptionPropertiesType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="EncryptionPropertiesType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptionProperty" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EncryptionPropertiesType", propOrder = { + "encryptionProperty" +}) +public class EncryptionPropertiesType { + + @XmlElement(name = "EncryptionProperty", required = true) + protected List<EncryptionPropertyType> encryptionProperty; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the encryptionProperty property. + * + * <p> + * 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 <CODE>set</CODE> method for the encryptionProperty property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getEncryptionProperty().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link EncryptionPropertyType } + * + * + */ + public List<EncryptionPropertyType> getEncryptionProperty() { + if (encryptionProperty == null) { + encryptionProperty = new ArrayList<EncryptionPropertyType>(); + } + return this.encryptionProperty; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptionPropertyType.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptionPropertyType.java new file mode 100644 index 0000000..7fb5c1b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/EncryptionPropertyType.java @@ -0,0 +1,162 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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 javax.xml.namespace.QName; +import org.w3c.dom.Element; + + +/** + * <p>Java-Klasse für EncryptionPropertyType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="EncryptionPropertyType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <any processContents='lax' namespace='##other'/> + * </choice> + * <attribute name="Target" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='http://www.w3.org/XML/1998/namespace'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EncryptionPropertyType", propOrder = { + "content" +}) +public class EncryptionPropertyType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Target") + @XmlSchemaType(name = "anyURI") + protected String target; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Element } + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Ruft den Wert der target-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTarget() { + return target; + } + + /** + * Legt den Wert der target-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTarget(String value) { + this.target = value; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/ObjectFactory.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/ObjectFactory.java new file mode 100644 index 0000000..8638b87 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/ObjectFactory.java @@ -0,0 +1,265 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +import java.math.BigInteger; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; +import at.gv.util.xsd.w3c_xmldsig.KeyInfoType; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.w3c_xmlenc package. + * <p>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 _CipherData_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "CipherData"); + private final static QName _CipherReference_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "CipherReference"); + private final static QName _EncryptedData_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "EncryptedData"); + private final static QName _EncryptedKey_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "EncryptedKey"); + private final static QName _AgreementMethod_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "AgreementMethod"); + private final static QName _EncryptionProperties_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "EncryptionProperties"); + private final static QName _EncryptionProperty_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "EncryptionProperty"); + private final static QName _ReferenceListDataReference_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "DataReference"); + private final static QName _ReferenceListKeyReference_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "KeyReference"); + private final static QName _EncryptionMethodTypeKeySize_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "KeySize"); + private final static QName _EncryptionMethodTypeOAEPparams_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "OAEPparams"); + private final static QName _AgreementMethodTypeKANonce_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "KA-Nonce"); + private final static QName _AgreementMethodTypeOriginatorKeyInfo_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "OriginatorKeyInfo"); + private final static QName _AgreementMethodTypeRecipientKeyInfo_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "RecipientKeyInfo"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.w3c_xmlenc + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link CipherDataType } + * + */ + public CipherDataType createCipherDataType() { + return new CipherDataType(); + } + + /** + * Create an instance of {@link CipherReferenceType } + * + */ + public CipherReferenceType createCipherReferenceType() { + return new CipherReferenceType(); + } + + /** + * Create an instance of {@link EncryptedDataType } + * + */ + public EncryptedDataType createEncryptedDataType() { + return new EncryptedDataType(); + } + + /** + * Create an instance of {@link EncryptedKeyType } + * + */ + public EncryptedKeyType createEncryptedKeyType() { + return new EncryptedKeyType(); + } + + /** + * Create an instance of {@link AgreementMethodType } + * + */ + public AgreementMethodType createAgreementMethodType() { + return new AgreementMethodType(); + } + + /** + * Create an instance of {@link ReferenceList } + * + */ + public ReferenceList createReferenceList() { + return new ReferenceList(); + } + + /** + * Create an instance of {@link ReferenceType } + * + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link EncryptionPropertiesType } + * + */ + public EncryptionPropertiesType createEncryptionPropertiesType() { + return new EncryptionPropertiesType(); + } + + /** + * Create an instance of {@link EncryptionPropertyType } + * + */ + public EncryptionPropertyType createEncryptionPropertyType() { + return new EncryptionPropertyType(); + } + + /** + * Create an instance of {@link EncryptionMethodType } + * + */ + public EncryptionMethodType createEncryptionMethodType() { + return new EncryptionMethodType(); + } + + /** + * Create an instance of {@link TransformsType } + * + */ + public TransformsType createTransformsType() { + return new TransformsType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CipherDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "CipherData") + public JAXBElement<CipherDataType> createCipherData(CipherDataType value) { + return new JAXBElement<CipherDataType>(_CipherData_QNAME, CipherDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CipherReferenceType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "CipherReference") + public JAXBElement<CipherReferenceType> createCipherReference(CipherReferenceType value) { + return new JAXBElement<CipherReferenceType>(_CipherReference_QNAME, CipherReferenceType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EncryptedDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptedData") + public JAXBElement<EncryptedDataType> createEncryptedData(EncryptedDataType value) { + return new JAXBElement<EncryptedDataType>(_EncryptedData_QNAME, EncryptedDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EncryptedKeyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptedKey") + public JAXBElement<EncryptedKeyType> createEncryptedKey(EncryptedKeyType value) { + return new JAXBElement<EncryptedKeyType>(_EncryptedKey_QNAME, EncryptedKeyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AgreementMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "AgreementMethod") + public JAXBElement<AgreementMethodType> createAgreementMethod(AgreementMethodType value) { + return new JAXBElement<AgreementMethodType>(_AgreementMethod_QNAME, AgreementMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EncryptionPropertiesType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptionProperties") + public JAXBElement<EncryptionPropertiesType> createEncryptionProperties(EncryptionPropertiesType value) { + return new JAXBElement<EncryptionPropertiesType>(_EncryptionProperties_QNAME, EncryptionPropertiesType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EncryptionPropertyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptionProperty") + public JAXBElement<EncryptionPropertyType> createEncryptionProperty(EncryptionPropertyType value) { + return new JAXBElement<EncryptionPropertyType>(_EncryptionProperty_QNAME, EncryptionPropertyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "DataReference", scope = ReferenceList.class) + public JAXBElement<ReferenceType> createReferenceListDataReference(ReferenceType value) { + return new JAXBElement<ReferenceType>(_ReferenceListDataReference_QNAME, ReferenceType.class, ReferenceList.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "KeyReference", scope = ReferenceList.class) + public JAXBElement<ReferenceType> createReferenceListKeyReference(ReferenceType value) { + return new JAXBElement<ReferenceType>(_ReferenceListKeyReference_QNAME, ReferenceType.class, ReferenceList.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "KeySize", scope = EncryptionMethodType.class) + public JAXBElement<BigInteger> createEncryptionMethodTypeKeySize(BigInteger value) { + return new JAXBElement<BigInteger>(_EncryptionMethodTypeKeySize_QNAME, BigInteger.class, EncryptionMethodType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "OAEPparams", scope = EncryptionMethodType.class) + public JAXBElement<byte[]> createEncryptionMethodTypeOAEPparams(byte[] value) { + return new JAXBElement<byte[]>(_EncryptionMethodTypeOAEPparams_QNAME, byte[].class, EncryptionMethodType.class, ((byte[]) value)); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "KA-Nonce", scope = AgreementMethodType.class) + public JAXBElement<byte[]> createAgreementMethodTypeKANonce(byte[] value) { + return new JAXBElement<byte[]>(_AgreementMethodTypeKANonce_QNAME, byte[].class, AgreementMethodType.class, ((byte[]) value)); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "OriginatorKeyInfo", scope = AgreementMethodType.class) + public JAXBElement<KeyInfoType> createAgreementMethodTypeOriginatorKeyInfo(KeyInfoType value) { + return new JAXBElement<KeyInfoType>(_AgreementMethodTypeOriginatorKeyInfo_QNAME, KeyInfoType.class, AgreementMethodType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "RecipientKeyInfo", scope = AgreementMethodType.class) + public JAXBElement<KeyInfoType> createAgreementMethodTypeRecipientKeyInfo(KeyInfoType value) { + return new JAXBElement<KeyInfoType>(_AgreementMethodTypeRecipientKeyInfo_QNAME, KeyInfoType.class, AgreementMethodType.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/ReferenceList.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/ReferenceList.java new file mode 100644 index 0000000..e5811d6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/ReferenceList.java @@ -0,0 +1,78 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <element name="DataReference" type="{http://www.w3.org/2001/04/xmlenc#}ReferenceType"/> + * <element name="KeyReference" type="{http://www.w3.org/2001/04/xmlenc#}ReferenceType"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "dataReferenceOrKeyReference" +}) +@XmlRootElement(name = "ReferenceList") +public class ReferenceList { + + @XmlElementRefs({ + @XmlElementRef(name = "KeyReference", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "DataReference", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class, required = false) + }) + protected List<JAXBElement<ReferenceType>> dataReferenceOrKeyReference; + + /** + * Gets the value of the dataReferenceOrKeyReference property. + * + * <p> + * 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 <CODE>set</CODE> method for the dataReferenceOrKeyReference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getDataReferenceOrKeyReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link ReferenceType }{@code >} + * {@link JAXBElement }{@code <}{@link ReferenceType }{@code >} + * + * + */ + public List<JAXBElement<ReferenceType>> getDataReferenceOrKeyReference() { + if (dataReferenceOrKeyReference == null) { + dataReferenceOrKeyReference = new ArrayList<JAXBElement<ReferenceType>>(); + } + return this.dataReferenceOrKeyReference; + } + +} diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/ReferenceType.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/ReferenceType.java new file mode 100644 index 0000000..6099a7b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/ReferenceType.java @@ -0,0 +1,99 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für ReferenceType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="ReferenceType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="URI" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferenceType", propOrder = { + "any" +}) +public class ReferenceType { + + @XmlAnyElement(lax = true) + protected List<Object> any; + @XmlAttribute(name = "URI", required = true) + @XmlSchemaType(name = "anyURI") + protected String uri; + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + + /** + * Ruft den Wert der uri-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Legt den Wert der uri-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/TransformsType.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/TransformsType.java new file mode 100644 index 0000000..a01f9a8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/TransformsType.java @@ -0,0 +1,70 @@ + +package at.gv.util.xsd.w3c_xmlenc; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.w3c_xmldsig.TransformType; + + +/** + * <p>Java-Klasse für TransformsType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="TransformsType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transform" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsType", propOrder = { + "transform" +}) +public class TransformsType { + + @XmlElement(name = "Transform", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected List<TransformType> transform; + + /** + * Gets the value of the transform property. + * + * <p> + * 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 <CODE>set</CODE> method for the transform property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTransform().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TransformType } + * + * + */ + public List<TransformType> getTransform() { + if (transform == null) { + transform = new ArrayList<TransformType>(); + } + return this.transform; + } + +} diff --git a/src/main/java/at/gv/util/xsd/w3c_xmlenc/package-info.java b/src/main/java/at/gv/util/xsd/w3c_xmlenc/package-info.java new file mode 100644 index 0000000..de670c4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/w3c_xmlenc/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2001/04/xmlenc#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.w3c_xmlenc; |