org.openxmlformats.schemas.drawingml.x2006.picture.impl.CTPictureImpl 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_Picture
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/picture
* Java type: org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.picture.impl;
/**
* An XML CT_Picture(@http://schemas.openxmlformats.org/drawingml/2006/picture).
*
* This is a complex type.
*/
public class CTPictureImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture {
private static final long serialVersionUID = 1L;
public CTPictureImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName NVPICPR$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/picture", "nvPicPr");
private static final javax.xml.namespace.QName BLIPFILL$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/picture", "blipFill");
private static final javax.xml.namespace.QName SPPR$4 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/picture", "spPr");
/**
* Gets the "nvPicPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.picture.CTPictureNonVisual getNvPicPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.picture.CTPictureNonVisual target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.picture.CTPictureNonVisual)get_store().find_element_user(NVPICPR$0, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* Sets the "nvPicPr" element
*/
public void setNvPicPr(org.openxmlformats.schemas.drawingml.x2006.picture.CTPictureNonVisual nvPicPr) {
generatedSetterHelperImpl(nvPicPr, NVPICPR$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "nvPicPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.picture.CTPictureNonVisual addNewNvPicPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.picture.CTPictureNonVisual target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.picture.CTPictureNonVisual)get_store().add_element_user(NVPICPR$0);
return target;
}
}
/**
* Gets the "blipFill" element
*/
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(BLIPFILL$2, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* Sets the "blipFill" element
*/
public void setBlipFill(org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties blipFill) {
generatedSetterHelperImpl(blipFill, BLIPFILL$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "blipFill" element
*/
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(BLIPFILL$2);
return target;
}
}
/**
* 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$4, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* Sets the "spPr" element
*/
public void setSpPr(org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties spPr) {
generatedSetterHelperImpl(spPr, SPPR$4, 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$4);
return target;
}
}
}