net.opengis.ows.x11.impl.AvailableCRSDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: AvailableCRS
* Namespace: http://www.opengis.net/ows/1.1
* Java type: net.opengis.ows.x11.AvailableCRSDocument
*
* 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 AvailableCRS(@http://www.opengis.net/ows/1.1) element.
*
* This is a complex type.
*/
public class AvailableCRSDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ows.x11.AvailableCRSDocument {
private static final long serialVersionUID = 1L;
public AvailableCRSDocumentImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://www.opengis.net/ows/1.1", "AvailableCRS"),
};
private static final QNameSet[] PROPERTY_QSET = {
QNameSet.forArray( new QName[] {
new QName("http://www.opengis.net/ows/1.1", "AvailableCRS"),
new QName("http://www.opengis.net/ows/1.1", "SupportedCRS"),
}),
};
/**
* Gets the "AvailableCRS" element
*/
@Override
public java.lang.String getAvailableCRS() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QSET[0], 0);
return (target == null) ? null : target.getStringValue();
}
}
/**
* Gets (as xml) the "AvailableCRS" element
*/
@Override
public org.apache.xmlbeans.XmlAnyURI xgetAvailableCRS() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(PROPERTY_QSET[0], 0);
return target;
}
}
/**
* Sets the "AvailableCRS" element
*/
@Override
public void setAvailableCRS(java.lang.String availableCRS) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QSET[0], 0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[0]);
}
target.setStringValue(availableCRS);
}
}
/**
* Sets (as xml) the "AvailableCRS" element
*/
@Override
public void xsetAvailableCRS(org.apache.xmlbeans.XmlAnyURI availableCRS) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(PROPERTY_QSET[0], 0);
if (target == null) {
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(PROPERTY_QNAME[0]);
}
target.set(availableCRS);
}
}
}