net.opengis.sensorml.x20.impl.OutputListDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: OutputList
* Namespace: http://www.opengis.net/sensorml/2.0
* Java type: net.opengis.sensorml.x20.OutputListDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sensorml.x20.impl;
/**
* A document containing one OutputList(@http://www.opengis.net/sensorml/2.0) element.
*
* This is a complex type.
*/
public class OutputListDocumentImpl extends net.opengis.swe.x20.impl.AbstractSWEDocumentImpl implements net.opengis.sensorml.x20.OutputListDocument
{
private static final long serialVersionUID = 1L;
public OutputListDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName OUTPUTLIST$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "OutputList");
/**
* Gets the "OutputList" element
*/
public net.opengis.sensorml.x20.OutputListType getOutputList()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.OutputListType target = null;
target = (net.opengis.sensorml.x20.OutputListType)get_store().find_element_user(OUTPUTLIST$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "OutputList" element
*/
public void setOutputList(net.opengis.sensorml.x20.OutputListType outputList)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.OutputListType target = null;
target = (net.opengis.sensorml.x20.OutputListType)get_store().find_element_user(OUTPUTLIST$0, 0);
if (target == null)
{
target = (net.opengis.sensorml.x20.OutputListType)get_store().add_element_user(OUTPUTLIST$0);
}
target.set(outputList);
}
}
/**
* Appends and returns a new empty "OutputList" element
*/
public net.opengis.sensorml.x20.OutputListType addNewOutputList()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.OutputListType target = null;
target = (net.opengis.sensorml.x20.OutputListType)get_store().add_element_user(OUTPUTLIST$0);
return target;
}
}
}