All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openxmlformats.schemas.drawingml.x2006.picture.impl.PicDocumentImpl 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

There is a newer version: 5.2.5
Show newest version
/*
 * An XML document type.
 * Localname: pic
 * Namespace: http://schemas.openxmlformats.org/drawingml/2006/picture
 * Java type: org.openxmlformats.schemas.drawingml.x2006.picture.PicDocument
 *
 * Automatically generated - do not modify.
 */
package org.openxmlformats.schemas.drawingml.x2006.picture.impl;
/**
 * A document containing one pic(@http://schemas.openxmlformats.org/drawingml/2006/picture) element.
 *
 * This is a complex type.
 */
public class PicDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.picture.PicDocument {
    private static final long serialVersionUID = 1L;
    
    public PicDocumentImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PIC$0 = 
        new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/picture", "pic");
    
    
    /**
     * Gets the "pic" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture getPic() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture)get_store().find_element_user(PIC$0, 0);
            if (target == null) {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "pic" element
     */
    public void setPic(org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture pic) {
        generatedSetterHelperImpl(pic, PIC$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "pic" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture addNewPic() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture)get_store().add_element_user(PIC$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy