net.opengis.sps.x20.impl.CancelResponseDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: CancelResponse
* Namespace: http://www.opengis.net/sps/2.0
* Java type: net.opengis.sps.x20.CancelResponseDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sps.x20.impl;
/**
* A document containing one CancelResponse(@http://www.opengis.net/sps/2.0) element.
*
* This is a complex type.
*/
public class CancelResponseDocumentImpl extends net.opengis.swes.x20.impl.ExtensibleResponseDocumentImpl implements net.opengis.sps.x20.CancelResponseDocument
{
private static final long serialVersionUID = 1L;
public CancelResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName CANCELRESPONSE$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "CancelResponse");
/**
* Gets the "CancelResponse" element
*/
public net.opengis.sps.x20.CancelResponseType getCancelResponse()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x20.CancelResponseType target = null;
target = (net.opengis.sps.x20.CancelResponseType)get_store().find_element_user(CANCELRESPONSE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "CancelResponse" element
*/
public void setCancelResponse(net.opengis.sps.x20.CancelResponseType cancelResponse)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x20.CancelResponseType target = null;
target = (net.opengis.sps.x20.CancelResponseType)get_store().find_element_user(CANCELRESPONSE$0, 0);
if (target == null)
{
target = (net.opengis.sps.x20.CancelResponseType)get_store().add_element_user(CANCELRESPONSE$0);
}
target.set(cancelResponse);
}
}
/**
* Appends and returns a new empty "CancelResponse" element
*/
public net.opengis.sps.x20.CancelResponseType addNewCancelResponse()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x20.CancelResponseType target = null;
target = (net.opengis.sps.x20.CancelResponseType)get_store().add_element_user(CANCELRESPONSE$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy