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

org.coos.pluginXMLSchema.impl.PluginsDocumentImpl Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
/*
 * An XML document type.
 * Localname: plugins
 * Namespace: http://www.coos.org/PluginXMLSchema
 * Java type: org.coos.pluginXMLSchema.PluginsDocument
 *
 * Automatically generated - do not modify.
 */
package org.coos.pluginXMLSchema.impl;
/**
 * A document containing one plugins(@http://www.coos.org/PluginXMLSchema) element.
 *
 * This is a complex type.
 */
public class PluginsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.coos.pluginXMLSchema.PluginsDocument
{
    private static final long serialVersionUID = 1L;
    
    public PluginsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PLUGINS$0 = 
        new javax.xml.namespace.QName("http://www.coos.org/PluginXMLSchema", "plugins");
    
    
    /**
     * Gets the "plugins" element
     */
    public org.coos.pluginXMLSchema.PluginsType getPlugins()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.coos.pluginXMLSchema.PluginsType target = null;
            target = (org.coos.pluginXMLSchema.PluginsType)get_store().find_element_user(PLUGINS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "plugins" element
     */
    public void setPlugins(org.coos.pluginXMLSchema.PluginsType plugins)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.coos.pluginXMLSchema.PluginsType target = null;
            target = (org.coos.pluginXMLSchema.PluginsType)get_store().find_element_user(PLUGINS$0, 0);
            if (target == null)
            {
                target = (org.coos.pluginXMLSchema.PluginsType)get_store().add_element_user(PLUGINS$0);
            }
            target.set(plugins);
        }
    }
    
    /**
     * Appends and returns a new empty "plugins" element
     */
    public org.coos.pluginXMLSchema.PluginsType addNewPlugins()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.coos.pluginXMLSchema.PluginsType target = null;
            target = (org.coos.pluginXMLSchema.PluginsType)get_store().add_element_user(PLUGINS$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy