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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy