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

org.openxmlformats.schemas.xpackage.x2006.relationships.impl.RelationshipsDocumentImpl 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!
/*
 * An XML document type.
 * Localname: Relationships
 * Namespace: http://schemas.openxmlformats.org/package/2006/relationships
 * Java type: org.openxmlformats.schemas.xpackage.x2006.relationships.RelationshipsDocument
 *
 * Automatically generated - do not modify.
 */
package org.openxmlformats.schemas.xpackage.x2006.relationships.impl;
/**
 * A document containing one Relationships(@http://schemas.openxmlformats.org/package/2006/relationships) element.
 *
 * This is a complex type.
 */
public class RelationshipsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.xpackage.x2006.relationships.RelationshipsDocument
{
    
    public RelationshipsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName RELATIONSHIPS$0 = 
        new javax.xml.namespace.QName("http://schemas.openxmlformats.org/package/2006/relationships", "Relationships");
    
    
    /**
     * Gets the "Relationships" element
     */
    public org.openxmlformats.schemas.xpackage.x2006.relationships.CTRelationships getRelationships()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.xpackage.x2006.relationships.CTRelationships target = null;
            target = (org.openxmlformats.schemas.xpackage.x2006.relationships.CTRelationships)get_store().find_element_user(RELATIONSHIPS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Relationships" element
     */
    public void setRelationships(org.openxmlformats.schemas.xpackage.x2006.relationships.CTRelationships relationships)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.xpackage.x2006.relationships.CTRelationships target = null;
            target = (org.openxmlformats.schemas.xpackage.x2006.relationships.CTRelationships)get_store().find_element_user(RELATIONSHIPS$0, 0);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.xpackage.x2006.relationships.CTRelationships)get_store().add_element_user(RELATIONSHIPS$0);
            }
            target.set(relationships);
        }
    }
    
    /**
     * Appends and returns a new empty "Relationships" element
     */
    public org.openxmlformats.schemas.xpackage.x2006.relationships.CTRelationships addNewRelationships()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.xpackage.x2006.relationships.CTRelationships target = null;
            target = (org.openxmlformats.schemas.xpackage.x2006.relationships.CTRelationships)get_store().add_element_user(RELATIONSHIPS$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy