net.opengis.sps.x20.impl.CapabilitiesDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: Capabilities
* Namespace: http://www.opengis.net/sps/2.0
* Java type: net.opengis.sps.x20.CapabilitiesDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sps.x20.impl;
/**
* A document containing one Capabilities(@http://www.opengis.net/sps/2.0) element.
*
* This is a complex type.
*/
public class CapabilitiesDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x20.CapabilitiesDocument
{
private static final long serialVersionUID = 1L;
public CapabilitiesDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName CAPABILITIES$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "Capabilities");
/**
* Gets the "Capabilities" element
*/
public net.opengis.sps.x20.CapabilitiesType getCapabilities()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x20.CapabilitiesType target = null;
target = (net.opengis.sps.x20.CapabilitiesType)get_store().find_element_user(CAPABILITIES$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "Capabilities" element
*/
public void setCapabilities(net.opengis.sps.x20.CapabilitiesType capabilities)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x20.CapabilitiesType target = null;
target = (net.opengis.sps.x20.CapabilitiesType)get_store().find_element_user(CAPABILITIES$0, 0);
if (target == null)
{
target = (net.opengis.sps.x20.CapabilitiesType)get_store().add_element_user(CAPABILITIES$0);
}
target.set(capabilities);
}
}
/**
* Appends and returns a new empty "Capabilities" element
*/
public net.opengis.sps.x20.CapabilitiesType addNewCapabilities()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x20.CapabilitiesType target = null;
target = (net.opengis.sps.x20.CapabilitiesType)get_store().add_element_user(CAPABILITIES$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy