All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.opengis.swe.x20.impl.AbstractEncodingDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: AbstractEncoding
 * Namespace: http://www.opengis.net/swe/2.0
 * Java type: net.opengis.swe.x20.AbstractEncodingDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.swe.x20.impl;
/**
 * A document containing one AbstractEncoding(@http://www.opengis.net/swe/2.0) element.
 *
 * This is a complex type.
 */
public class AbstractEncodingDocumentImpl extends net.opengis.swe.x20.impl.AbstractSWEDocumentImpl implements net.opengis.swe.x20.AbstractEncodingDocument
{
    private static final long serialVersionUID = 1L;
    
    public AbstractEncodingDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ABSTRACTENCODING$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractEncoding");
    private static final org.apache.xmlbeans.QNameSet ABSTRACTENCODING$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { 
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "TextEncoding"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractEncoding"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "BinaryEncoding"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "XMLEncoding"),
    });
    
    
    /**
     * Gets the "AbstractEncoding" element
     */
    public net.opengis.swe.x20.AbstractEncodingType getAbstractEncoding()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x20.AbstractEncodingType target = null;
            target = (net.opengis.swe.x20.AbstractEncodingType)get_store().find_element_user(ABSTRACTENCODING$1, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "AbstractEncoding" element
     */
    public void setAbstractEncoding(net.opengis.swe.x20.AbstractEncodingType abstractEncoding)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x20.AbstractEncodingType target = null;
            target = (net.opengis.swe.x20.AbstractEncodingType)get_store().find_element_user(ABSTRACTENCODING$1, 0);
            if (target == null)
            {
                target = (net.opengis.swe.x20.AbstractEncodingType)get_store().add_element_user(ABSTRACTENCODING$0);
            }
            target.set(abstractEncoding);
        }
    }
    
    /**
     * Appends and returns a new empty "AbstractEncoding" element
     */
    public net.opengis.swe.x20.AbstractEncodingType addNewAbstractEncoding()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x20.AbstractEncodingType target = null;
            target = (net.opengis.swe.x20.AbstractEncodingType)get_store().add_element_user(ABSTRACTENCODING$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy