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