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