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

net.opengis.ows.impl.OutputFormatDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: OutputFormat
 * Namespace: http://www.opengis.net/ows
 * Java type: net.opengis.ows.OutputFormatDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.ows.impl;
/**
 * A document containing one OutputFormat(@http://www.opengis.net/ows) element.
 *
 * This is a complex type.
 */
public class OutputFormatDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ows.OutputFormatDocument
{
    private static final long serialVersionUID = 1L;
    
    public OutputFormatDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName OUTPUTFORMAT$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/ows", "OutputFormat");
    
    
    /**
     * Gets the "OutputFormat" element
     */
    public java.lang.String getOutputFormat()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OUTPUTFORMAT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "OutputFormat" element
     */
    public net.opengis.ows.MimeType xgetOutputFormat()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ows.MimeType target = null;
            target = (net.opengis.ows.MimeType)get_store().find_element_user(OUTPUTFORMAT$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "OutputFormat" element
     */
    public void setOutputFormat(java.lang.String outputFormat)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OUTPUTFORMAT$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OUTPUTFORMAT$0);
            }
            target.setStringValue(outputFormat);
        }
    }
    
    /**
     * Sets (as xml) the "OutputFormat" element
     */
    public void xsetOutputFormat(net.opengis.ows.MimeType outputFormat)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ows.MimeType target = null;
            target = (net.opengis.ows.MimeType)get_store().find_element_user(OUTPUTFORMAT$0, 0);
            if (target == null)
            {
                target = (net.opengis.ows.MimeType)get_store().add_element_user(OUTPUTFORMAT$0);
            }
            target.set(outputFormat);
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy