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

net.opengis.sos.x10.impl.SupportedSRSDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: supportedSRS
 * Namespace: http://www.opengis.net/sos/1.0
 * Java type: net.opengis.sos.x10.SupportedSRSDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sos.x10.impl;
/**
 * A document containing one supportedSRS(@http://www.opengis.net/sos/1.0) element.
 *
 * This is a complex type.
 */
public class SupportedSRSDocumentImpl extends net.opengis.gml.impl.NameDocumentImpl implements net.opengis.sos.x10.SupportedSRSDocument
{
    private static final long serialVersionUID = 1L;
    
    public SupportedSRSDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SUPPORTEDSRS$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "supportedSRS");
    
    
    /**
     * Gets the "supportedSRS" element
     */
    public net.opengis.gml.CodeType getSupportedSRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.CodeType target = null;
            target = (net.opengis.gml.CodeType)get_store().find_element_user(SUPPORTEDSRS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "supportedSRS" element
     */
    public void setSupportedSRS(net.opengis.gml.CodeType supportedSRS)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.CodeType target = null;
            target = (net.opengis.gml.CodeType)get_store().find_element_user(SUPPORTEDSRS$0, 0);
            if (target == null)
            {
                target = (net.opengis.gml.CodeType)get_store().add_element_user(SUPPORTEDSRS$0);
            }
            target.set(supportedSRS);
        }
    }
    
    /**
     * Appends and returns a new empty "supportedSRS" element
     */
    public net.opengis.gml.CodeType addNewSupportedSRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.CodeType target = null;
            target = (net.opengis.gml.CodeType)get_store().add_element_user(SUPPORTEDSRS$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy