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

org.example.wsHT.api.xsd.impl.XMLGetRenderingDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: getRendering
 * Namespace: http://www.example.org/WS-HT/api/xsd
 * Java type: org.example.wsHT.api.xsd.XMLGetRenderingDocument
 *
 * Automatically generated - do not modify.
 */
package org.example.wsHT.api.xsd.impl;
/**
 * A document containing one getRendering(@http://www.example.org/WS-HT/api/xsd) element.
 *
 * This is a complex type.
 */
public class XMLGetRenderingDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetRenderingDocument
{
    private static final long serialVersionUID = 1L;
    
    public XMLGetRenderingDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName GETRENDERING$0 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "getRendering");
    
    
    /**
     * Gets the "getRendering" element
     */
    public org.example.wsHT.api.xsd.XMLGetRenderingDocument.GetRendering getGetRendering()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetRenderingDocument.GetRendering target = null;
            target = (org.example.wsHT.api.xsd.XMLGetRenderingDocument.GetRendering)get_store().find_element_user(GETRENDERING$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "getRendering" element
     */
    public void setGetRendering(org.example.wsHT.api.xsd.XMLGetRenderingDocument.GetRendering getRendering)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetRenderingDocument.GetRendering target = null;
            target = (org.example.wsHT.api.xsd.XMLGetRenderingDocument.GetRendering)get_store().find_element_user(GETRENDERING$0, 0);
            if (target == null)
            {
                target = (org.example.wsHT.api.xsd.XMLGetRenderingDocument.GetRendering)get_store().add_element_user(GETRENDERING$0);
            }
            target.set(getRendering);
        }
    }
    
    /**
     * Appends and returns a new empty "getRendering" element
     */
    public org.example.wsHT.api.xsd.XMLGetRenderingDocument.GetRendering addNewGetRendering()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetRenderingDocument.GetRendering target = null;
            target = (org.example.wsHT.api.xsd.XMLGetRenderingDocument.GetRendering)get_store().add_element_user(GETRENDERING$0);
            return target;
        }
    }
    /**
     * An XML getRendering(@http://www.example.org/WS-HT/api/xsd).
     *
     * This is a complex type.
     */
    public static class GetRenderingImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetRenderingDocument.GetRendering
    {
        private static final long serialVersionUID = 1L;
        
        public GetRenderingImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName IDENTIFIER$0 = 
            new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "identifier");
        private static final javax.xml.namespace.QName RENDERINGTYPE$2 = 
            new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "renderingType");
        
        
        /**
         * Gets the "identifier" element
         */
        public org.apache.xmlbeans.XmlObject getIdentifier()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlObject target = null;
                target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(IDENTIFIER$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "identifier" element
         */
        public void setIdentifier(org.apache.xmlbeans.XmlObject identifier)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlObject target = null;
                target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(IDENTIFIER$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(IDENTIFIER$0);
                }
                target.set(identifier);
            }
        }
        
        /**
         * Appends and returns a new empty "identifier" element
         */
        public org.apache.xmlbeans.XmlObject addNewIdentifier()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlObject target = null;
                target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(IDENTIFIER$0);
                return target;
            }
        }
        
        /**
         * Gets the "renderingType" element
         */
        public javax.xml.namespace.QName getRenderingType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RENDERINGTYPE$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getQNameValue();
            }
        }
        
        /**
         * Gets (as xml) the "renderingType" element
         */
        public org.apache.xmlbeans.XmlQName xgetRenderingType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlQName target = null;
                target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(RENDERINGTYPE$2, 0);
                return target;
            }
        }
        
        /**
         * Sets the "renderingType" element
         */
        public void setRenderingType(javax.xml.namespace.QName renderingType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RENDERINGTYPE$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RENDERINGTYPE$2);
                }
                target.setQNameValue(renderingType);
            }
        }
        
        /**
         * Sets (as xml) the "renderingType" element
         */
        public void xsetRenderingType(org.apache.xmlbeans.XmlQName renderingType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlQName target = null;
                target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(RENDERINGTYPE$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(RENDERINGTYPE$2);
                }
                target.set(renderingType);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy