net.opengis.sensorml.x20.impl.KeywordListDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: KeywordList
* Namespace: http://www.opengis.net/sensorml/2.0
* Java type: net.opengis.sensorml.x20.KeywordListDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sensorml.x20.impl;
/**
* A document containing one KeywordList(@http://www.opengis.net/sensorml/2.0) element.
*
* This is a complex type.
*/
public class KeywordListDocumentImpl extends net.opengis.sensorml.x20.impl.AbstractMetadataListDocumentImpl implements net.opengis.sensorml.x20.KeywordListDocument
{
private static final long serialVersionUID = 1L;
public KeywordListDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName KEYWORDLIST$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "KeywordList");
/**
* Gets the "KeywordList" element
*/
public net.opengis.sensorml.x20.KeywordListType getKeywordList()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.KeywordListType target = null;
target = (net.opengis.sensorml.x20.KeywordListType)get_store().find_element_user(KEYWORDLIST$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "KeywordList" element
*/
public void setKeywordList(net.opengis.sensorml.x20.KeywordListType keywordList)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.KeywordListType target = null;
target = (net.opengis.sensorml.x20.KeywordListType)get_store().find_element_user(KEYWORDLIST$0, 0);
if (target == null)
{
target = (net.opengis.sensorml.x20.KeywordListType)get_store().add_element_user(KEYWORDLIST$0);
}
target.set(keywordList);
}
}
/**
* Appends and returns a new empty "KeywordList" element
*/
public net.opengis.sensorml.x20.KeywordListType addNewKeywordList()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.KeywordListType target = null;
target = (net.opengis.sensorml.x20.KeywordListType)get_store().add_element_user(KEYWORDLIST$0);
return target;
}
}
}