org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.impl.LpwstrDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: lpwstr
* Namespace: http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes
* Java type: org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.LpwstrDocument
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.impl;
/**
* A document containing one lpwstr(@http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes) element.
*
* This is a complex type.
*/
public class LpwstrDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.LpwstrDocument
{
private static final long serialVersionUID = 1L;
public LpwstrDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName LPWSTR$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes", "lpwstr");
/**
* Gets the "lpwstr" element
*/
public java.lang.String getLpwstr()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LPWSTR$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "lpwstr" element
*/
public org.apache.xmlbeans.XmlString xgetLpwstr()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(LPWSTR$0, 0);
return target;
}
}
/**
* Sets the "lpwstr" element
*/
public void setLpwstr(java.lang.String lpwstr)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LPWSTR$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LPWSTR$0);
}
target.setStringValue(lpwstr);
}
}
/**
* Sets (as xml) the "lpwstr" element
*/
public void xsetLpwstr(org.apache.xmlbeans.XmlString lpwstr)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(LPWSTR$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(LPWSTR$0);
}
target.set(lpwstr);
}
}
}