All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTMarkupRangeImpl Maven / Gradle / Ivy

/*
 * XML Type:  CT_MarkupRange
 * Namespace: http://schemas.openxmlformats.org/wordprocessingml/2006/main
 * Java type: org.openxmlformats.schemas.wordprocessingml.x2006.main.CTMarkupRange
 *
 * Automatically generated - do not modify.
 */
package org.openxmlformats.schemas.wordprocessingml.x2006.main.impl;
/**
 * An XML CT_MarkupRange(@http://schemas.openxmlformats.org/wordprocessingml/2006/main).
 *
 * This is a complex type.
 */
public class CTMarkupRangeImpl extends org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTMarkupImpl implements org.openxmlformats.schemas.wordprocessingml.x2006.main.CTMarkupRange {
    private static final long serialVersionUID = 1L;
    
    public CTMarkupRangeImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName DISPLACEDBYCUSTOMXML$0 = 
        new javax.xml.namespace.QName("http://schemas.openxmlformats.org/wordprocessingml/2006/main", "displacedByCustomXml");
    
    
    /**
     * Gets the "displacedByCustomXml" attribute
     */
    public org.openxmlformats.schemas.wordprocessingml.x2006.main.STDisplacedByCustomXml.Enum getDisplacedByCustomXml() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DISPLACEDBYCUSTOMXML$0);
            if (target == null) {
                return null;
            }
            return (org.openxmlformats.schemas.wordprocessingml.x2006.main.STDisplacedByCustomXml.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "displacedByCustomXml" attribute
     */
    public org.openxmlformats.schemas.wordprocessingml.x2006.main.STDisplacedByCustomXml xgetDisplacedByCustomXml() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.wordprocessingml.x2006.main.STDisplacedByCustomXml target = null;
            target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STDisplacedByCustomXml)get_store().find_attribute_user(DISPLACEDBYCUSTOMXML$0);
            return target;
        }
    }
    
    /**
     * True if has "displacedByCustomXml" attribute
     */
    public boolean isSetDisplacedByCustomXml() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(DISPLACEDBYCUSTOMXML$0) != null;
        }
    }
    
    /**
     * Sets the "displacedByCustomXml" attribute
     */
    public void setDisplacedByCustomXml(org.openxmlformats.schemas.wordprocessingml.x2006.main.STDisplacedByCustomXml.Enum displacedByCustomXml) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DISPLACEDBYCUSTOMXML$0);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DISPLACEDBYCUSTOMXML$0);
            }
            target.setEnumValue(displacedByCustomXml);
        }
    }
    
    /**
     * Sets (as xml) the "displacedByCustomXml" attribute
     */
    public void xsetDisplacedByCustomXml(org.openxmlformats.schemas.wordprocessingml.x2006.main.STDisplacedByCustomXml displacedByCustomXml) {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.wordprocessingml.x2006.main.STDisplacedByCustomXml target = null;
            target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STDisplacedByCustomXml)get_store().find_attribute_user(DISPLACEDBYCUSTOMXML$0);
            if (target == null) {
                target = (org.openxmlformats.schemas.wordprocessingml.x2006.main.STDisplacedByCustomXml)get_store().add_attribute_user(DISPLACEDBYCUSTOMXML$0);
            }
            target.set(displacedByCustomXml);
        }
    }
    
    /**
     * Unsets the "displacedByCustomXml" attribute
     */
    public void unsetDisplacedByCustomXml() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(DISPLACEDBYCUSTOMXML$0);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy