net.opengis.ows.x11.impl.PositionNameDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: PositionName
* Namespace: http://www.opengis.net/ows/1.1
* Java type: net.opengis.ows.x11.PositionNameDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.ows.x11.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
import org.apache.xmlbeans.XmlObject;
/**
* A document containing one PositionName(@http://www.opengis.net/ows/1.1) element.
*
* This is a complex type.
*/
public class PositionNameDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ows.x11.PositionNameDocument {
private static final long serialVersionUID = 1L;
public PositionNameDocumentImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://www.opengis.net/ows/1.1", "PositionName"),
};
/**
* Gets the "PositionName" element
*/
@Override
public java.lang.String getPositionName() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return (target == null) ? null : target.getStringValue();
}
}
/**
* Gets (as xml) the "PositionName" element
*/
@Override
public org.apache.xmlbeans.XmlString xgetPositionName() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return target;
}
}
/**
* Sets the "PositionName" element
*/
@Override
public void setPositionName(java.lang.String positionName) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[0], 0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[0]);
}
target.setStringValue(positionName);
}
}
/**
* Sets (as xml) the "PositionName" element
*/
@Override
public void xsetPositionName(org.apache.xmlbeans.XmlString positionName) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[0], 0);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PROPERTY_QNAME[0]);
}
target.set(positionName);
}
}
}