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

org.w3.ns.wsPolicy.impl.AllDocumentImpl Maven / Gradle / Ivy

There is a newer version: 4.5.69
Show newest version
/*
 * An XML document type.
 * Localname: All
 * Namespace: http://www.w3.org/ns/ws-policy
 * Java type: org.w3.ns.wsPolicy.AllDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.ns.wsPolicy.impl;
/**
 * A document containing one All(@http://www.w3.org/ns/ws-policy) element.
 *
 * This is a complex type.
 */
public class AllDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.ns.wsPolicy.AllDocument
{
    private static final long serialVersionUID = 1L;
    
    public AllDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ALL$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/ns/ws-policy", "All");
    
    
    /**
     * Gets the "All" element
     */
    public org.w3.ns.wsPolicy.OperatorContentType getAll()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.ns.wsPolicy.OperatorContentType target = null;
            target = (org.w3.ns.wsPolicy.OperatorContentType)get_store().find_element_user(ALL$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "All" element
     */
    public void setAll(org.w3.ns.wsPolicy.OperatorContentType all)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.ns.wsPolicy.OperatorContentType target = null;
            target = (org.w3.ns.wsPolicy.OperatorContentType)get_store().find_element_user(ALL$0, 0);
            if (target == null)
            {
                target = (org.w3.ns.wsPolicy.OperatorContentType)get_store().add_element_user(ALL$0);
            }
            target.set(all);
        }
    }
    
    /**
     * Appends and returns a new empty "All" element
     */
    public org.w3.ns.wsPolicy.OperatorContentType addNewAll()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.ns.wsPolicy.OperatorContentType target = null;
            target = (org.w3.ns.wsPolicy.OperatorContentType)get_store().add_element_user(ALL$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy