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

com.microsoft.schemas.office.office.impl.CTShapeLayoutImpl Maven / Gradle / Ivy

Go to download

XmlBeans generated from the Ecma supplied xsds (since POI 5.0.0, the 5th edition is used): https://www.ecma-international.org/publications/standards/Ecma-376.htm

There is a newer version: 5.2.5
Show newest version
/*
 * XML Type:  CT_ShapeLayout
 * Namespace: urn:schemas-microsoft-com:office:office
 * Java type: com.microsoft.schemas.office.office.CTShapeLayout
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.office.impl;
/**
 * An XML CT_ShapeLayout(@urn:schemas-microsoft-com:office:office).
 *
 * This is a complex type.
 */
public class CTShapeLayoutImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.office.CTShapeLayout {
    private static final long serialVersionUID = 1L;
    
    public CTShapeLayoutImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName IDMAP$0 = 
        new javax.xml.namespace.QName("urn:schemas-microsoft-com:office:office", "idmap");
    private static final javax.xml.namespace.QName REGROUPTABLE$2 = 
        new javax.xml.namespace.QName("urn:schemas-microsoft-com:office:office", "regrouptable");
    private static final javax.xml.namespace.QName RULES$4 = 
        new javax.xml.namespace.QName("urn:schemas-microsoft-com:office:office", "rules");
    private static final javax.xml.namespace.QName EXT$6 = 
        new javax.xml.namespace.QName("urn:schemas-microsoft-com:vml", "ext");
    
    
    /**
     * Gets the "idmap" element
     */
    public com.microsoft.schemas.office.office.CTIdMap getIdmap() {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.office.CTIdMap target = null;
            target = (com.microsoft.schemas.office.office.CTIdMap)get_store().find_element_user(IDMAP$0, 0);
            if (target == null) {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "idmap" element
     */
    public boolean isSetIdmap() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(IDMAP$0) != 0;
        }
    }
    
    /**
     * Sets the "idmap" element
     */
    public void setIdmap(com.microsoft.schemas.office.office.CTIdMap idmap) {
        generatedSetterHelperImpl(idmap, IDMAP$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "idmap" element
     */
    public com.microsoft.schemas.office.office.CTIdMap addNewIdmap() {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.office.CTIdMap target = null;
            target = (com.microsoft.schemas.office.office.CTIdMap)get_store().add_element_user(IDMAP$0);
            return target;
        }
    }
    
    /**
     * Unsets the "idmap" element
     */
    public void unsetIdmap() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(IDMAP$0, 0);
        }
    }
    
    /**
     * Gets the "regrouptable" element
     */
    public com.microsoft.schemas.office.office.CTRegroupTable getRegrouptable() {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.office.CTRegroupTable target = null;
            target = (com.microsoft.schemas.office.office.CTRegroupTable)get_store().find_element_user(REGROUPTABLE$2, 0);
            if (target == null) {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "regrouptable" element
     */
    public boolean isSetRegrouptable() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(REGROUPTABLE$2) != 0;
        }
    }
    
    /**
     * Sets the "regrouptable" element
     */
    public void setRegrouptable(com.microsoft.schemas.office.office.CTRegroupTable regrouptable) {
        generatedSetterHelperImpl(regrouptable, REGROUPTABLE$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "regrouptable" element
     */
    public com.microsoft.schemas.office.office.CTRegroupTable addNewRegrouptable() {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.office.CTRegroupTable target = null;
            target = (com.microsoft.schemas.office.office.CTRegroupTable)get_store().add_element_user(REGROUPTABLE$2);
            return target;
        }
    }
    
    /**
     * Unsets the "regrouptable" element
     */
    public void unsetRegrouptable() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(REGROUPTABLE$2, 0);
        }
    }
    
    /**
     * Gets the "rules" element
     */
    public com.microsoft.schemas.office.office.CTRules getRules() {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.office.CTRules target = null;
            target = (com.microsoft.schemas.office.office.CTRules)get_store().find_element_user(RULES$4, 0);
            if (target == null) {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "rules" element
     */
    public boolean isSetRules() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(RULES$4) != 0;
        }
    }
    
    /**
     * Sets the "rules" element
     */
    public void setRules(com.microsoft.schemas.office.office.CTRules rules) {
        generatedSetterHelperImpl(rules, RULES$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "rules" element
     */
    public com.microsoft.schemas.office.office.CTRules addNewRules() {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.office.CTRules target = null;
            target = (com.microsoft.schemas.office.office.CTRules)get_store().add_element_user(RULES$4);
            return target;
        }
    }
    
    /**
     * Unsets the "rules" element
     */
    public void unsetRules() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(RULES$4, 0);
        }
    }
    
    /**
     * Gets the "ext" attribute
     */
    public com.microsoft.schemas.vml.STExt.Enum getExt() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXT$6);
            if (target == null) {
                return null;
            }
            return (com.microsoft.schemas.vml.STExt.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "ext" attribute
     */
    public com.microsoft.schemas.vml.STExt xgetExt() {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.vml.STExt target = null;
            target = (com.microsoft.schemas.vml.STExt)get_store().find_attribute_user(EXT$6);
            return target;
        }
    }
    
    /**
     * True if has "ext" attribute
     */
    public boolean isSetExt() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(EXT$6) != null;
        }
    }
    
    /**
     * Sets the "ext" attribute
     */
    public void setExt(com.microsoft.schemas.vml.STExt.Enum ext) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXT$6);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(EXT$6);
            }
            target.setEnumValue(ext);
        }
    }
    
    /**
     * Sets (as xml) the "ext" attribute
     */
    public void xsetExt(com.microsoft.schemas.vml.STExt ext) {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.vml.STExt target = null;
            target = (com.microsoft.schemas.vml.STExt)get_store().find_attribute_user(EXT$6);
            if (target == null) {
                target = (com.microsoft.schemas.vml.STExt)get_store().add_attribute_user(EXT$6);
            }
            target.set(ext);
        }
    }
    
    /**
     * Unsets the "ext" attribute
     */
    public void unsetExt() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(EXT$6);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy