
net.opengis.gml.x32.impl.AbstractCurveDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: AbstractCurve
* Namespace: http://www.opengis.net/gml/3.2
* Java type: net.opengis.gml.x32.AbstractCurveDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.gml.x32.impl;
/**
* A document containing one AbstractCurve(@http://www.opengis.net/gml/3.2) element.
*
* This is a complex type.
*/
public class AbstractCurveDocumentImpl extends net.opengis.gml.x32.impl.AbstractGeometricPrimitiveDocumentImpl implements net.opengis.gml.x32.AbstractCurveDocument
{
private static final long serialVersionUID = 1L;
public AbstractCurveDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ABSTRACTCURVE$0 =
new javax.xml.namespace.QName("http://www.opengis.net/gml/3.2", "AbstractCurve");
private static final org.apache.xmlbeans.QNameSet ABSTRACTCURVE$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] {
new javax.xml.namespace.QName("http://www.opengis.net/gml/3.2", "LineString"),
new javax.xml.namespace.QName("http://www.opengis.net/gml/3.2", "OrientableCurve"),
new javax.xml.namespace.QName("http://www.opengis.net/gml/3.2", "AbstractCurve"),
new javax.xml.namespace.QName("http://www.opengis.net/gml/3.2", "CompositeCurve"),
new javax.xml.namespace.QName("http://www.opengis.net/gml/3.2", "Curve"),
});
/**
* Gets the "AbstractCurve" element
*/
public net.opengis.gml.x32.AbstractCurveType getAbstractCurve()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.AbstractCurveType target = null;
target = (net.opengis.gml.x32.AbstractCurveType)get_store().find_element_user(ABSTRACTCURVE$1, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "AbstractCurve" element
*/
public void setAbstractCurve(net.opengis.gml.x32.AbstractCurveType abstractCurve)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.AbstractCurveType target = null;
target = (net.opengis.gml.x32.AbstractCurveType)get_store().find_element_user(ABSTRACTCURVE$1, 0);
if (target == null)
{
target = (net.opengis.gml.x32.AbstractCurveType)get_store().add_element_user(ABSTRACTCURVE$0);
}
target.set(abstractCurve);
}
}
/**
* Appends and returns a new empty "AbstractCurve" element
*/
public net.opengis.gml.x32.AbstractCurveType addNewAbstractCurve()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.AbstractCurveType target = null;
target = (net.opengis.gml.x32.AbstractCurveType)get_store().add_element_user(ABSTRACTCURVE$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy