org.openxmlformats.schemas.xpackage.x2006.contentTypes.impl.CTOverrideImpl 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_Override
* Namespace: http://schemas.openxmlformats.org/package/2006/content-types
* Java type: org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTOverride
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.xpackage.x2006.contentTypes.impl;
/**
* An XML CT_Override(@http://schemas.openxmlformats.org/package/2006/content-types).
*
* This is a complex type.
*/
public class CTOverrideImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTOverride
{
public CTOverrideImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName CONTENTTYPE$0 =
new javax.xml.namespace.QName("", "ContentType");
private static final javax.xml.namespace.QName PARTNAME$2 =
new javax.xml.namespace.QName("", "PartName");
/**
* Gets the "ContentType" attribute
*/
public java.lang.String getContentType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONTENTTYPE$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ContentType" attribute
*/
public org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType xgetContentType()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType target = null;
target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType)get_store().find_attribute_user(CONTENTTYPE$0);
return target;
}
}
/**
* Sets the "ContentType" attribute
*/
public void setContentType(java.lang.String contentType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONTENTTYPE$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CONTENTTYPE$0);
}
target.setStringValue(contentType);
}
}
/**
* Sets (as xml) the "ContentType" attribute
*/
public void xsetContentType(org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType contentType)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType target = null;
target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType)get_store().find_attribute_user(CONTENTTYPE$0);
if (target == null)
{
target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType)get_store().add_attribute_user(CONTENTTYPE$0);
}
target.set(contentType);
}
}
/**
* Gets the "PartName" attribute
*/
public java.lang.String getPartName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PARTNAME$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "PartName" attribute
*/
public org.apache.xmlbeans.XmlAnyURI xgetPartName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(PARTNAME$2);
return target;
}
}
/**
* Sets the "PartName" attribute
*/
public void setPartName(java.lang.String partName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PARTNAME$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PARTNAME$2);
}
target.setStringValue(partName);
}
}
/**
* Sets (as xml) the "PartName" attribute
*/
public void xsetPartName(org.apache.xmlbeans.XmlAnyURI partName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(PARTNAME$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(PARTNAME$2);
}
target.set(partName);
}
}
}