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

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

Go to download

XmlBeans generated from the Ecma supplied xsds: http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip

The newest version!
/*
 * XML Type:  CT_Ink
 * Namespace: urn:schemas-microsoft-com:office:office
 * Java type: com.microsoft.schemas.office.office.CTInk
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.office.impl;
/**
 * An XML CT_Ink(@urn:schemas-microsoft-com:office:office).
 *
 * This is a complex type.
 */
public class CTInkImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.office.CTInk
{
    private static final long serialVersionUID = 1L;
    
    public CTInkImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName I$0 = 
        new javax.xml.namespace.QName("", "i");
    private static final javax.xml.namespace.QName ANNOTATION$2 = 
        new javax.xml.namespace.QName("", "annotation");
    
    
    /**
     * Gets the "i" attribute
     */
    public byte[] getI()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(I$0);
            if (target == null)
            {
                return null;
            }
            return target.getByteArrayValue();
        }
    }
    
    /**
     * Gets (as xml) the "i" attribute
     */
    public org.apache.xmlbeans.XmlBase64Binary xgetI()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBase64Binary target = null;
            target = (org.apache.xmlbeans.XmlBase64Binary)get_store().find_attribute_user(I$0);
            return target;
        }
    }
    
    /**
     * True if has "i" attribute
     */
    public boolean isSetI()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(I$0) != null;
        }
    }
    
    /**
     * Sets the "i" attribute
     */
    public void setI(byte[] iValue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(I$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(I$0);
            }
            target.setByteArrayValue(iValue);
        }
    }
    
    /**
     * Sets (as xml) the "i" attribute
     */
    public void xsetI(org.apache.xmlbeans.XmlBase64Binary iValue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBase64Binary target = null;
            target = (org.apache.xmlbeans.XmlBase64Binary)get_store().find_attribute_user(I$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBase64Binary)get_store().add_attribute_user(I$0);
            }
            target.set(iValue);
        }
    }
    
    /**
     * Unsets the "i" attribute
     */
    public void unsetI()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(I$0);
        }
    }
    
    /**
     * Gets the "annotation" attribute
     */
    public com.microsoft.schemas.office.office.STTrueFalse.Enum getAnnotation()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ANNOTATION$2);
            if (target == null)
            {
                return null;
            }
            return (com.microsoft.schemas.office.office.STTrueFalse.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "annotation" attribute
     */
    public com.microsoft.schemas.office.office.STTrueFalse xgetAnnotation()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.office.STTrueFalse target = null;
            target = (com.microsoft.schemas.office.office.STTrueFalse)get_store().find_attribute_user(ANNOTATION$2);
            return target;
        }
    }
    
    /**
     * True if has "annotation" attribute
     */
    public boolean isSetAnnotation()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(ANNOTATION$2) != null;
        }
    }
    
    /**
     * Sets the "annotation" attribute
     */
    public void setAnnotation(com.microsoft.schemas.office.office.STTrueFalse.Enum annotation)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ANNOTATION$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ANNOTATION$2);
            }
            target.setEnumValue(annotation);
        }
    }
    
    /**
     * Sets (as xml) the "annotation" attribute
     */
    public void xsetAnnotation(com.microsoft.schemas.office.office.STTrueFalse annotation)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.office.STTrueFalse target = null;
            target = (com.microsoft.schemas.office.office.STTrueFalse)get_store().find_attribute_user(ANNOTATION$2);
            if (target == null)
            {
                target = (com.microsoft.schemas.office.office.STTrueFalse)get_store().add_attribute_user(ANNOTATION$2);
            }
            target.set(annotation);
        }
    }
    
    /**
     * Unsets the "annotation" attribute
     */
    public void unsetAnnotation()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(ANNOTATION$2);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy