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

com.microsoft.schemas.office.office.impl.CTEquationXmlImpl 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_EquationXml
 * Namespace: urn:schemas-microsoft-com:office:office
 * Java type: com.microsoft.schemas.office.office.CTEquationXml
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.office.impl;

import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;

/**
 * An XML CT_EquationXml(@urn:schemas-microsoft-com:office:office).
 *
 * This is a complex type.
 */
public class CTEquationXmlImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.office.CTEquationXml {
    private static final long serialVersionUID = 1L;

    public CTEquationXmlImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }

    private static final QName[] PROPERTY_QNAME = {
        new QName("", "contentType"),
    };


    /**
     * Gets the "contentType" attribute
     */
    @Override
    public java.lang.String getContentType() {
        synchronized (monitor()) {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[0]);
            return (target == null) ? null : target.getStringValue();
        }
    }

    /**
     * Gets (as xml) the "contentType" attribute
     */
    @Override
    public com.microsoft.schemas.office.office.STAlternateMathContentType xgetContentType() {
        synchronized (monitor()) {
            check_orphaned();
            com.microsoft.schemas.office.office.STAlternateMathContentType target = null;
            target = (com.microsoft.schemas.office.office.STAlternateMathContentType)get_store().find_attribute_user(PROPERTY_QNAME[0]);
            return target;
        }
    }

    /**
     * True if has "contentType" attribute
     */
    @Override
    public boolean isSetContentType() {
        synchronized (monitor()) {
            check_orphaned();
            return get_store().find_attribute_user(PROPERTY_QNAME[0]) != null;
        }
    }

    /**
     * Sets the "contentType" attribute
     */
    @Override
    public void setContentType(java.lang.String contentType) {
        synchronized (monitor()) {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[0]);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[0]);
            }
            target.setStringValue(contentType);
        }
    }

    /**
     * Sets (as xml) the "contentType" attribute
     */
    @Override
    public void xsetContentType(com.microsoft.schemas.office.office.STAlternateMathContentType contentType) {
        synchronized (monitor()) {
            check_orphaned();
            com.microsoft.schemas.office.office.STAlternateMathContentType target = null;
            target = (com.microsoft.schemas.office.office.STAlternateMathContentType)get_store().find_attribute_user(PROPERTY_QNAME[0]);
            if (target == null) {
                target = (com.microsoft.schemas.office.office.STAlternateMathContentType)get_store().add_attribute_user(PROPERTY_QNAME[0]);
            }
            target.set(contentType);
        }
    }

    /**
     * Unsets the "contentType" attribute
     */
    @Override
    public void unsetContentType() {
        synchronized (monitor()) {
            check_orphaned();
            get_store().remove_attribute(PROPERTY_QNAME[0]);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy