com.microsoft.schemas.office.x2006.encryption.impl.CTEncryptionImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.poi
Show all versions of org.apache.servicemix.bundles.poi
This OSGi bundle wraps poi, poi-contrib, poi-ooxml, poi-ooxml-schemas and poi-scratchpad ${pkgVersion} jar files.
/*
* 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;
}
}
}