com.microsoft.schemas.office.office.impl.OLEObjectDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: OLEObject
* Namespace: urn:schemas-microsoft-com:office:office
* Java type: com.microsoft.schemas.office.office.OLEObjectDocument
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.office.impl;
/**
* A document containing one OLEObject(@urn:schemas-microsoft-com:office:office) element.
*
* This is a complex type.
*/
public class OLEObjectDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.office.OLEObjectDocument
{
public OLEObjectDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName OLEOBJECT$0 =
new javax.xml.namespace.QName("urn:schemas-microsoft-com:office:office", "OLEObject");
/**
* Gets the "OLEObject" element
*/
public com.microsoft.schemas.office.office.CTOLEObject getOLEObject()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.office.CTOLEObject target = null;
target = (com.microsoft.schemas.office.office.CTOLEObject)get_store().find_element_user(OLEOBJECT$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "OLEObject" element
*/
public void setOLEObject(com.microsoft.schemas.office.office.CTOLEObject oleObject)
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.office.CTOLEObject target = null;
target = (com.microsoft.schemas.office.office.CTOLEObject)get_store().find_element_user(OLEOBJECT$0, 0);
if (target == null)
{
target = (com.microsoft.schemas.office.office.CTOLEObject)get_store().add_element_user(OLEOBJECT$0);
}
target.set(oleObject);
}
}
/**
* Appends and returns a new empty "OLEObject" element
*/
public com.microsoft.schemas.office.office.CTOLEObject addNewOLEObject()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.office.CTOLEObject target = null;
target = (com.microsoft.schemas.office.office.CTOLEObject)get_store().add_element_user(OLEOBJECT$0);
return target;
}
}
}