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

org.openxmlformats.schemas.xpackage.x2006.contentTypes.impl.CTDefaultImpl Maven / Gradle / Ivy

Go to download

XmlBeans generated from various supplied xsds for encryption and signing: http://msdn.microsoft.com/en-us/library/dd925810(v=office.12).aspx http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd http://uri.etsi.org/01903/v1.3.2/XAdES.xsd http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcterms.xsd http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcmitype.xsd

The newest version!
/*
 * XML Type:  CT_Default
 * Namespace: http://schemas.openxmlformats.org/package/2006/content-types
 * Java type: org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTDefault
 *
 * Automatically generated - do not modify.
 */
package org.openxmlformats.schemas.xpackage.x2006.contentTypes.impl;
/**
 * An XML CT_Default(@http://schemas.openxmlformats.org/package/2006/content-types).
 *
 * This is a complex type.
 */
public class CTDefaultImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.xpackage.x2006.contentTypes.CTDefault
{
    
    public CTDefaultImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName EXTENSION$0 = 
        new javax.xml.namespace.QName("", "Extension");
    private static final javax.xml.namespace.QName CONTENTTYPE$2 = 
        new javax.xml.namespace.QName("", "ContentType");
    
    
    /**
     * Gets the "Extension" attribute
     */
    public java.lang.String getExtension()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXTENSION$0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "Extension" attribute
     */
    public org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension xgetExtension()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension target = null;
            target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension)get_store().find_attribute_user(EXTENSION$0);
            return target;
        }
    }
    
    /**
     * Sets the "Extension" attribute
     */
    public void setExtension(java.lang.String extension)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXTENSION$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(EXTENSION$0);
            }
            target.setStringValue(extension);
        }
    }
    
    /**
     * Sets (as xml) the "Extension" attribute
     */
    public void xsetExtension(org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension extension)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension target = null;
            target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension)get_store().find_attribute_user(EXTENSION$0);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.STExtension)get_store().add_attribute_user(EXTENSION$0);
            }
            target.set(extension);
        }
    }
    
    /**
     * Gets the "ContentType" attribute
     */
    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(CONTENTTYPE$2);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "ContentType" attribute
     */
    public org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType xgetContentType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType target = null;
            target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType)get_store().find_attribute_user(CONTENTTYPE$2);
            return target;
        }
    }
    
    /**
     * Sets the "ContentType" attribute
     */
    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(CONTENTTYPE$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CONTENTTYPE$2);
            }
            target.setStringValue(contentType);
        }
    }
    
    /**
     * Sets (as xml) the "ContentType" attribute
     */
    public void xsetContentType(org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType contentType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType target = null;
            target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType)get_store().find_attribute_user(CONTENTTYPE$2);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.xpackage.x2006.contentTypes.STContentType)get_store().add_attribute_user(CONTENTTYPE$2);
            }
            target.set(contentType);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy