net.opengis.wmts.x10.impl.TileMatrixDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: TileMatrix
* Namespace: http://www.opengis.net/wmts/1.0
* Java type: net.opengis.wmts.x10.TileMatrixDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.wmts.x10.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
import org.apache.xmlbeans.XmlObject;
/**
* A document containing one TileMatrix(@http://www.opengis.net/wmts/1.0) element.
*
* This is a complex type.
*/
public class TileMatrixDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.wmts.x10.TileMatrixDocument {
private static final long serialVersionUID = 1L;
public TileMatrixDocumentImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://www.opengis.net/wmts/1.0", "TileMatrix"),
};
/**
* Gets the "TileMatrix" element
*/
@Override
public net.opengis.wmts.x10.TileMatrixDocument.TileMatrix getTileMatrix() {
synchronized (monitor()) {
check_orphaned();
net.opengis.wmts.x10.TileMatrixDocument.TileMatrix target = null;
target = (net.opengis.wmts.x10.TileMatrixDocument.TileMatrix)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "TileMatrix" element
*/
@Override
public void setTileMatrix(net.opengis.wmts.x10.TileMatrixDocument.TileMatrix tileMatrix) {
generatedSetterHelperImpl(tileMatrix, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "TileMatrix" element
*/
@Override
public net.opengis.wmts.x10.TileMatrixDocument.TileMatrix addNewTileMatrix() {
synchronized (monitor()) {
check_orphaned();
net.opengis.wmts.x10.TileMatrixDocument.TileMatrix target = null;
target = (net.opengis.wmts.x10.TileMatrixDocument.TileMatrix)get_store().add_element_user(PROPERTY_QNAME[0]);
return target;
}
}
/**
* An XML TileMatrix(@http://www.opengis.net/wmts/1.0).
*
* This is a complex type.
*/
public static class TileMatrixImpl extends net.opengis.ows.x11.impl.DescriptionTypeImpl implements net.opengis.wmts.x10.TileMatrixDocument.TileMatrix {
private static final long serialVersionUID = 1L;
public TileMatrixImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://www.opengis.net/ows/1.1", "Identifier"),
new QName("http://www.opengis.net/wmts/1.0", "ScaleDenominator"),
new QName("http://www.opengis.net/wmts/1.0", "TopLeftCorner"),
new QName("http://www.opengis.net/wmts/1.0", "TileWidth"),
new QName("http://www.opengis.net/wmts/1.0", "TileHeight"),
new QName("http://www.opengis.net/wmts/1.0", "MatrixWidth"),
new QName("http://www.opengis.net/wmts/1.0", "MatrixHeight"),
};
/**
* Gets the "Identifier" element
*/
@Override
public net.opengis.ows.x11.CodeType getIdentifier() {
synchronized (monitor()) {
check_orphaned();
net.opengis.ows.x11.CodeType target = null;
target = (net.opengis.ows.x11.CodeType)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "Identifier" element
*/
@Override
public void setIdentifier(net.opengis.ows.x11.CodeType identifier) {
generatedSetterHelperImpl(identifier, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "Identifier" element
*/
@Override
public net.opengis.ows.x11.CodeType addNewIdentifier() {
synchronized (monitor()) {
check_orphaned();
net.opengis.ows.x11.CodeType target = null;
target = (net.opengis.ows.x11.CodeType)get_store().add_element_user(PROPERTY_QNAME[0]);
return target;
}
}
/**
* Gets the "ScaleDenominator" element
*/
@Override
public double getScaleDenominator() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[1], 0);
return (target == null) ? 0.0 : target.getDoubleValue();
}
}
/**
* Gets (as xml) the "ScaleDenominator" element
*/
@Override
public org.apache.xmlbeans.XmlDouble xgetScaleDenominator() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlDouble target = null;
target = (org.apache.xmlbeans.XmlDouble)get_store().find_element_user(PROPERTY_QNAME[1], 0);
return target;
}
}
/**
* Sets the "ScaleDenominator" element
*/
@Override
public void setScaleDenominator(double scaleDenominator) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[1], 0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[1]);
}
target.setDoubleValue(scaleDenominator);
}
}
/**
* Sets (as xml) the "ScaleDenominator" element
*/
@Override
public void xsetScaleDenominator(org.apache.xmlbeans.XmlDouble scaleDenominator) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlDouble target = null;
target = (org.apache.xmlbeans.XmlDouble)get_store().find_element_user(PROPERTY_QNAME[1], 0);
if (target == null) {
target = (org.apache.xmlbeans.XmlDouble)get_store().add_element_user(PROPERTY_QNAME[1]);
}
target.set(scaleDenominator);
}
}
/**
* Gets the "TopLeftCorner" element
*/
@Override
public java.util.List getTopLeftCorner() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[2], 0);
return (target == null) ? null : target.getListValue();
}
}
/**
* Gets (as xml) the "TopLeftCorner" element
*/
@Override
public net.opengis.ows.x11.PositionType xgetTopLeftCorner() {
synchronized (monitor()) {
check_orphaned();
net.opengis.ows.x11.PositionType target = null;
target = (net.opengis.ows.x11.PositionType)get_store().find_element_user(PROPERTY_QNAME[2], 0);
return target;
}
}
/**
* Sets the "TopLeftCorner" element
*/
@Override
public void setTopLeftCorner(java.util.List topLeftCorner) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[2], 0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[2]);
}
target.setListValue(topLeftCorner);
}
}
/**
* Sets (as xml) the "TopLeftCorner" element
*/
@Override
public void xsetTopLeftCorner(net.opengis.ows.x11.PositionType topLeftCorner) {
synchronized (monitor()) {
check_orphaned();
net.opengis.ows.x11.PositionType target = null;
target = (net.opengis.ows.x11.PositionType)get_store().find_element_user(PROPERTY_QNAME[2], 0);
if (target == null) {
target = (net.opengis.ows.x11.PositionType)get_store().add_element_user(PROPERTY_QNAME[2]);
}
target.set(topLeftCorner);
}
}
/**
* Gets the "TileWidth" element
*/
@Override
public java.math.BigInteger getTileWidth() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[3], 0);
return (target == null) ? null : target.getBigIntegerValue();
}
}
/**
* Gets (as xml) the "TileWidth" element
*/
@Override
public org.apache.xmlbeans.XmlPositiveInteger xgetTileWidth() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlPositiveInteger target = null;
target = (org.apache.xmlbeans.XmlPositiveInteger)get_store().find_element_user(PROPERTY_QNAME[3], 0);
return target;
}
}
/**
* Sets the "TileWidth" element
*/
@Override
public void setTileWidth(java.math.BigInteger tileWidth) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[3], 0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[3]);
}
target.setBigIntegerValue(tileWidth);
}
}
/**
* Sets (as xml) the "TileWidth" element
*/
@Override
public void xsetTileWidth(org.apache.xmlbeans.XmlPositiveInteger tileWidth) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlPositiveInteger target = null;
target = (org.apache.xmlbeans.XmlPositiveInteger)get_store().find_element_user(PROPERTY_QNAME[3], 0);
if (target == null) {
target = (org.apache.xmlbeans.XmlPositiveInteger)get_store().add_element_user(PROPERTY_QNAME[3]);
}
target.set(tileWidth);
}
}
/**
* Gets the "TileHeight" element
*/
@Override
public java.math.BigInteger getTileHeight() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[4], 0);
return (target == null) ? null : target.getBigIntegerValue();
}
}
/**
* Gets (as xml) the "TileHeight" element
*/
@Override
public org.apache.xmlbeans.XmlPositiveInteger xgetTileHeight() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlPositiveInteger target = null;
target = (org.apache.xmlbeans.XmlPositiveInteger)get_store().find_element_user(PROPERTY_QNAME[4], 0);
return target;
}
}
/**
* Sets the "TileHeight" element
*/
@Override
public void setTileHeight(java.math.BigInteger tileHeight) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[4], 0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[4]);
}
target.setBigIntegerValue(tileHeight);
}
}
/**
* Sets (as xml) the "TileHeight" element
*/
@Override
public void xsetTileHeight(org.apache.xmlbeans.XmlPositiveInteger tileHeight) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlPositiveInteger target = null;
target = (org.apache.xmlbeans.XmlPositiveInteger)get_store().find_element_user(PROPERTY_QNAME[4], 0);
if (target == null) {
target = (org.apache.xmlbeans.XmlPositiveInteger)get_store().add_element_user(PROPERTY_QNAME[4]);
}
target.set(tileHeight);
}
}
/**
* Gets the "MatrixWidth" element
*/
@Override
public java.math.BigInteger getMatrixWidth() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[5], 0);
return (target == null) ? null : target.getBigIntegerValue();
}
}
/**
* Gets (as xml) the "MatrixWidth" element
*/
@Override
public org.apache.xmlbeans.XmlPositiveInteger xgetMatrixWidth() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlPositiveInteger target = null;
target = (org.apache.xmlbeans.XmlPositiveInteger)get_store().find_element_user(PROPERTY_QNAME[5], 0);
return target;
}
}
/**
* Sets the "MatrixWidth" element
*/
@Override
public void setMatrixWidth(java.math.BigInteger matrixWidth) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[5], 0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[5]);
}
target.setBigIntegerValue(matrixWidth);
}
}
/**
* Sets (as xml) the "MatrixWidth" element
*/
@Override
public void xsetMatrixWidth(org.apache.xmlbeans.XmlPositiveInteger matrixWidth) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlPositiveInteger target = null;
target = (org.apache.xmlbeans.XmlPositiveInteger)get_store().find_element_user(PROPERTY_QNAME[5], 0);
if (target == null) {
target = (org.apache.xmlbeans.XmlPositiveInteger)get_store().add_element_user(PROPERTY_QNAME[5]);
}
target.set(matrixWidth);
}
}
/**
* Gets the "MatrixHeight" element
*/
@Override
public java.math.BigInteger getMatrixHeight() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[6], 0);
return (target == null) ? null : target.getBigIntegerValue();
}
}
/**
* Gets (as xml) the "MatrixHeight" element
*/
@Override
public org.apache.xmlbeans.XmlPositiveInteger xgetMatrixHeight() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlPositiveInteger target = null;
target = (org.apache.xmlbeans.XmlPositiveInteger)get_store().find_element_user(PROPERTY_QNAME[6], 0);
return target;
}
}
/**
* Sets the "MatrixHeight" element
*/
@Override
public void setMatrixHeight(java.math.BigInteger matrixHeight) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[6], 0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[6]);
}
target.setBigIntegerValue(matrixHeight);
}
}
/**
* Sets (as xml) the "MatrixHeight" element
*/
@Override
public void xsetMatrixHeight(org.apache.xmlbeans.XmlPositiveInteger matrixHeight) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlPositiveInteger target = null;
target = (org.apache.xmlbeans.XmlPositiveInteger)get_store().find_element_user(PROPERTY_QNAME[6], 0);
if (target == null) {
target = (org.apache.xmlbeans.XmlPositiveInteger)get_store().add_element_user(PROPERTY_QNAME[6]);
}
target.set(matrixHeight);
}
}
}
}