org.openxmlformats.schemas.xpackage.x2006.contentTypes.impl.OverrideDocumentImpl 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.
/*
* An XML document type.
* Localname: Override
* Namespace: http://schemas.openxmlformats.org/package/2006/content-types
* Java type: org.openxmlformats.schemas.xpackage.x2006.contentTypes.OverrideDocument
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.xpackage.x2006.contentTypes.impl;
/**
* A document containing one Override(@http://schemas.openxmlformats.org/package/2006/content-types) element.
*
* This is a complex type.
*/
public class OverrideDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.xpackage.x2006.contentTypes.OverrideDocument
{
public OverrideDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName OVERRIDE$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/package/2006/content-types", "Override");
/**
* Gets the "Override" element
*/
public org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTOverride getOverride()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTOverride target = null;
target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTOverride)get_store().find_element_user(OVERRIDE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "Override" element
*/
public void setOverride(org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTOverride override)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTOverride target = null;
target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTOverride)get_store().find_element_user(OVERRIDE$0, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTOverride)get_store().add_element_user(OVERRIDE$0);
}
target.set(override);
}
}
/**
* Appends and returns a new empty "Override" element
*/
public org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTOverride addNewOverride()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTOverride target = null;
target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTOverride)get_store().add_element_user(OVERRIDE$0);
return target;
}
}
}