org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTLevelTextImpl 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_LevelText
* Namespace: http://schemas.openxmlformats.org/wordprocessingml/2006/main
* Java type: org.openxmlformats.schemas.wordprocessingml.x2006.main.CTLevelText
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.wordprocessingml.x2006.main.impl;
/**
* An XML CT_LevelText(@http://schemas.openxmlformats.org/wordprocessingml/2006/main).
*
* This is a complex type.
*/
public class CTLevelTextImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.wordprocessingml.x2006.main.CTLevelText
{
public CTLevelTextImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName VAL$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/wordprocessingml/2006/main", "val");
private static final javax.xml.namespace.QName NULL$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/wordprocessingml/2006/main", "null");
/**
* Gets the "val" attribute
*/
public java.lang.String getVal()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VAL$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "val" attribute
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STString xgetVal()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STString target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STString)get_store().find_attribute_user(VAL$0);
return target;
}
}
/**
* True if has "val" attribute
*/
public boolean isSetVal()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(VAL$0) != null;
}
}
/**
* Sets the "val" attribute
*/
public void setVal(java.lang.String val)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VAL$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VAL$0);
}
target.setStringValue(val);
}
}
/**
* Sets (as xml) the "val" attribute
*/
public void xsetVal(org.openxmlformats.schemas.wordprocessingml.x2006.main.STString val)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STString target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STString)get_store().find_attribute_user(VAL$0);
if (target == null)
{
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STString)get_store().add_attribute_user(VAL$0);
}
target.set(val);
}
}
/**
* Unsets the "val" attribute
*/
public void unsetVal()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(VAL$0);
}
}
/**
* Gets the "null" attribute
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STOnOff.Enum getNull()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NULL$2);
if (target == null)
{
return null;
}
return (org.openxmlformats.schemas.wordprocessingml.x2006.main.STOnOff.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "null" attribute
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STOnOff xgetNull()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STOnOff target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STOnOff)get_store().find_attribute_user(NULL$2);
return target;
}
}
/**
* True if has "null" attribute
*/
public boolean isSetNull()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(NULL$2) != null;
}
}
/**
* Sets the "null" attribute
*/
public void setNull(org.openxmlformats.schemas.wordprocessingml.x2006.main.STOnOff.Enum xnull)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NULL$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NULL$2);
}
target.setEnumValue(xnull);
}
}
/**
* Sets (as xml) the "null" attribute
*/
public void xsetNull(org.openxmlformats.schemas.wordprocessingml.x2006.main.STOnOff xnull)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STOnOff target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STOnOff)get_store().find_attribute_user(NULL$2);
if (target == null)
{
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STOnOff)get_store().add_attribute_user(NULL$2);
}
target.set(xnull);
}
}
/**
* Unsets the "null" attribute
*/
public void unsetNull()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(NULL$2);
}
}
}