org.openxmlformats.schemas.officeDocument.x2006.math.impl.CTSSubSupPrImpl 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_SSubSupPr
* Namespace: http://schemas.openxmlformats.org/officeDocument/2006/math
* Java type: org.openxmlformats.schemas.officeDocument.x2006.math.CTSSubSupPr
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.officeDocument.x2006.math.impl;
/**
* An XML CT_SSubSupPr(@http://schemas.openxmlformats.org/officeDocument/2006/math).
*
* This is a complex type.
*/
public class CTSSubSupPrImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.officeDocument.x2006.math.CTSSubSupPr
{
public CTSSubSupPrImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ALNSCR$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/officeDocument/2006/math", "alnScr");
private static final javax.xml.namespace.QName CTRLPR$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/officeDocument/2006/math", "ctrlPr");
/**
* Gets the "alnScr" element
*/
public org.openxmlformats.schemas.officeDocument.x2006.math.CTOnOff getAlnScr()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.math.CTOnOff target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.math.CTOnOff)get_store().find_element_user(ALNSCR$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "alnScr" element
*/
public boolean isSetAlnScr()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(ALNSCR$0) != 0;
}
}
/**
* Sets the "alnScr" element
*/
public void setAlnScr(org.openxmlformats.schemas.officeDocument.x2006.math.CTOnOff alnScr)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.math.CTOnOff target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.math.CTOnOff)get_store().find_element_user(ALNSCR$0, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.officeDocument.x2006.math.CTOnOff)get_store().add_element_user(ALNSCR$0);
}
target.set(alnScr);
}
}
/**
* Appends and returns a new empty "alnScr" element
*/
public org.openxmlformats.schemas.officeDocument.x2006.math.CTOnOff addNewAlnScr()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.math.CTOnOff target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.math.CTOnOff)get_store().add_element_user(ALNSCR$0);
return target;
}
}
/**
* Unsets the "alnScr" element
*/
public void unsetAlnScr()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(ALNSCR$0, 0);
}
}
/**
* Gets the "ctrlPr" element
*/
public org.openxmlformats.schemas.officeDocument.x2006.math.CTCtrlPr getCtrlPr()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.math.CTCtrlPr target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.math.CTCtrlPr)get_store().find_element_user(CTRLPR$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "ctrlPr" element
*/
public boolean isSetCtrlPr()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CTRLPR$2) != 0;
}
}
/**
* Sets the "ctrlPr" element
*/
public void setCtrlPr(org.openxmlformats.schemas.officeDocument.x2006.math.CTCtrlPr ctrlPr)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.math.CTCtrlPr target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.math.CTCtrlPr)get_store().find_element_user(CTRLPR$2, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.officeDocument.x2006.math.CTCtrlPr)get_store().add_element_user(CTRLPR$2);
}
target.set(ctrlPr);
}
}
/**
* Appends and returns a new empty "ctrlPr" element
*/
public org.openxmlformats.schemas.officeDocument.x2006.math.CTCtrlPr addNewCtrlPr()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.math.CTCtrlPr target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.math.CTCtrlPr)get_store().add_element_user(CTRLPR$2);
return target;
}
}
/**
* Unsets the "ctrlPr" element
*/
public void unsetCtrlPr()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CTRLPR$2, 0);
}
}
}