org.example.wsHT.api.xsd.impl.XMLGetRenderingResponseDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: getRenderingResponse
* Namespace: http://www.example.org/WS-HT/api/xsd
* Java type: org.example.wsHT.api.xsd.XMLGetRenderingResponseDocument
*
* Automatically generated - do not modify.
*/
package org.example.wsHT.api.xsd.impl;
/**
* A document containing one getRenderingResponse(@http://www.example.org/WS-HT/api/xsd) element.
*
* This is a complex type.
*/
public class XMLGetRenderingResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetRenderingResponseDocument
{
private static final long serialVersionUID = 1L;
public XMLGetRenderingResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName GETRENDERINGRESPONSE$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "getRenderingResponse");
/**
* Gets the "getRenderingResponse" element
*/
public org.example.wsHT.api.xsd.XMLGetRenderingResponseDocument.GetRenderingResponse getGetRenderingResponse()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLGetRenderingResponseDocument.GetRenderingResponse target = null;
target = (org.example.wsHT.api.xsd.XMLGetRenderingResponseDocument.GetRenderingResponse)get_store().find_element_user(GETRENDERINGRESPONSE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "getRenderingResponse" element
*/
public void setGetRenderingResponse(org.example.wsHT.api.xsd.XMLGetRenderingResponseDocument.GetRenderingResponse getRenderingResponse)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLGetRenderingResponseDocument.GetRenderingResponse target = null;
target = (org.example.wsHT.api.xsd.XMLGetRenderingResponseDocument.GetRenderingResponse)get_store().find_element_user(GETRENDERINGRESPONSE$0, 0);
if (target == null)
{
target = (org.example.wsHT.api.xsd.XMLGetRenderingResponseDocument.GetRenderingResponse)get_store().add_element_user(GETRENDERINGRESPONSE$0);
}
target.set(getRenderingResponse);
}
}
/**
* Appends and returns a new empty "getRenderingResponse" element
*/
public org.example.wsHT.api.xsd.XMLGetRenderingResponseDocument.GetRenderingResponse addNewGetRenderingResponse()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLGetRenderingResponseDocument.GetRenderingResponse target = null;
target = (org.example.wsHT.api.xsd.XMLGetRenderingResponseDocument.GetRenderingResponse)get_store().add_element_user(GETRENDERINGRESPONSE$0);
return target;
}
}
/**
* An XML getRenderingResponse(@http://www.example.org/WS-HT/api/xsd).
*
* This is a complex type.
*/
public static class GetRenderingResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetRenderingResponseDocument.GetRenderingResponse
{
private static final long serialVersionUID = 1L;
public GetRenderingResponseImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName RENDERING$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "rendering");
/**
* Gets the "rendering" element
*/
public org.apache.xmlbeans.XmlObject getRendering()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(RENDERING$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "rendering" element
*/
public void setRendering(org.apache.xmlbeans.XmlObject rendering)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(RENDERING$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(RENDERING$0);
}
target.set(rendering);
}
}
/**
* Appends and returns a new empty "rendering" element
*/
public org.apache.xmlbeans.XmlObject addNewRendering()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(RENDERING$0);
return target;
}
}
}
}