net.opengis.wns.x00.impl.UnregisterDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: Unregister
* Namespace: http://www.opengis.net/wns/0.0
* Java type: net.opengis.wns.x00.UnregisterDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.wns.x00.impl;
/**
* A document containing one Unregister(@http://www.opengis.net/wns/0.0) element.
*
* This is a complex type.
*/
public class UnregisterDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.wns.x00.UnregisterDocument
{
private static final long serialVersionUID = 1L;
public UnregisterDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName UNREGISTER$0 =
new javax.xml.namespace.QName("http://www.opengis.net/wns/0.0", "Unregister");
/**
* Gets the "Unregister" element
*/
public net.opengis.wns.x00.UnregisterType getUnregister()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.wns.x00.UnregisterType target = null;
target = (net.opengis.wns.x00.UnregisterType)get_store().find_element_user(UNREGISTER$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "Unregister" element
*/
public void setUnregister(net.opengis.wns.x00.UnregisterType unregister)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.wns.x00.UnregisterType target = null;
target = (net.opengis.wns.x00.UnregisterType)get_store().find_element_user(UNREGISTER$0, 0);
if (target == null)
{
target = (net.opengis.wns.x00.UnregisterType)get_store().add_element_user(UNREGISTER$0);
}
target.set(unregister);
}
}
/**
* Appends and returns a new empty "Unregister" element
*/
public net.opengis.wns.x00.UnregisterType addNewUnregister()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.wns.x00.UnregisterType target = null;
target = (net.opengis.wns.x00.UnregisterType)get_store().add_element_user(UNREGISTER$0);
return target;
}
}
}