pl.edu.icm.unity.saml.xmlbeans.soap.impl.EnvelopeImpl Maven / Gradle / Ivy
/*
* XML Type: Envelope
* Namespace: http://schemas.xmlsoap.org/soap/envelope/
* Java type: pl.edu.icm.unity.saml.xmlbeans.soap.Envelope
*
* Automatically generated - do not modify.
*/
package pl.edu.icm.unity.saml.xmlbeans.soap.impl;
/**
* An XML Envelope(@http://schemas.xmlsoap.org/soap/envelope/).
*
* This is a complex type.
*/
public class EnvelopeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements pl.edu.icm.unity.saml.xmlbeans.soap.Envelope
{
private static final long serialVersionUID = 1L;
public EnvelopeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName HEADER$0 =
new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/envelope/", "Header");
private static final javax.xml.namespace.QName BODY$2 =
new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/envelope/", "Body");
/**
* Gets the "Header" element
*/
public pl.edu.icm.unity.saml.xmlbeans.soap.Header getHeader()
{
synchronized (monitor())
{
check_orphaned();
pl.edu.icm.unity.saml.xmlbeans.soap.Header target = null;
target = (pl.edu.icm.unity.saml.xmlbeans.soap.Header)get_store().find_element_user(HEADER$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "Header" element
*/
public boolean isSetHeader()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(HEADER$0) != 0;
}
}
/**
* Sets the "Header" element
*/
public void setHeader(pl.edu.icm.unity.saml.xmlbeans.soap.Header header)
{
synchronized (monitor())
{
check_orphaned();
pl.edu.icm.unity.saml.xmlbeans.soap.Header target = null;
target = (pl.edu.icm.unity.saml.xmlbeans.soap.Header)get_store().find_element_user(HEADER$0, 0);
if (target == null)
{
target = (pl.edu.icm.unity.saml.xmlbeans.soap.Header)get_store().add_element_user(HEADER$0);
}
target.set(header);
}
}
/**
* Appends and returns a new empty "Header" element
*/
public pl.edu.icm.unity.saml.xmlbeans.soap.Header addNewHeader()
{
synchronized (monitor())
{
check_orphaned();
pl.edu.icm.unity.saml.xmlbeans.soap.Header target = null;
target = (pl.edu.icm.unity.saml.xmlbeans.soap.Header)get_store().add_element_user(HEADER$0);
return target;
}
}
/**
* Unsets the "Header" element
*/
public void unsetHeader()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(HEADER$0, 0);
}
}
/**
* Gets the "Body" element
*/
public pl.edu.icm.unity.saml.xmlbeans.soap.Body getBody()
{
synchronized (monitor())
{
check_orphaned();
pl.edu.icm.unity.saml.xmlbeans.soap.Body target = null;
target = (pl.edu.icm.unity.saml.xmlbeans.soap.Body)get_store().find_element_user(BODY$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "Body" element
*/
public void setBody(pl.edu.icm.unity.saml.xmlbeans.soap.Body body)
{
synchronized (monitor())
{
check_orphaned();
pl.edu.icm.unity.saml.xmlbeans.soap.Body target = null;
target = (pl.edu.icm.unity.saml.xmlbeans.soap.Body)get_store().find_element_user(BODY$2, 0);
if (target == null)
{
target = (pl.edu.icm.unity.saml.xmlbeans.soap.Body)get_store().add_element_user(BODY$2);
}
target.set(body);
}
}
/**
* Appends and returns a new empty "Body" element
*/
public pl.edu.icm.unity.saml.xmlbeans.soap.Body addNewBody()
{
synchronized (monitor())
{
check_orphaned();
pl.edu.icm.unity.saml.xmlbeans.soap.Body target = null;
target = (pl.edu.icm.unity.saml.xmlbeans.soap.Body)get_store().add_element_user(BODY$2);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy