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