org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTTcMarImpl 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
/*
* XML Type: CT_TcMar
* Namespace: http://schemas.openxmlformats.org/wordprocessingml/2006/main
* Java type: org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcMar
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.wordprocessingml.x2006.main.impl;
/**
* An XML CT_TcMar(@http://schemas.openxmlformats.org/wordprocessingml/2006/main).
*
* This is a complex type.
*/
public class CTTcMarImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcMar
{
public CTTcMarImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TOP$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/wordprocessingml/2006/main", "top");
private static final javax.xml.namespace.QName LEFT$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/wordprocessingml/2006/main", "left");
private static final javax.xml.namespace.QName BOTTOM$4 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/wordprocessingml/2006/main", "bottom");
private static final javax.xml.namespace.QName RIGHT$6 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/wordprocessingml/2006/main", "right");
/**
* Gets the "top" element
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth getTop()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().find_element_user(TOP$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "top" element
*/
public boolean isSetTop()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TOP$0) != 0;
}
}
/**
* Sets the "top" element
*/
public void setTop(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth top)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().find_element_user(TOP$0, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().add_element_user(TOP$0);
}
target.set(top);
}
}
/**
* Appends and returns a new empty "top" element
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth addNewTop()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().add_element_user(TOP$0);
return target;
}
}
/**
* Unsets the "top" element
*/
public void unsetTop()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TOP$0, 0);
}
}
/**
* Gets the "left" element
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth getLeft()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().find_element_user(LEFT$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "left" element
*/
public boolean isSetLeft()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(LEFT$2) != 0;
}
}
/**
* Sets the "left" element
*/
public void setLeft(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth left)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().find_element_user(LEFT$2, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().add_element_user(LEFT$2);
}
target.set(left);
}
}
/**
* Appends and returns a new empty "left" element
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth addNewLeft()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().add_element_user(LEFT$2);
return target;
}
}
/**
* Unsets the "left" element
*/
public void unsetLeft()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(LEFT$2, 0);
}
}
/**
* Gets the "bottom" element
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth getBottom()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().find_element_user(BOTTOM$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "bottom" element
*/
public boolean isSetBottom()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(BOTTOM$4) != 0;
}
}
/**
* Sets the "bottom" element
*/
public void setBottom(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth bottom)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().find_element_user(BOTTOM$4, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().add_element_user(BOTTOM$4);
}
target.set(bottom);
}
}
/**
* Appends and returns a new empty "bottom" element
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth addNewBottom()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().add_element_user(BOTTOM$4);
return target;
}
}
/**
* Unsets the "bottom" element
*/
public void unsetBottom()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(BOTTOM$4, 0);
}
}
/**
* Gets the "right" element
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth getRight()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().find_element_user(RIGHT$6, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "right" element
*/
public boolean isSetRight()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(RIGHT$6) != 0;
}
}
/**
* Sets the "right" element
*/
public void setRight(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth right)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().find_element_user(RIGHT$6, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().add_element_user(RIGHT$6);
}
target.set(right);
}
}
/**
* Appends and returns a new empty "right" element
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth addNewRight()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblWidth)get_store().add_element_user(RIGHT$6);
return target;
}
}
/**
* Unsets the "right" element
*/
public void unsetRight()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(RIGHT$6, 0);
}
}
}