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

org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.impl.NullDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: null
 * Namespace: http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes
 * Java type: org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.NullDocument
 *
 * Automatically generated - do not modify.
 */
package org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.impl;

import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;

/**
 * A document containing one null(@http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes) element.
 *
 * This is a complex type.
 */
public class NullDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.NullDocument {
    private static final long serialVersionUID = 1L;

    public NullDocumentImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }

    private static final QName[] PROPERTY_QNAME = {
        new QName("http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes", "null"),
    };


    /**
     * Gets the "null" element
     */
    @Override
    public org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.CTNull getNull() {
        synchronized (monitor()) {
            check_orphaned();
            org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.CTNull target = null;
            target = (org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.CTNull)get_store().find_element_user(PROPERTY_QNAME[0], 0);
            return (target == null) ? null : target;
        }
    }

    /**
     * Sets the "null" element
     */
    @Override
    public void setNull(org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.CTNull xnull) {
        generatedSetterHelperImpl(xnull, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }

    /**
     * Appends and returns a new empty "null" element
     */
    @Override
    public org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.CTNull addNewNull() {
        synchronized (monitor()) {
            check_orphaned();
            org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.CTNull target = null;
            target = (org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.CTNull)get_store().add_element_user(PROPERTY_QNAME[0]);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy