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