net.opengis.wns.x00.impl.NotificationFormatDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: NotificationFormat
* Namespace: http://www.opengis.net/wns/0.0
* Java type: net.opengis.wns.x00.NotificationFormatDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.wns.x00.impl;
/**
* A document containing one NotificationFormat(@http://www.opengis.net/wns/0.0) element.
*
* This is a complex type.
*/
public class NotificationFormatDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.wns.x00.NotificationFormatDocument
{
private static final long serialVersionUID = 1L;
public NotificationFormatDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName NOTIFICATIONFORMAT$0 =
new javax.xml.namespace.QName("http://www.opengis.net/wns/0.0", "NotificationFormat");
/**
* Gets the "NotificationFormat" element
*/
public net.opengis.wns.x00.NotificationFormatDocument.NotificationFormat.Enum getNotificationFormat()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NOTIFICATIONFORMAT$0, 0);
if (target == null)
{
return null;
}
return (net.opengis.wns.x00.NotificationFormatDocument.NotificationFormat.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "NotificationFormat" element
*/
public net.opengis.wns.x00.NotificationFormatDocument.NotificationFormat xgetNotificationFormat()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.wns.x00.NotificationFormatDocument.NotificationFormat target = null;
target = (net.opengis.wns.x00.NotificationFormatDocument.NotificationFormat)get_store().find_element_user(NOTIFICATIONFORMAT$0, 0);
return target;
}
}
/**
* Sets the "NotificationFormat" element
*/
public void setNotificationFormat(net.opengis.wns.x00.NotificationFormatDocument.NotificationFormat.Enum notificationFormat)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NOTIFICATIONFORMAT$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NOTIFICATIONFORMAT$0);
}
target.setEnumValue(notificationFormat);
}
}
/**
* Sets (as xml) the "NotificationFormat" element
*/
public void xsetNotificationFormat(net.opengis.wns.x00.NotificationFormatDocument.NotificationFormat notificationFormat)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.wns.x00.NotificationFormatDocument.NotificationFormat target = null;
target = (net.opengis.wns.x00.NotificationFormatDocument.NotificationFormat)get_store().find_element_user(NOTIFICATIONFORMAT$0, 0);
if (target == null)
{
target = (net.opengis.wns.x00.NotificationFormatDocument.NotificationFormat)get_store().add_element_user(NOTIFICATIONFORMAT$0);
}
target.set(notificationFormat);
}
}
/**
* An XML NotificationFormat(@http://www.opengis.net/wns/0.0).
*
* This is an atomic type that is a restriction of net.opengis.wns.x00.NotificationFormatDocument$NotificationFormat.
*/
public static class NotificationFormatImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements net.opengis.wns.x00.NotificationFormatDocument.NotificationFormat
{
private static final long serialVersionUID = 1L;
public NotificationFormatImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType, false);
}
protected NotificationFormatImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
{
super(sType, b);
}
}
}