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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy