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

net.opengis.swe.x10.impl.EnvelopeDocumentImpl Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy