org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTExtensionImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds:
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip
/*
* XML Type: CT_Extension
* Namespace: http://schemas.openxmlformats.org/spreadsheetml/2006/main
* Java type: org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtension
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.spreadsheetml.x2006.main.impl;
/**
* An XML CT_Extension(@http://schemas.openxmlformats.org/spreadsheetml/2006/main).
*
* This is a complex type.
*/
public class CTExtensionImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtension
{
public CTExtensionImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName URI$0 =
new javax.xml.namespace.QName("", "uri");
/**
* Gets the "uri" attribute
*/
public java.lang.String getUri()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(URI$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "uri" attribute
*/
public org.apache.xmlbeans.XmlToken xgetUri()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlToken target = null;
target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(URI$0);
return target;
}
}
/**
* True if has "uri" attribute
*/
public boolean isSetUri()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(URI$0) != null;
}
}
/**
* Sets the "uri" attribute
*/
public void setUri(java.lang.String uri)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(URI$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(URI$0);
}
target.setStringValue(uri);
}
}
/**
* Sets (as xml) the "uri" attribute
*/
public void xsetUri(org.apache.xmlbeans.XmlToken uri)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlToken target = null;
target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(URI$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlToken)get_store().add_attribute_user(URI$0);
}
target.set(uri);
}
}
/**
* Unsets the "uri" attribute
*/
public void unsetUri()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(URI$0);
}
}
}