All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.schemas.office.x2006.encryption.impl.CTEncryptionImpl Maven / Gradle / Ivy

Go to download

XmlBeans generated from various supplied xsds for encryption and signing: http://msdn.microsoft.com/en-us/library/dd925810(v=office.12).aspx http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd http://uri.etsi.org/01903/v1.3.2/XAdES.xsd http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcterms.xsd http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcmitype.xsd

The newest version!
/*
 * XML Type:  CT_Encryption
 * Namespace: http://schemas.microsoft.com/office/2006/encryption
 * Java type: com.microsoft.schemas.office.x2006.encryption.CTEncryption
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.x2006.encryption.impl;
/**
 * An XML CT_Encryption(@http://schemas.microsoft.com/office/2006/encryption).
 *
 * This is a complex type.
 */
public class CTEncryptionImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.x2006.encryption.CTEncryption
{
    
    public CTEncryptionImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName KEYDATA$0 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/office/2006/encryption", "keyData");
    private static final javax.xml.namespace.QName DATAINTEGRITY$2 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/office/2006/encryption", "dataIntegrity");
    private static final javax.xml.namespace.QName KEYENCRYPTORS$4 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/office/2006/encryption", "keyEncryptors");
    
    
    /**
     * Gets the "keyData" element
     */
    public com.microsoft.schemas.office.x2006.encryption.CTKeyData getKeyData()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.x2006.encryption.CTKeyData target = null;
            target = (com.microsoft.schemas.office.x2006.encryption.CTKeyData)get_store().find_element_user(KEYDATA$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "keyData" element
     */
    public void setKeyData(com.microsoft.schemas.office.x2006.encryption.CTKeyData keyData)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.x2006.encryption.CTKeyData target = null;
            target = (com.microsoft.schemas.office.x2006.encryption.CTKeyData)get_store().find_element_user(KEYDATA$0, 0);
            if (target == null)
            {
                target = (com.microsoft.schemas.office.x2006.encryption.CTKeyData)get_store().add_element_user(KEYDATA$0);
            }
            target.set(keyData);
        }
    }
    
    /**
     * Appends and returns a new empty "keyData" element
     */
    public com.microsoft.schemas.office.x2006.encryption.CTKeyData addNewKeyData()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.x2006.encryption.CTKeyData target = null;
            target = (com.microsoft.schemas.office.x2006.encryption.CTKeyData)get_store().add_element_user(KEYDATA$0);
            return target;
        }
    }
    
    /**
     * Gets the "dataIntegrity" element
     */
    public com.microsoft.schemas.office.x2006.encryption.CTDataIntegrity getDataIntegrity()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.x2006.encryption.CTDataIntegrity target = null;
            target = (com.microsoft.schemas.office.x2006.encryption.CTDataIntegrity)get_store().find_element_user(DATAINTEGRITY$2, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "dataIntegrity" element
     */
    public void setDataIntegrity(com.microsoft.schemas.office.x2006.encryption.CTDataIntegrity dataIntegrity)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.x2006.encryption.CTDataIntegrity target = null;
            target = (com.microsoft.schemas.office.x2006.encryption.CTDataIntegrity)get_store().find_element_user(DATAINTEGRITY$2, 0);
            if (target == null)
            {
                target = (com.microsoft.schemas.office.x2006.encryption.CTDataIntegrity)get_store().add_element_user(DATAINTEGRITY$2);
            }
            target.set(dataIntegrity);
        }
    }
    
    /**
     * Appends and returns a new empty "dataIntegrity" element
     */
    public com.microsoft.schemas.office.x2006.encryption.CTDataIntegrity addNewDataIntegrity()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.x2006.encryption.CTDataIntegrity target = null;
            target = (com.microsoft.schemas.office.x2006.encryption.CTDataIntegrity)get_store().add_element_user(DATAINTEGRITY$2);
            return target;
        }
    }
    
    /**
     * Gets the "keyEncryptors" element
     */
    public com.microsoft.schemas.office.x2006.encryption.CTKeyEncryptors getKeyEncryptors()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.x2006.encryption.CTKeyEncryptors target = null;
            target = (com.microsoft.schemas.office.x2006.encryption.CTKeyEncryptors)get_store().find_element_user(KEYENCRYPTORS$4, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "keyEncryptors" element
     */
    public void setKeyEncryptors(com.microsoft.schemas.office.x2006.encryption.CTKeyEncryptors keyEncryptors)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.x2006.encryption.CTKeyEncryptors target = null;
            target = (com.microsoft.schemas.office.x2006.encryption.CTKeyEncryptors)get_store().find_element_user(KEYENCRYPTORS$4, 0);
            if (target == null)
            {
                target = (com.microsoft.schemas.office.x2006.encryption.CTKeyEncryptors)get_store().add_element_user(KEYENCRYPTORS$4);
            }
            target.set(keyEncryptors);
        }
    }
    
    /**
     * Appends and returns a new empty "keyEncryptors" element
     */
    public com.microsoft.schemas.office.x2006.encryption.CTKeyEncryptors addNewKeyEncryptors()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.x2006.encryption.CTKeyEncryptors target = null;
            target = (com.microsoft.schemas.office.x2006.encryption.CTKeyEncryptors)get_store().add_element_user(KEYENCRYPTORS$4);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy