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

com.microsoft.schemas.office.office.impl.InkDocumentImpl 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

There is a newer version: 1.4
Show newest version
/*
 * An XML document type.
 * Localname: ink
 * Namespace: urn:schemas-microsoft-com:office:office
 * Java type: com.microsoft.schemas.office.office.InkDocument
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.office.impl;
/**
 * A document containing one ink(@urn:schemas-microsoft-com:office:office) element.
 *
 * This is a complex type.
 */
public class InkDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.office.InkDocument
{
    
    public InkDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName INK$0 = 
        new javax.xml.namespace.QName("urn:schemas-microsoft-com:office:office", "ink");
    
    
    /**
     * Gets the "ink" element
     */
    public com.microsoft.schemas.office.office.CTInk getInk()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.office.CTInk target = null;
            target = (com.microsoft.schemas.office.office.CTInk)get_store().find_element_user(INK$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "ink" element
     */
    public void setInk(com.microsoft.schemas.office.office.CTInk ink)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.office.CTInk target = null;
            target = (com.microsoft.schemas.office.office.CTInk)get_store().find_element_user(INK$0, 0);
            if (target == null)
            {
                target = (com.microsoft.schemas.office.office.CTInk)get_store().add_element_user(INK$0);
            }
            target.set(ink);
        }
    }
    
    /**
     * Appends and returns a new empty "ink" element
     */
    public com.microsoft.schemas.office.office.CTInk addNewInk()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.office.CTInk target = null;
            target = (com.microsoft.schemas.office.office.CTInk)get_store().add_element_user(INK$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy