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

net.opengis.ows.x11.impl.DCPDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: DCP
 * Namespace: http://www.opengis.net/ows/1.1
 * Java type: net.opengis.ows.x11.DCPDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.ows.x11.impl;

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

/**
 * A document containing one DCP(@http://www.opengis.net/ows/1.1) element.
 *
 * This is a complex type.
 */
public class DCPDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ows.x11.DCPDocument {
    private static final long serialVersionUID = 1L;

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

    private static final QName[] PROPERTY_QNAME = {
        new QName("http://www.opengis.net/ows/1.1", "DCP"),
    };


    /**
     * Gets the "DCP" element
     */
    @Override
    public net.opengis.ows.x11.DCPDocument.DCP getDCP() {
        synchronized (monitor()) {
            check_orphaned();
            net.opengis.ows.x11.DCPDocument.DCP target = null;
            target = (net.opengis.ows.x11.DCPDocument.DCP)get_store().find_element_user(PROPERTY_QNAME[0], 0);
            return (target == null) ? null : target;
        }
    }

    /**
     * Sets the "DCP" element
     */
    @Override
    public void setDCP(net.opengis.ows.x11.DCPDocument.DCP dcp) {
        generatedSetterHelperImpl(dcp, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }

    /**
     * Appends and returns a new empty "DCP" element
     */
    @Override
    public net.opengis.ows.x11.DCPDocument.DCP addNewDCP() {
        synchronized (monitor()) {
            check_orphaned();
            net.opengis.ows.x11.DCPDocument.DCP target = null;
            target = (net.opengis.ows.x11.DCPDocument.DCP)get_store().add_element_user(PROPERTY_QNAME[0]);
            return target;
        }
    }
    /**
     * An XML DCP(@http://www.opengis.net/ows/1.1).
     *
     * This is a complex type.
     */
    public static class DCPImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ows.x11.DCPDocument.DCP {
        private static final long serialVersionUID = 1L;

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

        private static final QName[] PROPERTY_QNAME = {
            new QName("http://www.opengis.net/ows/1.1", "HTTP"),
        };


        /**
         * Gets the "HTTP" element
         */
        @Override
        public net.opengis.ows.x11.HTTPDocument.HTTP getHTTP() {
            synchronized (monitor()) {
                check_orphaned();
                net.opengis.ows.x11.HTTPDocument.HTTP target = null;
                target = (net.opengis.ows.x11.HTTPDocument.HTTP)get_store().find_element_user(PROPERTY_QNAME[0], 0);
                return (target == null) ? null : target;
            }
        }

        /**
         * Sets the "HTTP" element
         */
        @Override
        public void setHTTP(net.opengis.ows.x11.HTTPDocument.HTTP http) {
            generatedSetterHelperImpl(http, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }

        /**
         * Appends and returns a new empty "HTTP" element
         */
        @Override
        public net.opengis.ows.x11.HTTPDocument.HTTP addNewHTTP() {
            synchronized (monitor()) {
                check_orphaned();
                net.opengis.ows.x11.HTTPDocument.HTTP target = null;
                target = (net.opengis.ows.x11.HTTPDocument.HTTP)get_store().add_element_user(PROPERTY_QNAME[0]);
                return target;
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy