net.opengis.ogc.impl.SpatialCapabilitiesDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: Spatial_Capabilities
* Namespace: http://www.opengis.net/ogc
* Java type: net.opengis.ogc.SpatialCapabilitiesDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.ogc.impl;
/**
* A document containing one Spatial_Capabilities(@http://www.opengis.net/ogc) element.
*
* This is a complex type.
*/
public class SpatialCapabilitiesDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ogc.SpatialCapabilitiesDocument
{
private static final long serialVersionUID = 1L;
public SpatialCapabilitiesDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SPATIALCAPABILITIES$0 =
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Spatial_Capabilities");
/**
* Gets the "Spatial_Capabilities" element
*/
public net.opengis.ogc.SpatialCapabilitiesType getSpatialCapabilities()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.SpatialCapabilitiesType target = null;
target = (net.opengis.ogc.SpatialCapabilitiesType)get_store().find_element_user(SPATIALCAPABILITIES$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "Spatial_Capabilities" element
*/
public void setSpatialCapabilities(net.opengis.ogc.SpatialCapabilitiesType spatialCapabilities)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.SpatialCapabilitiesType target = null;
target = (net.opengis.ogc.SpatialCapabilitiesType)get_store().find_element_user(SPATIALCAPABILITIES$0, 0);
if (target == null)
{
target = (net.opengis.ogc.SpatialCapabilitiesType)get_store().add_element_user(SPATIALCAPABILITIES$0);
}
target.set(spatialCapabilities);
}
}
/**
* Appends and returns a new empty "Spatial_Capabilities" element
*/
public net.opengis.ogc.SpatialCapabilitiesType addNewSpatialCapabilities()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.SpatialCapabilitiesType target = null;
target = (net.opengis.ogc.SpatialCapabilitiesType)get_store().add_element_user(SPATIALCAPABILITIES$0);
return target;
}
}
}