net.opengis.swe.x101.impl.DataStreamDefinitionDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: DataStreamDefinition
* Namespace: http://www.opengis.net/swe/1.0.1
* Java type: net.opengis.swe.x101.DataStreamDefinitionDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.swe.x101.impl;
/**
* A document containing one DataStreamDefinition(@http://www.opengis.net/swe/1.0.1) element.
*
* This is a complex type.
*/
public class DataStreamDefinitionDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.swe.x101.DataStreamDefinitionDocument
{
private static final long serialVersionUID = 1L;
public DataStreamDefinitionDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName DATASTREAMDEFINITION$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "DataStreamDefinition");
/**
* Gets the "DataStreamDefinition" element
*/
public net.opengis.swe.x101.DataStreamDefinitionType getDataStreamDefinition()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.DataStreamDefinitionType target = null;
target = (net.opengis.swe.x101.DataStreamDefinitionType)get_store().find_element_user(DATASTREAMDEFINITION$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "DataStreamDefinition" element
*/
public void setDataStreamDefinition(net.opengis.swe.x101.DataStreamDefinitionType dataStreamDefinition)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.DataStreamDefinitionType target = null;
target = (net.opengis.swe.x101.DataStreamDefinitionType)get_store().find_element_user(DATASTREAMDEFINITION$0, 0);
if (target == null)
{
target = (net.opengis.swe.x101.DataStreamDefinitionType)get_store().add_element_user(DATASTREAMDEFINITION$0);
}
target.set(dataStreamDefinition);
}
}
/**
* Appends and returns a new empty "DataStreamDefinition" element
*/
public net.opengis.swe.x101.DataStreamDefinitionType addNewDataStreamDefinition()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.DataStreamDefinitionType target = null;
target = (net.opengis.swe.x101.DataStreamDefinitionType)get_store().add_element_user(DATASTREAMDEFINITION$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy