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