org.openxmlformats.schemas.officeDocument.x2006.math.impl.CTFPrImpl 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_FPr
* Namespace: http://schemas.openxmlformats.org/officeDocument/2006/math
* Java type: org.openxmlformats.schemas.officeDocument.x2006.math.CTFPr
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.officeDocument.x2006.math.impl;
/**
* An XML CT_FPr(@http://schemas.openxmlformats.org/officeDocument/2006/math).
*
* This is a complex type.
*/
public class CTFPrImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.officeDocument.x2006.math.CTFPr
{
public CTFPrImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TYPE$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/officeDocument/2006/math", "type");
private static final javax.xml.namespace.QName CTRLPR$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/officeDocument/2006/math", "ctrlPr");
/**
* Gets the "type" element
*/
public org.openxmlformats.schemas.officeDocument.x2006.math.CTFType getType()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.math.CTFType target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.math.CTFType)get_store().find_element_user(TYPE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "type" element
*/
public boolean isSetType()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TYPE$0) != 0;
}
}
/**
* Sets the "type" element
*/
public void setType(org.openxmlformats.schemas.officeDocument.x2006.math.CTFType type)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.math.CTFType target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.math.CTFType)get_store().find_element_user(TYPE$0, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.officeDocument.x2006.math.CTFType)get_store().add_element_user(TYPE$0);
}
target.set(type);
}
}
/**
* Appends and returns a new empty "type" element
*/
public org.openxmlformats.schemas.officeDocument.x2006.math.CTFType addNewType()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.math.CTFType target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.math.CTFType)get_store().add_element_user(TYPE$0);
return target;
}
}
/**
* Unsets the "type" element
*/
public void unsetType()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TYPE$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);
}
}
}