org.openxmlformats.schemas.xpackage.x2006.contentTypes.impl.CTDefaultImpl 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_Default
* Namespace: http://schemas.openxmlformats.org/package/2006/content-types
* Java type: org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTDefault
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.xpackage.x2006.contentTypes.impl;
/**
* An XML CT_Default(@http://schemas.openxmlformats.org/package/2006/content-types).
*
* This is a complex type.
*/
public class CTDefaultImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTDefault
{
public CTDefaultImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName EXTENSION$0 =
new javax.xml.namespace.QName("", "Extension");
private static final javax.xml.namespace.QName CONTENTTYPE$2 =
new javax.xml.namespace.QName("", "ContentType");
/**
* Gets the "Extension" attribute
*/
public java.lang.String getExtension()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXTENSION$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Extension" attribute
*/
public org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension xgetExtension()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension target = null;
target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension)get_store().find_attribute_user(EXTENSION$0);
return target;
}
}
/**
* Sets the "Extension" attribute
*/
public void setExtension(java.lang.String extension)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXTENSION$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(EXTENSION$0);
}
target.setStringValue(extension);
}
}
/**
* Sets (as xml) the "Extension" attribute
*/
public void xsetExtension(org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension extension)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension target = null;
target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension)get_store().find_attribute_user(EXTENSION$0);
if (target == null)
{
target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension)get_store().add_attribute_user(EXTENSION$0);
}
target.set(extension);
}
}
/**
* 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$2);
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$2);
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$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CONTENTTYPE$2);
}
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$2);
if (target == null)
{
target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType)get_store().add_attribute_user(CONTENTTYPE$2);
}
target.set(contentType);
}
}
}