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

net.zeroinstall.model.Group Maven / Gradle / Ivy

The newest version!
/*
 * XML Type:  group
 * Namespace: http://zero-install.sourceforge.net/2004/injector/interface
 * Java type: net.zeroinstall.model.Group
 *
 * Automatically generated - do not modify.
 */
package net.zeroinstall.model;


/**
 * An XML group(@http://zero-install.sourceforge.net/2004/injector/interface).
 *
 * This is a complex type.
 */
public interface Group extends net.zeroinstall.model.Element
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Group.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sF72DE8E096558840226C24CB76C3051D").resolveHandle("group1467type");
    
    /**
     * Gets array of all "binding" elements
     */
    net.zeroinstall.model.Binding[] getBindingArray();
    
    /**
     * Gets ith "binding" element
     */
    net.zeroinstall.model.Binding getBindingArray(int i);
    
    /**
     * Returns number of "binding" element
     */
    int sizeOfBindingArray();
    
    /**
     * Sets array of all "binding" element
     */
    void setBindingArray(net.zeroinstall.model.Binding[] bindingArray);
    
    /**
     * Sets ith "binding" element
     */
    void setBindingArray(int i, net.zeroinstall.model.Binding binding);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "binding" element
     */
    net.zeroinstall.model.Binding insertNewBinding(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "binding" element
     */
    net.zeroinstall.model.Binding addNewBinding();
    
    /**
     * Removes the ith "binding" element
     */
    void removeBinding(int i);
    
    /**
     * Gets array of all "environment" elements
     */
    net.zeroinstall.model.Environment[] getEnvironmentArray();
    
    /**
     * Gets ith "environment" element
     */
    net.zeroinstall.model.Environment getEnvironmentArray(int i);
    
    /**
     * Returns number of "environment" element
     */
    int sizeOfEnvironmentArray();
    
    /**
     * Sets array of all "environment" element
     */
    void setEnvironmentArray(net.zeroinstall.model.Environment[] environmentArray);
    
    /**
     * Sets ith "environment" element
     */
    void setEnvironmentArray(int i, net.zeroinstall.model.Environment environment);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "environment" element
     */
    net.zeroinstall.model.Environment insertNewEnvironment(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "environment" element
     */
    net.zeroinstall.model.Environment addNewEnvironment();
    
    /**
     * Removes the ith "environment" element
     */
    void removeEnvironment(int i);
    
    /**
     * Gets array of all "overlay" elements
     */
    net.zeroinstall.model.Overlay[] getOverlayArray();
    
    /**
     * Gets ith "overlay" element
     */
    net.zeroinstall.model.Overlay getOverlayArray(int i);
    
    /**
     * Returns number of "overlay" element
     */
    int sizeOfOverlayArray();
    
    /**
     * Sets array of all "overlay" element
     */
    void setOverlayArray(net.zeroinstall.model.Overlay[] overlayArray);
    
    /**
     * Sets ith "overlay" element
     */
    void setOverlayArray(int i, net.zeroinstall.model.Overlay overlay);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "overlay" element
     */
    net.zeroinstall.model.Overlay insertNewOverlay(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "overlay" element
     */
    net.zeroinstall.model.Overlay addNewOverlay();
    
    /**
     * Removes the ith "overlay" element
     */
    void removeOverlay(int i);
    
    /**
     * Gets array of all "executable-in-var" elements
     */
    net.zeroinstall.model.ExecutableInVar[] getExecutableInVarArray();
    
    /**
     * Gets ith "executable-in-var" element
     */
    net.zeroinstall.model.ExecutableInVar getExecutableInVarArray(int i);
    
    /**
     * Returns number of "executable-in-var" element
     */
    int sizeOfExecutableInVarArray();
    
    /**
     * Sets array of all "executable-in-var" element
     */
    void setExecutableInVarArray(net.zeroinstall.model.ExecutableInVar[] executableInVarArray);
    
    /**
     * Sets ith "executable-in-var" element
     */
    void setExecutableInVarArray(int i, net.zeroinstall.model.ExecutableInVar executableInVar);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "executable-in-var" element
     */
    net.zeroinstall.model.ExecutableInVar insertNewExecutableInVar(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "executable-in-var" element
     */
    net.zeroinstall.model.ExecutableInVar addNewExecutableInVar();
    
    /**
     * Removes the ith "executable-in-var" element
     */
    void removeExecutableInVar(int i);
    
    /**
     * Gets array of all "executable-in-path" elements
     */
    net.zeroinstall.model.ExecutableInPath[] getExecutableInPathArray();
    
    /**
     * Gets ith "executable-in-path" element
     */
    net.zeroinstall.model.ExecutableInPath getExecutableInPathArray(int i);
    
    /**
     * Returns number of "executable-in-path" element
     */
    int sizeOfExecutableInPathArray();
    
    /**
     * Sets array of all "executable-in-path" element
     */
    void setExecutableInPathArray(net.zeroinstall.model.ExecutableInPath[] executableInPathArray);
    
    /**
     * Sets ith "executable-in-path" element
     */
    void setExecutableInPathArray(int i, net.zeroinstall.model.ExecutableInPath executableInPath);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "executable-in-path" element
     */
    net.zeroinstall.model.ExecutableInPath insertNewExecutableInPath(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "executable-in-path" element
     */
    net.zeroinstall.model.ExecutableInPath addNewExecutableInPath();
    
    /**
     * Removes the ith "executable-in-path" element
     */
    void removeExecutableInPath(int i);
    
    /**
     * Gets array of all "command" elements
     */
    net.zeroinstall.model.Command[] getCommandArray();
    
    /**
     * Gets ith "command" element
     */
    net.zeroinstall.model.Command getCommandArray(int i);
    
    /**
     * Returns number of "command" element
     */
    int sizeOfCommandArray();
    
    /**
     * Sets array of all "command" element
     */
    void setCommandArray(net.zeroinstall.model.Command[] commandArray);
    
    /**
     * Sets ith "command" element
     */
    void setCommandArray(int i, net.zeroinstall.model.Command command);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "command" element
     */
    net.zeroinstall.model.Command insertNewCommand(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "command" element
     */
    net.zeroinstall.model.Command addNewCommand();
    
    /**
     * Removes the ith "command" element
     */
    void removeCommand(int i);
    
    /**
     * Gets array of all "requires" elements
     */
    net.zeroinstall.model.Dependency[] getRequiresArray();
    
    /**
     * Gets ith "requires" element
     */
    net.zeroinstall.model.Dependency getRequiresArray(int i);
    
    /**
     * Returns number of "requires" element
     */
    int sizeOfRequiresArray();
    
    /**
     * Sets array of all "requires" element
     */
    void setRequiresArray(net.zeroinstall.model.Dependency[] requiresArray);
    
    /**
     * Sets ith "requires" element
     */
    void setRequiresArray(int i, net.zeroinstall.model.Dependency requires);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "requires" element
     */
    net.zeroinstall.model.Dependency insertNewRequires(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "requires" element
     */
    net.zeroinstall.model.Dependency addNewRequires();
    
    /**
     * Removes the ith "requires" element
     */
    void removeRequires(int i);
    
    /**
     * Gets array of all "restricts" elements
     */
    net.zeroinstall.model.Restriction[] getRestrictsArray();
    
    /**
     * Gets ith "restricts" element
     */
    net.zeroinstall.model.Restriction getRestrictsArray(int i);
    
    /**
     * Returns number of "restricts" element
     */
    int sizeOfRestrictsArray();
    
    /**
     * Sets array of all "restricts" element
     */
    void setRestrictsArray(net.zeroinstall.model.Restriction[] restrictsArray);
    
    /**
     * Sets ith "restricts" element
     */
    void setRestrictsArray(int i, net.zeroinstall.model.Restriction restricts);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "restricts" element
     */
    net.zeroinstall.model.Restriction insertNewRestricts(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "restricts" element
     */
    net.zeroinstall.model.Restriction addNewRestricts();
    
    /**
     * Removes the ith "restricts" element
     */
    void removeRestricts(int i);
    
    /**
     * Gets array of all "implementation" elements
     */
    net.zeroinstall.model.Implementation[] getImplementationArray();
    
    /**
     * Gets ith "implementation" element
     */
    net.zeroinstall.model.Implementation getImplementationArray(int i);
    
    /**
     * Returns number of "implementation" element
     */
    int sizeOfImplementationArray();
    
    /**
     * Sets array of all "implementation" element
     */
    void setImplementationArray(net.zeroinstall.model.Implementation[] implementationArray);
    
    /**
     * Sets ith "implementation" element
     */
    void setImplementationArray(int i, net.zeroinstall.model.Implementation implementation);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "implementation" element
     */
    net.zeroinstall.model.Implementation insertNewImplementation(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "implementation" element
     */
    net.zeroinstall.model.Implementation addNewImplementation();
    
    /**
     * Removes the ith "implementation" element
     */
    void removeImplementation(int i);
    
    /**
     * Gets array of all "package-implementation" elements
     */
    net.zeroinstall.model.PackageImplementation[] getPackageImplementationArray();
    
    /**
     * Gets ith "package-implementation" element
     */
    net.zeroinstall.model.PackageImplementation getPackageImplementationArray(int i);
    
    /**
     * Returns number of "package-implementation" element
     */
    int sizeOfPackageImplementationArray();
    
    /**
     * Sets array of all "package-implementation" element
     */
    void setPackageImplementationArray(net.zeroinstall.model.PackageImplementation[] packageImplementationArray);
    
    /**
     * Sets ith "package-implementation" element
     */
    void setPackageImplementationArray(int i, net.zeroinstall.model.PackageImplementation packageImplementation);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "package-implementation" element
     */
    net.zeroinstall.model.PackageImplementation insertNewPackageImplementation(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "package-implementation" element
     */
    net.zeroinstall.model.PackageImplementation addNewPackageImplementation();
    
    /**
     * Removes the ith "package-implementation" element
     */
    void removePackageImplementation(int i);
    
    /**
     * Gets array of all "group" elements
     */
    net.zeroinstall.model.Group[] getGroupArray();
    
    /**
     * Gets ith "group" element
     */
    net.zeroinstall.model.Group getGroupArray(int i);
    
    /**
     * Returns number of "group" element
     */
    int sizeOfGroupArray();
    
    /**
     * Sets array of all "group" element
     */
    void setGroupArray(net.zeroinstall.model.Group[] groupArray);
    
    /**
     * Sets ith "group" element
     */
    void setGroupArray(int i, net.zeroinstall.model.Group group);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "group" element
     */
    net.zeroinstall.model.Group insertNewGroup(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "group" element
     */
    net.zeroinstall.model.Group addNewGroup();
    
    /**
     * Removes the ith "group" element
     */
    void removeGroup(int i);
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static net.zeroinstall.model.Group newInstance() {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static net.zeroinstall.model.Group newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static net.zeroinstall.model.Group parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static net.zeroinstall.model.Group parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static net.zeroinstall.model.Group parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static net.zeroinstall.model.Group parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static net.zeroinstall.model.Group parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static net.zeroinstall.model.Group parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static net.zeroinstall.model.Group parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static net.zeroinstall.model.Group parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static net.zeroinstall.model.Group parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static net.zeroinstall.model.Group parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static net.zeroinstall.model.Group parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static net.zeroinstall.model.Group parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static net.zeroinstall.model.Group parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static net.zeroinstall.model.Group parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static net.zeroinstall.model.Group parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static net.zeroinstall.model.Group parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.zeroinstall.model.Group) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy