org.openxmlformats.schemas.drawingml.x2006.chart.impl.CTTitleImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds (since POI 5.0.0, the 5th edition is used):
https://www.ecma-international.org/publications/standards/Ecma-376.htm
/*
* XML Type: CT_Title
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/chart
* Java type: org.openxmlformats.schemas.drawingml.x2006.chart.CTTitle
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.chart.impl;
/**
* An XML CT_Title(@http://schemas.openxmlformats.org/drawingml/2006/chart).
*
* This is a complex type.
*/
public class CTTitleImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.chart.CTTitle {
private static final long serialVersionUID = 1L;
public CTTitleImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName TX$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "tx");
private static final javax.xml.namespace.QName LAYOUT$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "layout");
private static final javax.xml.namespace.QName OVERLAY$4 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "overlay");
private static final javax.xml.namespace.QName SPPR$6 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "spPr");
private static final javax.xml.namespace.QName TXPR$8 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "txPr");
private static final javax.xml.namespace.QName EXTLST$10 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "extLst");
/**
* Gets the "tx" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chart.CTTx getTx() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTTx target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTTx)get_store().find_element_user(TX$0, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* True if has "tx" element
*/
public boolean isSetTx() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TX$0) != 0;
}
}
/**
* Sets the "tx" element
*/
public void setTx(org.openxmlformats.schemas.drawingml.x2006.chart.CTTx tx) {
generatedSetterHelperImpl(tx, TX$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "tx" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chart.CTTx addNewTx() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTTx target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTTx)get_store().add_element_user(TX$0);
return target;
}
}
/**
* Unsets the "tx" element
*/
public void unsetTx() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TX$0, 0);
}
}
/**
* Gets the "layout" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chart.CTLayout getLayout() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTLayout target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTLayout)get_store().find_element_user(LAYOUT$2, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* True if has "layout" element
*/
public boolean isSetLayout() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(LAYOUT$2) != 0;
}
}
/**
* Sets the "layout" element
*/
public void setLayout(org.openxmlformats.schemas.drawingml.x2006.chart.CTLayout layout) {
generatedSetterHelperImpl(layout, LAYOUT$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "layout" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chart.CTLayout addNewLayout() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTLayout target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTLayout)get_store().add_element_user(LAYOUT$2);
return target;
}
}
/**
* Unsets the "layout" element
*/
public void unsetLayout() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(LAYOUT$2, 0);
}
}
/**
* Gets the "overlay" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean getOverlay() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean)get_store().find_element_user(OVERLAY$4, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* True if has "overlay" element
*/
public boolean isSetOverlay() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(OVERLAY$4) != 0;
}
}
/**
* Sets the "overlay" element
*/
public void setOverlay(org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean overlay) {
generatedSetterHelperImpl(overlay, OVERLAY$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "overlay" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean addNewOverlay() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean)get_store().add_element_user(OVERLAY$4);
return target;
}
}
/**
* Unsets the "overlay" element
*/
public void unsetOverlay() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(OVERLAY$4, 0);
}
}
/**
* Gets the "spPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getSpPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties)get_store().find_element_user(SPPR$6, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* True if has "spPr" element
*/
public boolean isSetSpPr() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(SPPR$6) != 0;
}
}
/**
* Sets the "spPr" element
*/
public void setSpPr(org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties spPr) {
generatedSetterHelperImpl(spPr, SPPR$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "spPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties addNewSpPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties)get_store().add_element_user(SPPR$6);
return target;
}
}
/**
* Unsets the "spPr" element
*/
public void unsetSpPr() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(SPPR$6, 0);
}
}
/**
* Gets the "txPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody getTxPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody)get_store().find_element_user(TXPR$8, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* True if has "txPr" element
*/
public boolean isSetTxPr() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TXPR$8) != 0;
}
}
/**
* Sets the "txPr" element
*/
public void setTxPr(org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody txPr) {
generatedSetterHelperImpl(txPr, TXPR$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "txPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody addNewTxPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody)get_store().add_element_user(TXPR$8);
return target;
}
}
/**
* Unsets the "txPr" element
*/
public void unsetTxPr() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TXPR$8, 0);
}
}
/**
* Gets the "extLst" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList getExtLst() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList)get_store().find_element_user(EXTLST$10, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* True if has "extLst" element
*/
public boolean isSetExtLst() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(EXTLST$10) != 0;
}
}
/**
* Sets the "extLst" element
*/
public void setExtLst(org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList extLst) {
generatedSetterHelperImpl(extLst, EXTLST$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "extLst" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList addNewExtLst() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList)get_store().add_element_user(EXTLST$10);
return target;
}
}
/**
* Unsets the "extLst" element
*/
public void unsetExtLst() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EXTLST$10, 0);
}
}
}