com.microsoft.schemas.vml.impl.CTTextPathImpl Maven / Gradle / Ivy
/*
* XML Type: CT_TextPath
* Namespace: urn:schemas-microsoft-com:vml
* Java type: com.microsoft.schemas.vml.CTTextPath
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.vml.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
/**
* An XML CT_TextPath(@urn:schemas-microsoft-com:vml).
*
* This is a complex type.
*/
public class CTTextPathImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.vml.CTTextPath {
private static final long serialVersionUID = 1L;
public CTTextPathImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("", "id"),
new QName("", "style"),
new QName("", "on"),
new QName("", "fitshape"),
new QName("", "fitpath"),
new QName("", "trim"),
new QName("", "xscale"),
new QName("", "string"),
};
/**
* Gets the "id" attribute
*/
@Override
public java.lang.String getId() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[0]);
return (target == null) ? null : target.getStringValue();
}
}
/**
* Gets (as xml) the "id" attribute
*/
@Override
public org.apache.xmlbeans.XmlString xgetId() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[0]);
return target;
}
}
/**
* True if has "id" attribute
*/
@Override
public boolean isSetId() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[0]) != null;
}
}
/**
* Sets the "id" attribute
*/
@Override
public void setId(java.lang.String id) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[0]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[0]);
}
target.setStringValue(id);
}
}
/**
* Sets (as xml) the "id" attribute
*/
@Override
public void xsetId(org.apache.xmlbeans.XmlString id) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[0]);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(PROPERTY_QNAME[0]);
}
target.set(id);
}
}
/**
* Unsets the "id" attribute
*/
@Override
public void unsetId() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[0]);
}
}
/**
* Gets the "style" attribute
*/
@Override
public java.lang.String getStyle() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[1]);
return (target == null) ? null : target.getStringValue();
}
}
/**
* Gets (as xml) the "style" attribute
*/
@Override
public org.apache.xmlbeans.XmlString xgetStyle() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[1]);
return target;
}
}
/**
* True if has "style" attribute
*/
@Override
public boolean isSetStyle() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[1]) != null;
}
}
/**
* Sets the "style" attribute
*/
@Override
public void setStyle(java.lang.String style) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[1]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[1]);
}
target.setStringValue(style);
}
}
/**
* Sets (as xml) the "style" attribute
*/
@Override
public void xsetStyle(org.apache.xmlbeans.XmlString style) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[1]);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(PROPERTY_QNAME[1]);
}
target.set(style);
}
}
/**
* Unsets the "style" attribute
*/
@Override
public void unsetStyle() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[1]);
}
}
/**
* Gets the "on" attribute
*/
@Override
public org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum getOn() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[2]);
return (target == null) ? null : (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "on" attribute
*/
@Override
public org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse xgetOn() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().find_attribute_user(PROPERTY_QNAME[2]);
return target;
}
}
/**
* True if has "on" attribute
*/
@Override
public boolean isSetOn() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[2]) != null;
}
}
/**
* Sets the "on" attribute
*/
@Override
public void setOn(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum on) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[2]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[2]);
}
target.setEnumValue(on);
}
}
/**
* Sets (as xml) the "on" attribute
*/
@Override
public void xsetOn(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse on) {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().find_attribute_user(PROPERTY_QNAME[2]);
if (target == null) {
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().add_attribute_user(PROPERTY_QNAME[2]);
}
target.set(on);
}
}
/**
* Unsets the "on" attribute
*/
@Override
public void unsetOn() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[2]);
}
}
/**
* Gets the "fitshape" attribute
*/
@Override
public org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum getFitshape() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[3]);
return (target == null) ? null : (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "fitshape" attribute
*/
@Override
public org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse xgetFitshape() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().find_attribute_user(PROPERTY_QNAME[3]);
return target;
}
}
/**
* True if has "fitshape" attribute
*/
@Override
public boolean isSetFitshape() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[3]) != null;
}
}
/**
* Sets the "fitshape" attribute
*/
@Override
public void setFitshape(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum fitshape) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[3]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[3]);
}
target.setEnumValue(fitshape);
}
}
/**
* Sets (as xml) the "fitshape" attribute
*/
@Override
public void xsetFitshape(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse fitshape) {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().find_attribute_user(PROPERTY_QNAME[3]);
if (target == null) {
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().add_attribute_user(PROPERTY_QNAME[3]);
}
target.set(fitshape);
}
}
/**
* Unsets the "fitshape" attribute
*/
@Override
public void unsetFitshape() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[3]);
}
}
/**
* Gets the "fitpath" attribute
*/
@Override
public org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum getFitpath() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[4]);
return (target == null) ? null : (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "fitpath" attribute
*/
@Override
public org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse xgetFitpath() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().find_attribute_user(PROPERTY_QNAME[4]);
return target;
}
}
/**
* True if has "fitpath" attribute
*/
@Override
public boolean isSetFitpath() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[4]) != null;
}
}
/**
* Sets the "fitpath" attribute
*/
@Override
public void setFitpath(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum fitpath) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[4]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[4]);
}
target.setEnumValue(fitpath);
}
}
/**
* Sets (as xml) the "fitpath" attribute
*/
@Override
public void xsetFitpath(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse fitpath) {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().find_attribute_user(PROPERTY_QNAME[4]);
if (target == null) {
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().add_attribute_user(PROPERTY_QNAME[4]);
}
target.set(fitpath);
}
}
/**
* Unsets the "fitpath" attribute
*/
@Override
public void unsetFitpath() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[4]);
}
}
/**
* Gets the "trim" attribute
*/
@Override
public org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum getTrim() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[5]);
return (target == null) ? null : (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "trim" attribute
*/
@Override
public org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse xgetTrim() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().find_attribute_user(PROPERTY_QNAME[5]);
return target;
}
}
/**
* True if has "trim" attribute
*/
@Override
public boolean isSetTrim() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[5]) != null;
}
}
/**
* Sets the "trim" attribute
*/
@Override
public void setTrim(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum trim) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[5]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[5]);
}
target.setEnumValue(trim);
}
}
/**
* Sets (as xml) the "trim" attribute
*/
@Override
public void xsetTrim(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse trim) {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().find_attribute_user(PROPERTY_QNAME[5]);
if (target == null) {
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().add_attribute_user(PROPERTY_QNAME[5]);
}
target.set(trim);
}
}
/**
* Unsets the "trim" attribute
*/
@Override
public void unsetTrim() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[5]);
}
}
/**
* Gets the "xscale" attribute
*/
@Override
public org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum getXscale() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[6]);
return (target == null) ? null : (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "xscale" attribute
*/
@Override
public org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse xgetXscale() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().find_attribute_user(PROPERTY_QNAME[6]);
return target;
}
}
/**
* True if has "xscale" attribute
*/
@Override
public boolean isSetXscale() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[6]) != null;
}
}
/**
* Sets the "xscale" attribute
*/
@Override
public void setXscale(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse.Enum xscale) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[6]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[6]);
}
target.setEnumValue(xscale);
}
}
/**
* Sets (as xml) the "xscale" attribute
*/
@Override
public void xsetXscale(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse xscale) {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().find_attribute_user(PROPERTY_QNAME[6]);
if (target == null) {
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse)get_store().add_attribute_user(PROPERTY_QNAME[6]);
}
target.set(xscale);
}
}
/**
* Unsets the "xscale" attribute
*/
@Override
public void unsetXscale() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[6]);
}
}
/**
* Gets the "string" attribute
*/
@Override
public java.lang.String getString() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[7]);
return (target == null) ? null : target.getStringValue();
}
}
/**
* Gets (as xml) the "string" attribute
*/
@Override
public org.apache.xmlbeans.XmlString xgetString() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[7]);
return target;
}
}
/**
* True if has "string" attribute
*/
@Override
public boolean isSetString() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[7]) != null;
}
}
/**
* Sets the "string" attribute
*/
@Override
public void setString(java.lang.String string) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[7]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[7]);
}
target.setStringValue(string);
}
}
/**
* Sets (as xml) the "string" attribute
*/
@Override
public void xsetString(org.apache.xmlbeans.XmlString string) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[7]);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(PROPERTY_QNAME[7]);
}
target.set(string);
}
}
/**
* Unsets the "string" attribute
*/
@Override
public void unsetString() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[7]);
}
}
}