net.opengis.sos.x10.impl.DescribeSensorDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: DescribeSensor
* Namespace: http://www.opengis.net/sos/1.0
* Java type: net.opengis.sos.x10.DescribeSensorDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sos.x10.impl;
/**
* A document containing one DescribeSensor(@http://www.opengis.net/sos/1.0) element.
*
* This is a complex type.
*/
public class DescribeSensorDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.DescribeSensorDocument
{
private static final long serialVersionUID = 1L;
public DescribeSensorDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName DESCRIBESENSOR$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "DescribeSensor");
/**
* Gets the "DescribeSensor" element
*/
public net.opengis.sos.x10.DescribeSensorDocument.DescribeSensor getDescribeSensor()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.DescribeSensorDocument.DescribeSensor target = null;
target = (net.opengis.sos.x10.DescribeSensorDocument.DescribeSensor)get_store().find_element_user(DESCRIBESENSOR$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "DescribeSensor" element
*/
public void setDescribeSensor(net.opengis.sos.x10.DescribeSensorDocument.DescribeSensor describeSensor)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.DescribeSensorDocument.DescribeSensor target = null;
target = (net.opengis.sos.x10.DescribeSensorDocument.DescribeSensor)get_store().find_element_user(DESCRIBESENSOR$0, 0);
if (target == null)
{
target = (net.opengis.sos.x10.DescribeSensorDocument.DescribeSensor)get_store().add_element_user(DESCRIBESENSOR$0);
}
target.set(describeSensor);
}
}
/**
* Appends and returns a new empty "DescribeSensor" element
*/
public net.opengis.sos.x10.DescribeSensorDocument.DescribeSensor addNewDescribeSensor()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.DescribeSensorDocument.DescribeSensor target = null;
target = (net.opengis.sos.x10.DescribeSensorDocument.DescribeSensor)get_store().add_element_user(DESCRIBESENSOR$0);
return target;
}
}
/**
* An XML DescribeSensor(@http://www.opengis.net/sos/1.0).
*
* This is a complex type.
*/
public static class DescribeSensorImpl extends net.opengis.sos.x10.impl.RequestBaseTypeImpl implements net.opengis.sos.x10.DescribeSensorDocument.DescribeSensor
{
private static final long serialVersionUID = 1L;
public DescribeSensorImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PROCEDURE$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "procedure");
private static final javax.xml.namespace.QName OUTPUTFORMAT$2 =
new javax.xml.namespace.QName("", "outputFormat");
/**
* Gets the "procedure" element
*/
public java.lang.String getProcedure()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROCEDURE$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "procedure" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetProcedure()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(PROCEDURE$0, 0);
return target;
}
}
/**
* Sets the "procedure" element
*/
public void setProcedure(java.lang.String procedure)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROCEDURE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROCEDURE$0);
}
target.setStringValue(procedure);
}
}
/**
* Sets (as xml) the "procedure" element
*/
public void xsetProcedure(org.apache.xmlbeans.XmlAnyURI procedure)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(PROCEDURE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(PROCEDURE$0);
}
target.set(procedure);
}
}
/**
* Gets the "outputFormat" attribute
*/
public java.lang.String getOutputFormat()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OUTPUTFORMAT$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "outputFormat" attribute
*/
public net.opengis.ows.x11.MimeType xgetOutputFormat()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ows.x11.MimeType target = null;
target = (net.opengis.ows.x11.MimeType)get_store().find_attribute_user(OUTPUTFORMAT$2);
return target;
}
}
/**
* Sets the "outputFormat" attribute
*/
public void setOutputFormat(java.lang.String outputFormat)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OUTPUTFORMAT$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OUTPUTFORMAT$2);
}
target.setStringValue(outputFormat);
}
}
/**
* Sets (as xml) the "outputFormat" attribute
*/
public void xsetOutputFormat(net.opengis.ows.x11.MimeType outputFormat)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ows.x11.MimeType target = null;
target = (net.opengis.ows.x11.MimeType)get_store().find_attribute_user(OUTPUTFORMAT$2);
if (target == null)
{
target = (net.opengis.ows.x11.MimeType)get_store().add_attribute_user(OUTPUTFORMAT$2);
}
target.set(outputFormat);
}
}
}
}