com.microsoft.schemas.office.office.impl.BottomDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: bottom
* Namespace: urn:schemas-microsoft-com:office:office
* Java type: com.microsoft.schemas.office.office.BottomDocument
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.office.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
import org.apache.xmlbeans.XmlObject;
/**
* A document containing one bottom(@urn:schemas-microsoft-com:office:office) element.
*
* This is a complex type.
*/
public class BottomDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.office.BottomDocument {
private static final long serialVersionUID = 1L;
public BottomDocumentImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("urn:schemas-microsoft-com:office:office", "bottom"),
};
/**
* Gets the "bottom" element
*/
@Override
public com.microsoft.schemas.office.office.CTStrokeChild getBottom() {
synchronized (monitor()) {
check_orphaned();
com.microsoft.schemas.office.office.CTStrokeChild target = null;
target = (com.microsoft.schemas.office.office.CTStrokeChild)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "bottom" element
*/
@Override
public void setBottom(com.microsoft.schemas.office.office.CTStrokeChild bottom) {
generatedSetterHelperImpl(bottom, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "bottom" element
*/
@Override
public com.microsoft.schemas.office.office.CTStrokeChild addNewBottom() {
synchronized (monitor()) {
check_orphaned();
com.microsoft.schemas.office.office.CTStrokeChild target = null;
target = (com.microsoft.schemas.office.office.CTStrokeChild)get_store().add_element_user(PROPERTY_QNAME[0]);
return target;
}
}
}