net.opengis.swe.x101.impl.StandardFormatDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: StandardFormat
* Namespace: http://www.opengis.net/swe/1.0.1
* Java type: net.opengis.swe.x101.StandardFormatDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.swe.x101.impl;
/**
* A document containing one StandardFormat(@http://www.opengis.net/swe/1.0.1) element.
*
* This is a complex type.
*/
public class StandardFormatDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.swe.x101.StandardFormatDocument
{
private static final long serialVersionUID = 1L;
public StandardFormatDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName STANDARDFORMAT$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "StandardFormat");
/**
* Gets the "StandardFormat" element
*/
public net.opengis.swe.x101.StandardFormatDocument.StandardFormat getStandardFormat()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.StandardFormatDocument.StandardFormat target = null;
target = (net.opengis.swe.x101.StandardFormatDocument.StandardFormat)get_store().find_element_user(STANDARDFORMAT$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "StandardFormat" element
*/
public void setStandardFormat(net.opengis.swe.x101.StandardFormatDocument.StandardFormat standardFormat)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.StandardFormatDocument.StandardFormat target = null;
target = (net.opengis.swe.x101.StandardFormatDocument.StandardFormat)get_store().find_element_user(STANDARDFORMAT$0, 0);
if (target == null)
{
target = (net.opengis.swe.x101.StandardFormatDocument.StandardFormat)get_store().add_element_user(STANDARDFORMAT$0);
}
target.set(standardFormat);
}
}
/**
* Appends and returns a new empty "StandardFormat" element
*/
public net.opengis.swe.x101.StandardFormatDocument.StandardFormat addNewStandardFormat()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.StandardFormatDocument.StandardFormat target = null;
target = (net.opengis.swe.x101.StandardFormatDocument.StandardFormat)get_store().add_element_user(STANDARDFORMAT$0);
return target;
}
}
/**
* An XML StandardFormat(@http://www.opengis.net/swe/1.0.1).
*
* This is a complex type.
*/
public static class StandardFormatImpl extends net.opengis.swe.x101.impl.AbstractEncodingTypeImpl implements net.opengis.swe.x101.StandardFormatDocument.StandardFormat
{
private static final long serialVersionUID = 1L;
public StandardFormatImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName MIMETYPE$0 =
new javax.xml.namespace.QName("", "mimeType");
/**
* Gets the "mimeType" attribute
*/
public java.lang.String getMimeType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MIMETYPE$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "mimeType" attribute
*/
public org.apache.xmlbeans.XmlToken xgetMimeType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlToken target = null;
target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(MIMETYPE$0);
return target;
}
}
/**
* Sets the "mimeType" attribute
*/
public void setMimeType(java.lang.String mimeType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MIMETYPE$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(MIMETYPE$0);
}
target.setStringValue(mimeType);
}
}
/**
* Sets (as xml) the "mimeType" attribute
*/
public void xsetMimeType(org.apache.xmlbeans.XmlToken mimeType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlToken target = null;
target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(MIMETYPE$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlToken)get_store().add_attribute_user(MIMETYPE$0);
}
target.set(mimeType);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy