org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTUnderlineImpl 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_Underline
* Namespace: http://schemas.openxmlformats.org/wordprocessingml/2006/main
* Java type: org.openxmlformats.schemas.wordprocessingml.x2006.main.CTUnderline
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.wordprocessingml.x2006.main.impl;
/**
* An XML CT_Underline(@http://schemas.openxmlformats.org/wordprocessingml/2006/main).
*
* This is a complex type.
*/
public class CTUnderlineImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.wordprocessingml.x2006.main.CTUnderline
{
public CTUnderlineImpl(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 COLOR$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/wordprocessingml/2006/main", "color");
private static final javax.xml.namespace.QName THEMECOLOR$4 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/wordprocessingml/2006/main", "themeColor");
private static final javax.xml.namespace.QName THEMETINT$6 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/wordprocessingml/2006/main", "themeTint");
private static final javax.xml.namespace.QName THEMESHADE$8 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/wordprocessingml/2006/main", "themeShade");
/**
* Gets the "val" attribute
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STUnderline.Enum 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 (org.openxmlformats.schemas.wordprocessingml.x2006.main.STUnderline.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "val" attribute
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STUnderline xgetVal()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STUnderline target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STUnderline)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(org.openxmlformats.schemas.wordprocessingml.x2006.main.STUnderline.Enum 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.setEnumValue(val);
}
}
/**
* Sets (as xml) the "val" attribute
*/
public void xsetVal(org.openxmlformats.schemas.wordprocessingml.x2006.main.STUnderline val)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STUnderline target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STUnderline)get_store().find_attribute_user(VAL$0);
if (target == null)
{
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STUnderline)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 "color" attribute
*/
public java.lang.Object getColor()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COLOR$2);
if (target == null)
{
return null;
}
return target.getObjectValue();
}
}
/**
* Gets (as xml) the "color" attribute
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STHexColor xgetColor()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STHexColor target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STHexColor)get_store().find_attribute_user(COLOR$2);
return target;
}
}
/**
* True if has "color" attribute
*/
public boolean isSetColor()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(COLOR$2) != null;
}
}
/**
* Sets the "color" attribute
*/
public void setColor(java.lang.Object color)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COLOR$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(COLOR$2);
}
target.setObjectValue(color);
}
}
/**
* Sets (as xml) the "color" attribute
*/
public void xsetColor(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHexColor color)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STHexColor target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STHexColor)get_store().find_attribute_user(COLOR$2);
if (target == null)
{
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STHexColor)get_store().add_attribute_user(COLOR$2);
}
target.set(color);
}
}
/**
* Unsets the "color" attribute
*/
public void unsetColor()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(COLOR$2);
}
}
/**
* Gets the "themeColor" attribute
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STThemeColor.Enum getThemeColor()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(THEMECOLOR$4);
if (target == null)
{
return null;
}
return (org.openxmlformats.schemas.wordprocessingml.x2006.main.STThemeColor.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "themeColor" attribute
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STThemeColor xgetThemeColor()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STThemeColor target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STThemeColor)get_store().find_attribute_user(THEMECOLOR$4);
return target;
}
}
/**
* True if has "themeColor" attribute
*/
public boolean isSetThemeColor()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(THEMECOLOR$4) != null;
}
}
/**
* Sets the "themeColor" attribute
*/
public void setThemeColor(org.openxmlformats.schemas.wordprocessingml.x2006.main.STThemeColor.Enum themeColor)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(THEMECOLOR$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(THEMECOLOR$4);
}
target.setEnumValue(themeColor);
}
}
/**
* Sets (as xml) the "themeColor" attribute
*/
public void xsetThemeColor(org.openxmlformats.schemas.wordprocessingml.x2006.main.STThemeColor themeColor)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STThemeColor target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STThemeColor)get_store().find_attribute_user(THEMECOLOR$4);
if (target == null)
{
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STThemeColor)get_store().add_attribute_user(THEMECOLOR$4);
}
target.set(themeColor);
}
}
/**
* Unsets the "themeColor" attribute
*/
public void unsetThemeColor()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(THEMECOLOR$4);
}
}
/**
* Gets the "themeTint" attribute
*/
public byte[] getThemeTint()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(THEMETINT$6);
if (target == null)
{
return null;
}
return target.getByteArrayValue();
}
}
/**
* Gets (as xml) the "themeTint" attribute
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber xgetThemeTint()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber)get_store().find_attribute_user(THEMETINT$6);
return target;
}
}
/**
* True if has "themeTint" attribute
*/
public boolean isSetThemeTint()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(THEMETINT$6) != null;
}
}
/**
* Sets the "themeTint" attribute
*/
public void setThemeTint(byte[] themeTint)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(THEMETINT$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(THEMETINT$6);
}
target.setByteArrayValue(themeTint);
}
}
/**
* Sets (as xml) the "themeTint" attribute
*/
public void xsetThemeTint(org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber themeTint)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber)get_store().find_attribute_user(THEMETINT$6);
if (target == null)
{
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber)get_store().add_attribute_user(THEMETINT$6);
}
target.set(themeTint);
}
}
/**
* Unsets the "themeTint" attribute
*/
public void unsetThemeTint()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(THEMETINT$6);
}
}
/**
* Gets the "themeShade" attribute
*/
public byte[] getThemeShade()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(THEMESHADE$8);
if (target == null)
{
return null;
}
return target.getByteArrayValue();
}
}
/**
* Gets (as xml) the "themeShade" attribute
*/
public org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber xgetThemeShade()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber)get_store().find_attribute_user(THEMESHADE$8);
return target;
}
}
/**
* True if has "themeShade" attribute
*/
public boolean isSetThemeShade()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(THEMESHADE$8) != null;
}
}
/**
* Sets the "themeShade" attribute
*/
public void setThemeShade(byte[] themeShade)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(THEMESHADE$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(THEMESHADE$8);
}
target.setByteArrayValue(themeShade);
}
}
/**
* Sets (as xml) the "themeShade" attribute
*/
public void xsetThemeShade(org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber themeShade)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber target = null;
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber)get_store().find_attribute_user(THEMESHADE$8);
if (target == null)
{
target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STUcharHexNumber)get_store().add_attribute_user(THEMESHADE$8);
}
target.set(themeShade);
}
}
/**
* Unsets the "themeShade" attribute
*/
public void unsetThemeShade()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(THEMESHADE$8);
}
}
}