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

net.opengis.sps.x20.impl.GetCapabilitiesDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: GetCapabilities
 * Namespace: http://www.opengis.net/sps/2.0
 * Java type: net.opengis.sps.x20.GetCapabilitiesDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sps.x20.impl;
/**
 * A document containing one GetCapabilities(@http://www.opengis.net/sps/2.0) element.
 *
 * This is a complex type.
 */
public class GetCapabilitiesDocumentImpl extends net.opengis.ows.x11.impl.GetCapabilitiesDocumentImpl implements net.opengis.sps.x20.GetCapabilitiesDocument
{
    private static final long serialVersionUID = 1L;
    
    public GetCapabilitiesDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName GETCAPABILITIES2$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "GetCapabilities");
    
    
    /**
     * Gets the "GetCapabilities" element
     */
    public net.opengis.sps.x20.GetCapabilitiesType getGetCapabilities2()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x20.GetCapabilitiesType target = null;
            target = (net.opengis.sps.x20.GetCapabilitiesType)get_store().find_element_user(GETCAPABILITIES2$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "GetCapabilities" element
     */
    public void setGetCapabilities2(net.opengis.sps.x20.GetCapabilitiesType getCapabilities2)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x20.GetCapabilitiesType target = null;
            target = (net.opengis.sps.x20.GetCapabilitiesType)get_store().find_element_user(GETCAPABILITIES2$0, 0);
            if (target == null)
            {
                target = (net.opengis.sps.x20.GetCapabilitiesType)get_store().add_element_user(GETCAPABILITIES2$0);
            }
            target.set(getCapabilities2);
        }
    }
    
    /**
     * Appends and returns a new empty "GetCapabilities" element
     */
    public net.opengis.sps.x20.GetCapabilitiesType addNewGetCapabilities2()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x20.GetCapabilitiesType target = null;
            target = (net.opengis.sps.x20.GetCapabilitiesType)get_store().add_element_user(GETCAPABILITIES2$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy