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

pl.edu.icm.unity.saml.xmlbeans.soap.impl.EnvelopeDocumentImpl Maven / Gradle / Ivy

There is a newer version: 4.0.4
Show newest version
/*
 * An XML document type.
 * Localname: Envelope
 * Namespace: http://schemas.xmlsoap.org/soap/envelope/
 * Java type: pl.edu.icm.unity.saml.xmlbeans.soap.EnvelopeDocument
 *
 * Automatically generated - do not modify.
 */
package pl.edu.icm.unity.saml.xmlbeans.soap.impl;
/**
 * A document containing one Envelope(@http://schemas.xmlsoap.org/soap/envelope/) element.
 *
 * This is a complex type.
 */
public class EnvelopeDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements pl.edu.icm.unity.saml.xmlbeans.soap.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://schemas.xmlsoap.org/soap/envelope/", "Envelope");
    
    
    /**
     * Gets the "Envelope" element
     */
    public pl.edu.icm.unity.saml.xmlbeans.soap.Envelope getEnvelope()
    {
        synchronized (monitor())
        {
            check_orphaned();
            pl.edu.icm.unity.saml.xmlbeans.soap.Envelope target = null;
            target = (pl.edu.icm.unity.saml.xmlbeans.soap.Envelope)get_store().find_element_user(ENVELOPE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Envelope" element
     */
    public void setEnvelope(pl.edu.icm.unity.saml.xmlbeans.soap.Envelope envelope)
    {
        synchronized (monitor())
        {
            check_orphaned();
            pl.edu.icm.unity.saml.xmlbeans.soap.Envelope target = null;
            target = (pl.edu.icm.unity.saml.xmlbeans.soap.Envelope)get_store().find_element_user(ENVELOPE$0, 0);
            if (target == null)
            {
                target = (pl.edu.icm.unity.saml.xmlbeans.soap.Envelope)get_store().add_element_user(ENVELOPE$0);
            }
            target.set(envelope);
        }
    }
    
    /**
     * Appends and returns a new empty "Envelope" element
     */
    public pl.edu.icm.unity.saml.xmlbeans.soap.Envelope addNewEnvelope()
    {
        synchronized (monitor())
        {
            check_orphaned();
            pl.edu.icm.unity.saml.xmlbeans.soap.Envelope target = null;
            target = (pl.edu.icm.unity.saml.xmlbeans.soap.Envelope)get_store().add_element_user(ENVELOPE$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy