com.microsoft.schemas.vml.impl.FillDocumentImpl 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: fill
* Namespace: urn:schemas-microsoft-com:vml
* Java type: com.microsoft.schemas.vml.FillDocument
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.vml.impl;
/**
* A document containing one fill(@urn:schemas-microsoft-com:vml) element.
*
* This is a complex type.
*/
public class FillDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.vml.FillDocument
{
public FillDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName FILL$0 =
new javax.xml.namespace.QName("urn:schemas-microsoft-com:vml", "fill");
/**
* Gets the "fill" element
*/
public com.microsoft.schemas.vml.CTFill getFill()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.vml.CTFill target = null;
target = (com.microsoft.schemas.vml.CTFill)get_store().find_element_user(FILL$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "fill" element
*/
public void setFill(com.microsoft.schemas.vml.CTFill fill)
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.vml.CTFill target = null;
target = (com.microsoft.schemas.vml.CTFill)get_store().find_element_user(FILL$0, 0);
if (target == null)
{
target = (com.microsoft.schemas.vml.CTFill)get_store().add_element_user(FILL$0);
}
target.set(fill);
}
}
/**
* Appends and returns a new empty "fill" element
*/
public com.microsoft.schemas.vml.CTFill addNewFill()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.vml.CTFill target = null;
target = (com.microsoft.schemas.vml.CTFill)get_store().add_element_user(FILL$0);
return target;
}
}
}