org.w3.x2000.x09.xmldsig.impl.KeyValueDocumentImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.poi
Show all versions of org.apache.servicemix.bundles.poi
This OSGi bundle wraps poi, poi-contrib, poi-ooxml, poi-ooxml-schemas and poi-scratchpad ${pkgVersion} jar files.
/*
* An XML document type.
* Localname: KeyValue
* Namespace: http://www.w3.org/2000/09/xmldsig#
* Java type: org.w3.x2000.x09.xmldsig.KeyValueDocument
*
* Automatically generated - do not modify.
*/
package org.w3.x2000.x09.xmldsig.impl;
/**
* A document containing one KeyValue(@http://www.w3.org/2000/09/xmldsig#) element.
*
* This is a complex type.
*/
public class KeyValueDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.x2000.x09.xmldsig.KeyValueDocument
{
public KeyValueDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName KEYVALUE$0 =
new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "KeyValue");
/**
* Gets the "KeyValue" element
*/
public org.w3.x2000.x09.xmldsig.KeyValueType getKeyValue()
{
synchronized (monitor())
{
check_orphaned();
org.w3.x2000.x09.xmldsig.KeyValueType target = null;
target = (org.w3.x2000.x09.xmldsig.KeyValueType)get_store().find_element_user(KEYVALUE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "KeyValue" element
*/
public void setKeyValue(org.w3.x2000.x09.xmldsig.KeyValueType keyValue)
{
synchronized (monitor())
{
check_orphaned();
org.w3.x2000.x09.xmldsig.KeyValueType target = null;
target = (org.w3.x2000.x09.xmldsig.KeyValueType)get_store().find_element_user(KEYVALUE$0, 0);
if (target == null)
{
target = (org.w3.x2000.x09.xmldsig.KeyValueType)get_store().add_element_user(KEYVALUE$0);
}
target.set(keyValue);
}
}
/**
* Appends and returns a new empty "KeyValue" element
*/
public org.w3.x2000.x09.xmldsig.KeyValueType addNewKeyValue()
{
synchronized (monitor())
{
check_orphaned();
org.w3.x2000.x09.xmldsig.KeyValueType target = null;
target = (org.w3.x2000.x09.xmldsig.KeyValueType)get_store().add_element_user(KEYVALUE$0);
return target;
}
}
}