com.microsoft.schemas.office.word.impl.WrapDocumentImpl 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
/*
* An XML document type.
* Localname: wrap
* Namespace: urn:schemas-microsoft-com:office:word
* Java type: com.microsoft.schemas.office.word.WrapDocument
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.word.impl;
/**
* A document containing one wrap(@urn:schemas-microsoft-com:office:word) element.
*
* This is a complex type.
*/
public class WrapDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.word.WrapDocument
{
public WrapDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName WRAP$0 =
new javax.xml.namespace.QName("urn:schemas-microsoft-com:office:word", "wrap");
/**
* Gets the "wrap" element
*/
public com.microsoft.schemas.office.word.CTWrap getWrap()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.word.CTWrap target = null;
target = (com.microsoft.schemas.office.word.CTWrap)get_store().find_element_user(WRAP$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "wrap" element
*/
public void setWrap(com.microsoft.schemas.office.word.CTWrap wrap)
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.word.CTWrap target = null;
target = (com.microsoft.schemas.office.word.CTWrap)get_store().find_element_user(WRAP$0, 0);
if (target == null)
{
target = (com.microsoft.schemas.office.word.CTWrap)get_store().add_element_user(WRAP$0);
}
target.set(wrap);
}
}
/**
* Appends and returns a new empty "wrap" element
*/
public com.microsoft.schemas.office.word.CTWrap addNewWrap()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.word.CTWrap target = null;
target = (com.microsoft.schemas.office.word.CTWrap)get_store().add_element_user(WRAP$0);
return target;
}
}
}