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

org.xmlsoap.schemas.soap.encoding.impl.QNameDocumentImpl Maven / Gradle / Ivy

There is a newer version: 0.14
Show newest version
/*
 * An XML document type.
 * Localname: QName
 * Namespace: http://schemas.xmlsoap.org/soap/encoding/
 * Java type: org.xmlsoap.schemas.soap.encoding.QNameDocument
 *
 * Automatically generated - do not modify.
 */
package org.xmlsoap.schemas.soap.encoding.impl;
/**
 * A document containing one QName(@http://schemas.xmlsoap.org/soap/encoding/) element.
 *
 * This is a complex type.
 */
public class QNameDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.xmlsoap.schemas.soap.encoding.QNameDocument
{
    
    public QNameDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName QNAME$0 = 
        new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "QName");
    
    
    /**
     * Gets the "QName" element
     */
    public org.xmlsoap.schemas.soap.encoding.QName getQName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.xmlsoap.schemas.soap.encoding.QName target = null;
            target = (org.xmlsoap.schemas.soap.encoding.QName)get_store().find_element_user(QNAME$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "QName" element
     */
    public void setQName(org.xmlsoap.schemas.soap.encoding.QName qName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.xmlsoap.schemas.soap.encoding.QName target = null;
            target = (org.xmlsoap.schemas.soap.encoding.QName)get_store().find_element_user(QNAME$0, 0);
            if (target == null)
            {
                target = (org.xmlsoap.schemas.soap.encoding.QName)get_store().add_element_user(QNAME$0);
            }
            target.set(qName);
        }
    }
    
    /**
     * Appends and returns a new empty "QName" element
     */
    public org.xmlsoap.schemas.soap.encoding.QName addNewQName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.xmlsoap.schemas.soap.encoding.QName target = null;
            target = (org.xmlsoap.schemas.soap.encoding.QName)get_store().add_element_user(QNAME$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy