org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.impl.CTWordprocessingContentPartNonVisualImpl 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_WordprocessingContentPartNonVisual
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing
* Java type: org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPartNonVisual
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.impl;
/**
* An XML CT_WordprocessingContentPartNonVisual(@http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing).
*
* This is a complex type.
*/
public class CTWordprocessingContentPartNonVisualImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTWordprocessingContentPartNonVisual {
private static final long serialVersionUID = 1L;
public CTWordprocessingContentPartNonVisualImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName CNVPR$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "cNvPr");
private static final javax.xml.namespace.QName CNVCONTENTPARTPR$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "cNvContentPartPr");
/**
* Gets the "cNvPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps getCNvPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps)get_store().find_element_user(CNVPR$0, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* True if has "cNvPr" element
*/
public boolean isSetCNvPr() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CNVPR$0) != 0;
}
}
/**
* Sets the "cNvPr" element
*/
public void setCNvPr(org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps cNvPr) {
generatedSetterHelperImpl(cNvPr, CNVPR$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "cNvPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps addNewCNvPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps)get_store().add_element_user(CNVPR$0);
return target;
}
}
/**
* Unsets the "cNvPr" element
*/
public void unsetCNvPr() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CNVPR$0, 0);
}
}
/**
* Gets the "cNvContentPartPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualContentPartProperties getCNvContentPartPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualContentPartProperties target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualContentPartProperties)get_store().find_element_user(CNVCONTENTPARTPR$2, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* True if has "cNvContentPartPr" element
*/
public boolean isSetCNvContentPartPr() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CNVCONTENTPARTPR$2) != 0;
}
}
/**
* Sets the "cNvContentPartPr" element
*/
public void setCNvContentPartPr(org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualContentPartProperties cNvContentPartPr) {
generatedSetterHelperImpl(cNvContentPartPr, CNVCONTENTPARTPR$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "cNvContentPartPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualContentPartProperties addNewCNvContentPartPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualContentPartProperties target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualContentPartProperties)get_store().add_element_user(CNVCONTENTPARTPR$2);
return target;
}
}
/**
* Unsets the "cNvContentPartPr" element
*/
public void unsetCNvContentPartPr() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CNVCONTENTPARTPR$2, 0);
}
}
}