org.openxmlformats.schemas.drawingml.x2006.main.impl.CTGvmlPictureImpl 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_GvmlPicture
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/main
* Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTGvmlPicture
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.main.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
/**
* An XML CT_GvmlPicture(@http://schemas.openxmlformats.org/drawingml/2006/main).
*
* This is a complex type.
*/
public class CTGvmlPictureImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.main.CTGvmlPicture {
private static final long serialVersionUID = 1L;
public CTGvmlPictureImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://schemas.openxmlformats.org/drawingml/2006/main", "nvPicPr"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/main", "blipFill"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/main", "spPr"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/main", "style"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/main", "extLst"),
};
/**
* Gets the "nvPicPr" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.main.CTGvmlPictureNonVisual getNvPicPr() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTGvmlPictureNonVisual target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGvmlPictureNonVisual)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "nvPicPr" element
*/
@Override
public void setNvPicPr(org.openxmlformats.schemas.drawingml.x2006.main.CTGvmlPictureNonVisual nvPicPr) {
generatedSetterHelperImpl(nvPicPr, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "nvPicPr" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.main.CTGvmlPictureNonVisual addNewNvPicPr() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTGvmlPictureNonVisual target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGvmlPictureNonVisual)get_store().add_element_user(PROPERTY_QNAME[0]);
return target;
}
}
/**
* Gets the "blipFill" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties getBlipFill() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties)get_store().find_element_user(PROPERTY_QNAME[1], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "blipFill" element
*/
@Override
public void setBlipFill(org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties blipFill) {
generatedSetterHelperImpl(blipFill, PROPERTY_QNAME[1], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "blipFill" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties addNewBlipFill() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties)get_store().add_element_user(PROPERTY_QNAME[1]);
return target;
}
}
/**
* Gets the "spPr" element
*/
@Override
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(PROPERTY_QNAME[2], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "spPr" element
*/
@Override
public void setSpPr(org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties spPr) {
generatedSetterHelperImpl(spPr, PROPERTY_QNAME[2], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "spPr" element
*/
@Override
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(PROPERTY_QNAME[2]);
return target;
}
}
/**
* Gets the "style" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle getStyle() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle)get_store().find_element_user(PROPERTY_QNAME[3], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "style" element
*/
@Override
public boolean isSetStyle() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[3]) != 0;
}
}
/**
* Sets the "style" element
*/
@Override
public void setStyle(org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle style) {
generatedSetterHelperImpl(style, PROPERTY_QNAME[3], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "style" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle addNewStyle() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle)get_store().add_element_user(PROPERTY_QNAME[3]);
return target;
}
}
/**
* Unsets the "style" element
*/
@Override
public void unsetStyle() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[3], 0);
}
}
/**
* Gets the "extLst" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList getExtLst() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList)get_store().find_element_user(PROPERTY_QNAME[4], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "extLst" element
*/
@Override
public boolean isSetExtLst() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[4]) != 0;
}
}
/**
* Sets the "extLst" element
*/
@Override
public void setExtLst(org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList extLst) {
generatedSetterHelperImpl(extLst, PROPERTY_QNAME[4], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "extLst" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList addNewExtLst() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList)get_store().add_element_user(PROPERTY_QNAME[4]);
return target;
}
}
/**
* Unsets the "extLst" element
*/
@Override
public void unsetExtLst() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[4], 0);
}
}
}