com.helger.xsds.xmlenc.ObjectFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ph-xsds-xmlenc Show documentation
Show all versions of ph-xsds-xmlenc Show documentation
XML Encryption wrapped in JAXB
The newest version!
package com.helger.xsds.xmlenc;
import java.math.BigInteger;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
import com.helger.commons.annotation.CodingStyleguideUnaware;
import com.helger.xsds.xmldsig.KeyInfoType;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.helger.xsds.xmlenc 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.
This class was annotated by ph-jaxb22-plugin -Xph-annotate
*
*
*/
@XmlRegistry
@CodingStyleguideUnaware
public class ObjectFactory {
public final static QName _CipherData_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "CipherData");
public final static QName _CipherReference_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "CipherReference");
public final static QName _EncryptedData_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "EncryptedData");
public final static QName _EncryptedKey_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "EncryptedKey");
public final static QName _AgreementMethod_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "AgreementMethod");
public final static QName _EncryptionProperties_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "EncryptionProperties");
public final static QName _EncryptionProperty_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "EncryptionProperty");
public final static QName _DHKeyValue_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "DHKeyValue");
public final static QName _ReferenceListDataReference_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "DataReference");
public final static QName _ReferenceListKeyReference_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "KeyReference");
public final static QName _EncryptionMethodTypeKeySize_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "KeySize");
public final static QName _EncryptionMethodTypeOAEPparams_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "OAEPparams");
public final static QName _AgreementMethodTypeKANonce_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "KA-Nonce");
public final static QName _AgreementMethodTypeOriginatorKeyInfo_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "OriginatorKeyInfo");
public 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: com.helger.xsds.xmlenc
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link CipherDataType }
*
* @return
* The created CipherDataType object and never null
.
*/
@Nonnull
public CipherDataType createCipherDataType() {
return new CipherDataType();
}
/**
* Create an instance of {@link CipherReferenceType }
*
* @return
* The created CipherReferenceType object and never null
.
*/
@Nonnull
public CipherReferenceType createCipherReferenceType() {
return new CipherReferenceType();
}
/**
* Create an instance of {@link EncryptedDataType }
*
* @return
* The created EncryptedDataType object and never null
.
*/
@Nonnull
public EncryptedDataType createEncryptedDataType() {
return new EncryptedDataType();
}
/**
* Create an instance of {@link EncryptedKeyType }
*
* @return
* The created EncryptedKeyType object and never null
.
*/
@Nonnull
public EncryptedKeyType createEncryptedKeyType() {
return new EncryptedKeyType();
}
/**
* Create an instance of {@link AgreementMethodType }
*
* @return
* The created AgreementMethodType object and never null
.
*/
@Nonnull
public AgreementMethodType createAgreementMethodType() {
return new AgreementMethodType();
}
/**
* Create an instance of {@link ReferenceList }
*
* @return
* The created ReferenceList object and never null
.
*/
@Nonnull
public ReferenceList createReferenceList() {
return new ReferenceList();
}
/**
* Create an instance of {@link ReferenceType }
*
* @return
* The created ReferenceType object and never null
.
*/
@Nonnull
public ReferenceType createReferenceType() {
return new ReferenceType();
}
/**
* Create an instance of {@link EncryptionPropertiesType }
*
* @return
* The created EncryptionPropertiesType object and never null
.
*/
@Nonnull
public EncryptionPropertiesType createEncryptionPropertiesType() {
return new EncryptionPropertiesType();
}
/**
* Create an instance of {@link EncryptionPropertyType }
*
* @return
* The created EncryptionPropertyType object and never null
.
*/
@Nonnull
public EncryptionPropertyType createEncryptionPropertyType() {
return new EncryptionPropertyType();
}
/**
* Create an instance of {@link DHKeyValueType }
*
* @return
* The created DHKeyValueType object and never null
.
*/
@Nonnull
public DHKeyValueType createDHKeyValueType() {
return new DHKeyValueType();
}
/**
* Create an instance of {@link EncryptionMethodType }
*
* @return
* The created EncryptionMethodType object and never null
.
*/
@Nonnull
public EncryptionMethodType createEncryptionMethodType() {
return new EncryptionMethodType();
}
/**
* Create an instance of {@link TransformsType }
*
* @return
* The created TransformsType object and never null
.
*/
@Nonnull
public TransformsType createTransformsType() {
return new TransformsType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link CipherDataType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link CipherDataType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "CipherData")
@Nonnull
public JAXBElement createCipherData(
@Nullable
final CipherDataType value) {
return new JAXBElement(_CipherData_QNAME, CipherDataType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link CipherReferenceType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link CipherReferenceType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "CipherReference")
@Nonnull
public JAXBElement createCipherReference(
@Nullable
final CipherReferenceType value) {
return new JAXBElement(_CipherReference_QNAME, CipherReferenceType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link EncryptedDataType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link EncryptedDataType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptedData")
@Nonnull
public JAXBElement createEncryptedData(
@Nullable
final EncryptedDataType value) {
return new JAXBElement(_EncryptedData_QNAME, EncryptedDataType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link EncryptedKeyType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link EncryptedKeyType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptedKey")
@Nonnull
public JAXBElement createEncryptedKey(
@Nullable
final EncryptedKeyType value) {
return new JAXBElement(_EncryptedKey_QNAME, EncryptedKeyType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AgreementMethodType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link AgreementMethodType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "AgreementMethod")
@Nonnull
public JAXBElement createAgreementMethod(
@Nullable
final AgreementMethodType value) {
return new JAXBElement(_AgreementMethod_QNAME, AgreementMethodType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link EncryptionPropertiesType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link EncryptionPropertiesType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptionProperties")
@Nonnull
public JAXBElement createEncryptionProperties(
@Nullable
final EncryptionPropertiesType value) {
return new JAXBElement(_EncryptionProperties_QNAME, EncryptionPropertiesType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link EncryptionPropertyType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link EncryptionPropertyType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptionProperty")
@Nonnull
public JAXBElement createEncryptionProperty(
@Nullable
final EncryptionPropertyType value) {
return new JAXBElement(_EncryptionProperty_QNAME, EncryptionPropertyType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DHKeyValueType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link DHKeyValueType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "DHKeyValue")
@Nonnull
public JAXBElement createDHKeyValue(
@Nullable
final DHKeyValueType value) {
return new JAXBElement(_DHKeyValue_QNAME, DHKeyValueType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "DataReference", scope = ReferenceList.class)
@Nonnull
public JAXBElement createReferenceListDataReference(
@Nullable
final ReferenceType value) {
return new JAXBElement(_ReferenceListDataReference_QNAME, ReferenceType.class, ReferenceList.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "KeyReference", scope = ReferenceList.class)
@Nonnull
public JAXBElement createReferenceListKeyReference(
@Nullable
final ReferenceType value) {
return new JAXBElement(_ReferenceListKeyReference_QNAME, ReferenceType.class, ReferenceList.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "KeySize", scope = EncryptionMethodType.class)
@Nonnull
public JAXBElement createEncryptionMethodTypeKeySize(
@Nullable
final BigInteger value) {
return new JAXBElement(_EncryptionMethodTypeKeySize_QNAME, BigInteger.class, EncryptionMethodType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "OAEPparams", scope = EncryptionMethodType.class)
@Nonnull
public JAXBElement createEncryptionMethodTypeOAEPparams(
@Nullable
final byte[] value) {
return new JAXBElement(_EncryptionMethodTypeOAEPparams_QNAME, byte[].class, EncryptionMethodType.class, ((byte[]) value));
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "KA-Nonce", scope = AgreementMethodType.class)
@Nonnull
public JAXBElement createAgreementMethodTypeKANonce(
@Nullable
final byte[] value) {
return new JAXBElement(_AgreementMethodTypeKANonce_QNAME, byte[].class, AgreementMethodType.class, ((byte[]) value));
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "OriginatorKeyInfo", scope = AgreementMethodType.class)
@Nonnull
public JAXBElement createAgreementMethodTypeOriginatorKeyInfo(
@Nullable
final KeyInfoType value) {
return new JAXBElement(_AgreementMethodTypeOriginatorKeyInfo_QNAME, KeyInfoType.class, AgreementMethodType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "RecipientKeyInfo", scope = AgreementMethodType.class)
@Nonnull
public JAXBElement createAgreementMethodTypeRecipientKeyInfo(
@Nullable
final KeyInfoType value) {
return new JAXBElement(_AgreementMethodTypeRecipientKeyInfo_QNAME, KeyInfoType.class, AgreementMethodType.class, value);
}
}