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

com.microsoft.schemas.office.word.impl.CTWrapImpl Maven / Gradle / Ivy

Go to download

The Apache Commons Codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also maintains a collection of phonetic encoding utilities.

There is a newer version: 62
Show newest version
/*
 * XML Type:  CT_Wrap
 * Namespace: urn:schemas-microsoft-com:office:word
 * Java type: com.microsoft.schemas.office.word.CTWrap
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.word.impl;
/**
 * An XML CT_Wrap(@urn:schemas-microsoft-com:office:word).
 *
 * This is a complex type.
 */
public class CTWrapImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.word.CTWrap {
    private static final long serialVersionUID = 1L;
    
    public CTWrapImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TYPE$0 = 
        new javax.xml.namespace.QName("", "type");
    private static final javax.xml.namespace.QName SIDE$2 = 
        new javax.xml.namespace.QName("", "side");
    private static final javax.xml.namespace.QName ANCHORX$4 = 
        new javax.xml.namespace.QName("", "anchorx");
    private static final javax.xml.namespace.QName ANCHORY$6 = 
        new javax.xml.namespace.QName("", "anchory");
    
    
    /**
     * Gets the "type" attribute
     */
    public com.microsoft.schemas.office.word.STWrapType.Enum getType() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$0);
            if (target == null) {
                return null;
            }
            return (com.microsoft.schemas.office.word.STWrapType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "type" attribute
     */
    public com.microsoft.schemas.office.word.STWrapType xgetType() {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.word.STWrapType target = null;
            target = (com.microsoft.schemas.office.word.STWrapType)get_store().find_attribute_user(TYPE$0);
            return target;
        }
    }
    
    /**
     * True if has "type" attribute
     */
    public boolean isSetType() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(TYPE$0) != null;
        }
    }
    
    /**
     * Sets the "type" attribute
     */
    public void setType(com.microsoft.schemas.office.word.STWrapType.Enum type) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$0);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TYPE$0);
            }
            target.setEnumValue(type);
        }
    }
    
    /**
     * Sets (as xml) the "type" attribute
     */
    public void xsetType(com.microsoft.schemas.office.word.STWrapType type) {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.word.STWrapType target = null;
            target = (com.microsoft.schemas.office.word.STWrapType)get_store().find_attribute_user(TYPE$0);
            if (target == null) {
                target = (com.microsoft.schemas.office.word.STWrapType)get_store().add_attribute_user(TYPE$0);
            }
            target.set(type);
        }
    }
    
    /**
     * Unsets the "type" attribute
     */
    public void unsetType() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(TYPE$0);
        }
    }
    
    /**
     * Gets the "side" attribute
     */
    public com.microsoft.schemas.office.word.STWrapSide.Enum getSide() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SIDE$2);
            if (target == null) {
                return null;
            }
            return (com.microsoft.schemas.office.word.STWrapSide.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "side" attribute
     */
    public com.microsoft.schemas.office.word.STWrapSide xgetSide() {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.word.STWrapSide target = null;
            target = (com.microsoft.schemas.office.word.STWrapSide)get_store().find_attribute_user(SIDE$2);
            return target;
        }
    }
    
    /**
     * True if has "side" attribute
     */
    public boolean isSetSide() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(SIDE$2) != null;
        }
    }
    
    /**
     * Sets the "side" attribute
     */
    public void setSide(com.microsoft.schemas.office.word.STWrapSide.Enum side) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SIDE$2);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SIDE$2);
            }
            target.setEnumValue(side);
        }
    }
    
    /**
     * Sets (as xml) the "side" attribute
     */
    public void xsetSide(com.microsoft.schemas.office.word.STWrapSide side) {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.word.STWrapSide target = null;
            target = (com.microsoft.schemas.office.word.STWrapSide)get_store().find_attribute_user(SIDE$2);
            if (target == null) {
                target = (com.microsoft.schemas.office.word.STWrapSide)get_store().add_attribute_user(SIDE$2);
            }
            target.set(side);
        }
    }
    
    /**
     * Unsets the "side" attribute
     */
    public void unsetSide() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(SIDE$2);
        }
    }
    
    /**
     * Gets the "anchorx" attribute
     */
    public com.microsoft.schemas.office.word.STHorizontalAnchor.Enum getAnchorx() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ANCHORX$4);
            if (target == null) {
                return null;
            }
            return (com.microsoft.schemas.office.word.STHorizontalAnchor.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "anchorx" attribute
     */
    public com.microsoft.schemas.office.word.STHorizontalAnchor xgetAnchorx() {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.word.STHorizontalAnchor target = null;
            target = (com.microsoft.schemas.office.word.STHorizontalAnchor)get_store().find_attribute_user(ANCHORX$4);
            return target;
        }
    }
    
    /**
     * True if has "anchorx" attribute
     */
    public boolean isSetAnchorx() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(ANCHORX$4) != null;
        }
    }
    
    /**
     * Sets the "anchorx" attribute
     */
    public void setAnchorx(com.microsoft.schemas.office.word.STHorizontalAnchor.Enum anchorx) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ANCHORX$4);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ANCHORX$4);
            }
            target.setEnumValue(anchorx);
        }
    }
    
    /**
     * Sets (as xml) the "anchorx" attribute
     */
    public void xsetAnchorx(com.microsoft.schemas.office.word.STHorizontalAnchor anchorx) {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.word.STHorizontalAnchor target = null;
            target = (com.microsoft.schemas.office.word.STHorizontalAnchor)get_store().find_attribute_user(ANCHORX$4);
            if (target == null) {
                target = (com.microsoft.schemas.office.word.STHorizontalAnchor)get_store().add_attribute_user(ANCHORX$4);
            }
            target.set(anchorx);
        }
    }
    
    /**
     * Unsets the "anchorx" attribute
     */
    public void unsetAnchorx() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(ANCHORX$4);
        }
    }
    
    /**
     * Gets the "anchory" attribute
     */
    public com.microsoft.schemas.office.word.STVerticalAnchor.Enum getAnchory() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ANCHORY$6);
            if (target == null) {
                return null;
            }
            return (com.microsoft.schemas.office.word.STVerticalAnchor.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "anchory" attribute
     */
    public com.microsoft.schemas.office.word.STVerticalAnchor xgetAnchory() {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.word.STVerticalAnchor target = null;
            target = (com.microsoft.schemas.office.word.STVerticalAnchor)get_store().find_attribute_user(ANCHORY$6);
            return target;
        }
    }
    
    /**
     * True if has "anchory" attribute
     */
    public boolean isSetAnchory() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(ANCHORY$6) != null;
        }
    }
    
    /**
     * Sets the "anchory" attribute
     */
    public void setAnchory(com.microsoft.schemas.office.word.STVerticalAnchor.Enum anchory) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ANCHORY$6);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ANCHORY$6);
            }
            target.setEnumValue(anchory);
        }
    }
    
    /**
     * Sets (as xml) the "anchory" attribute
     */
    public void xsetAnchory(com.microsoft.schemas.office.word.STVerticalAnchor anchory) {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.word.STVerticalAnchor target = null;
            target = (com.microsoft.schemas.office.word.STVerticalAnchor)get_store().find_attribute_user(ANCHORY$6);
            if (target == null) {
                target = (com.microsoft.schemas.office.word.STVerticalAnchor)get_store().add_attribute_user(ANCHORY$6);
            }
            target.set(anchory);
        }
    }
    
    /**
     * Unsets the "anchory" attribute
     */
    public void unsetAnchory() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(ANCHORY$6);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy