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

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

The newest version!
/*
 * An XML document type.
 * Localname: OutputFormat
 * Namespace: http://www.opengis.net/ows/1.1
 * Java type: net.opengis.ows.x11.OutputFormatDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.ows.x11.impl;

import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
import org.apache.xmlbeans.XmlObject;

/**
 * A document containing one OutputFormat(@http://www.opengis.net/ows/1.1) element.
 *
 * This is a complex type.
 */
public class OutputFormatDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ows.x11.OutputFormatDocument {
    private static final long serialVersionUID = 1L;

    public OutputFormatDocumentImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }

    private static final QName[] PROPERTY_QNAME = {
        new QName("http://www.opengis.net/ows/1.1", "OutputFormat"),
    };


    /**
     * Gets the "OutputFormat" element
     */
    @Override
    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(PROPERTY_QNAME[0], 0);
            return (target == null) ? null : target.getStringValue();
        }
    }

    /**
     * Gets (as xml) the "OutputFormat" element
     */
    @Override
    public net.opengis.ows.x11.MimeType xgetOutputFormat() {
        synchronized (monitor()) {
            check_orphaned();
            net.opengis.ows.x11.MimeType target = null;
            target = (net.opengis.ows.x11.MimeType)get_store().find_element_user(PROPERTY_QNAME[0], 0);
            return target;
        }
    }

    /**
     * Sets the "OutputFormat" element
     */
    @Override
    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(PROPERTY_QNAME[0], 0);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[0]);
            }
            target.setStringValue(outputFormat);
        }
    }

    /**
     * Sets (as xml) the "OutputFormat" element
     */
    @Override
    public void xsetOutputFormat(net.opengis.ows.x11.MimeType outputFormat) {
        synchronized (monitor()) {
            check_orphaned();
            net.opengis.ows.x11.MimeType target = null;
            target = (net.opengis.ows.x11.MimeType)get_store().find_element_user(PROPERTY_QNAME[0], 0);
            if (target == null) {
                target = (net.opengis.ows.x11.MimeType)get_store().add_element_user(PROPERTY_QNAME[0]);
            }
            target.set(outputFormat);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy