/* * XML Type: CT_StringTag * Namespace: http://schemas.openxmlformats.org/presentationml/2006/main * Java type: org.openxmlformats.schemas.presentationml.x2006.main.CTStringTag * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.presentationml.x2006.main.impl; /** * An XML CT_StringTag(@http://schemas.openxmlformats.org/presentationml/2006/main). * * This is a complex type. */ public class CTStringTagImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.presentationml.x2006.main.CTStringTag { public CTStringTagImpl(org.apache.xmlbeans.SchemaType sType) { super(sType); } private static final javax.xml.namespace.QName NAME$0 = new javax.xml.namespace.QName("", "name"); private static final javax.xml.namespace.QName VAL$2 = new javax.xml.namespace.QName("", "val"); /** * Gets the "name" attribute */ public java.lang.String getName() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$0); if (target == null) { return null; } return target.getStringValue(); } } /** * Gets (as xml) the "name" attribute */ public org.apache.xmlbeans.XmlString xgetName() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlString target = null; target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$0); return target; } } /** * True if has "name" attribute */ public boolean isSetName() { synchronized (monitor()) { check_orphaned(); return get_store().find_attribute_user(NAME$0) != null; } } /** * Sets the "name" attribute */ public void setName(java.lang.String name) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$0); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$0); } target.setStringValue(name); } } /** * Sets (as xml) the "name" attribute */ public void xsetName(org.apache.xmlbeans.XmlString name) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlString target = null; target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$0); if (target == null) { target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(NAME$0); } target.set(name); } } /** * Unsets the "name" attribute */ public void unsetName() { synchronized (monitor()) { check_orphaned(); get_store().remove_attribute(NAME$0); } } /** * 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$2); if (target == null) { return null; } return target.getStringValue(); } } /** * Gets (as xml) the "val" attribute */ public org.apache.xmlbeans.XmlString xgetVal() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlString target = null; target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(VAL$2); return target; } } /** * True if has "val" attribute */ public boolean isSetVal() { synchronized (monitor()) { check_orphaned(); return get_store().find_attribute_user(VAL$2) != 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$2); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VAL$2); } target.setStringValue(val); } } /** * Sets (as xml) the "val" attribute */ public void xsetVal(org.apache.xmlbeans.XmlString val) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlString target = null; target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(VAL$2); if (target == null) { target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(VAL$2); } target.set(val); } } /** * Unsets the "val" attribute */ public void unsetVal() { synchronized (monitor()) { check_orphaned(); get_store().remove_attribute(VAL$2); } } }