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

com.microsoft.schemas.office.word.impl.BordertopDocumentImpl 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: bordertop
 * Namespace: urn:schemas-microsoft-com:office:word
 * Java type: com.microsoft.schemas.office.word.BordertopDocument
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.word.impl;
/**
 * A document containing one bordertop(@urn:schemas-microsoft-com:office:word) element.
 *
 * This is a complex type.
 */
public class BordertopDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.word.BordertopDocument
{
    
    public BordertopDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName BORDERTOP$0 = 
        new javax.xml.namespace.QName("urn:schemas-microsoft-com:office:word", "bordertop");
    
    
    /**
     * Gets the "bordertop" element
     */
    public com.microsoft.schemas.office.word.CTBorder getBordertop()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.word.CTBorder target = null;
            target = (com.microsoft.schemas.office.word.CTBorder)get_store().find_element_user(BORDERTOP$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "bordertop" element
     */
    public void setBordertop(com.microsoft.schemas.office.word.CTBorder bordertop)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.word.CTBorder target = null;
            target = (com.microsoft.schemas.office.word.CTBorder)get_store().find_element_user(BORDERTOP$0, 0);
            if (target == null)
            {
                target = (com.microsoft.schemas.office.word.CTBorder)get_store().add_element_user(BORDERTOP$0);
            }
            target.set(bordertop);
        }
    }
    
    /**
     * Appends and returns a new empty "bordertop" element
     */
    public com.microsoft.schemas.office.word.CTBorder addNewBordertop()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.word.CTBorder target = null;
            target = (com.microsoft.schemas.office.word.CTBorder)get_store().add_element_user(BORDERTOP$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy