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