org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.impl.Ui2DocumentImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds:
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip
The newest version!
/*
* An XML document type.
* Localname: ui2
* Namespace: http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes
* Java type: org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.Ui2Document
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.impl;
/**
* A document containing one ui2(@http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes) element.
*
* This is a complex type.
*/
public class Ui2DocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.Ui2Document
{
private static final long serialVersionUID = 1L;
public Ui2DocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName UI2$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes", "ui2");
/**
* Gets the "ui2" element
*/
public int getUi2()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UI2$0, 0);
if (target == null)
{
return 0;
}
return target.getIntValue();
}
}
/**
* Gets (as xml) the "ui2" element
*/
public org.apache.xmlbeans.XmlUnsignedShort xgetUi2()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedShort target = null;
target = (org.apache.xmlbeans.XmlUnsignedShort)get_store().find_element_user(UI2$0, 0);
return target;
}
}
/**
* Sets the "ui2" element
*/
public void setUi2(int ui2)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UI2$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(UI2$0);
}
target.setIntValue(ui2);
}
}
/**
* Sets (as xml) the "ui2" element
*/
public void xsetUi2(org.apache.xmlbeans.XmlUnsignedShort ui2)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedShort target = null;
target = (org.apache.xmlbeans.XmlUnsignedShort)get_store().find_element_user(UI2$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedShort)get_store().add_element_user(UI2$0);
}
target.set(ui2);
}
}
}