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

net.opengis.ogc.impl.SpatialOpsDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: spatialOps
 * Namespace: http://www.opengis.net/ogc
 * Java type: net.opengis.ogc.SpatialOpsDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.ogc.impl;
/**
 * A document containing one spatialOps(@http://www.opengis.net/ogc) element.
 *
 * This is a complex type.
 */
public class SpatialOpsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ogc.SpatialOpsDocument
{
    private static final long serialVersionUID = 1L;
    
    public SpatialOpsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SPATIALOPS$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "spatialOps");
    private static final org.apache.xmlbeans.QNameSet SPATIALOPS$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { 
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Intersects"),
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Overlaps"),
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Equals"),
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Beyond"),
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "DWithin"),
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Crosses"),
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "BBOX"),
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "spatialOps"),
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Touches"),
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Within"),
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Disjoint"),
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Contains"),
    });
    
    
    /**
     * Gets the "spatialOps" element
     */
    public net.opengis.ogc.SpatialOpsType getSpatialOps()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ogc.SpatialOpsType target = null;
            target = (net.opengis.ogc.SpatialOpsType)get_store().find_element_user(SPATIALOPS$1, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "spatialOps" element
     */
    public void setSpatialOps(net.opengis.ogc.SpatialOpsType spatialOps)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ogc.SpatialOpsType target = null;
            target = (net.opengis.ogc.SpatialOpsType)get_store().find_element_user(SPATIALOPS$1, 0);
            if (target == null)
            {
                target = (net.opengis.ogc.SpatialOpsType)get_store().add_element_user(SPATIALOPS$0);
            }
            target.set(spatialOps);
        }
    }
    
    /**
     * Appends and returns a new empty "spatialOps" element
     */
    public net.opengis.ogc.SpatialOpsType addNewSpatialOps()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ogc.SpatialOpsType target = null;
            target = (net.opengis.ogc.SpatialOpsType)get_store().add_element_user(SPATIALOPS$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy