pl.edu.icm.unity.saml.xmlbeans.soap.impl.BodyDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: Body
* Namespace: http://schemas.xmlsoap.org/soap/envelope/
* Java type: pl.edu.icm.unity.saml.xmlbeans.soap.BodyDocument
*
* Automatically generated - do not modify.
*/
package pl.edu.icm.unity.saml.xmlbeans.soap.impl;
/**
* A document containing one Body(@http://schemas.xmlsoap.org/soap/envelope/) element.
*
* This is a complex type.
*/
public class BodyDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements pl.edu.icm.unity.saml.xmlbeans.soap.BodyDocument
{
private static final long serialVersionUID = 1L;
public BodyDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName BODY$0 =
new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/envelope/", "Body");
/**
* 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$0, 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$0, 0);
if (target == null)
{
target = (pl.edu.icm.unity.saml.xmlbeans.soap.Body)get_store().add_element_user(BODY$0);
}
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$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy