Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * XML Type:  command
   * Namespace: http://zero-install.sourceforge.net/2004/injector/interface
   * Java type: net.zeroinstall.model.Command
   *
   * Automatically generated - do not modify.
   */
  package net.zeroinstall.model;


An XML command(@http://zero-install.sourceforge.net/2004/injector/interface). This is a complex type.
 
 public interface Command extends net.zeroinstall.model.FeedElement
 {
     public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
         org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Command.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sDF64D1A0D886168A7A12899672917ACD").resolveHandle("command1173type");
    
    
Gets array of all "arg" elements
 
     java.lang.String[] getArgArray();
    
    
Gets ith "arg" element
 
     java.lang.String getArgArray(int i);
    
    
Gets (as xml) array of all "arg" elements
 
     org.apache.xmlbeans.XmlString[] xgetArgArray();
    
    
Gets (as xml) ith "arg" element
 
     org.apache.xmlbeans.XmlString xgetArgArray(int i);
    
    
Returns number of "arg" element
 
     int sizeOfArgArray();
    
    
Sets array of all "arg" element
 
     void setArgArray(java.lang.String[] argArray);
    
    
Sets ith "arg" element
 
     void setArgArray(int ijava.lang.String arg);
    
    
Sets (as xml) array of all "arg" element
 
     void xsetArgArray(org.apache.xmlbeans.XmlString[] argArray);
    
    
Sets (as xml) ith "arg" element
 
     void xsetArgArray(int i, org.apache.xmlbeans.XmlString arg);
    
    
Inserts the value as the ith "arg" element
 
     void insertArg(int ijava.lang.String arg);
    
    
Appends the value as the last "arg" element
 
     void addArg(java.lang.String arg);
    
    
Inserts and returns a new empty value (as xml) as the ith "arg" element
 
     org.apache.xmlbeans.XmlString insertNewArg(int i);
    
    
Appends and returns a new empty value (as xml) as the last "arg" element
 
     org.apache.xmlbeans.XmlString addNewArg();
    
    
Removes the ith "arg" element
 
     void removeArg(int i);
    
    
Gets array of all "for-each" elements
 
     net.zeroinstall.model.ForEachArg[] getForEachArray();
    
    
Gets ith "for-each" element
 
     net.zeroinstall.model.ForEachArg getForEachArray(int i);
    
    
Returns number of "for-each" element
    int sizeOfForEachArray();
    
    
Sets array of all "for-each" element
    void setForEachArray(net.zeroinstall.model.ForEachArg[] forEachArray);
    
    
Sets ith "for-each" element
    void setForEachArray(int inet.zeroinstall.model.ForEachArg forEach);
    
    
Inserts and returns a new empty value (as xml) as the ith "for-each" element
    net.zeroinstall.model.ForEachArg insertNewForEach(int i);
    
    
Appends and returns a new empty value (as xml) as the last "for-each" element
    net.zeroinstall.model.ForEachArg addNewForEach();
    
    
Removes the ith "for-each" element
    void removeForEach(int i);
    
    
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 inet.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
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 inet.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
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 inet.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
Gets ith "executable-in-var" element
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 inet.zeroinstall.model.ExecutableInVar executableInVar);
    
    
Inserts and returns a new empty value (as xml) as the ith "executable-in-var" element
Appends and returns a new empty value (as xml) as the last "executable-in-var" element
Removes the ith "executable-in-var" element
    void removeExecutableInVar(int i);
    
    
Gets array of all "executable-in-path" elements
Gets ith "executable-in-path" element
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 inet.zeroinstall.model.ExecutableInPath executableInPath);
    
    
Inserts and returns a new empty value (as xml) as the ith "executable-in-path" element
Appends and returns a new empty value (as xml) as the last "executable-in-path" element
Removes the ith "executable-in-path" element
    void removeExecutableInPath(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 inet.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 inet.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 "working-dir" elements
    net.zeroinstall.model.WorkingDir[] getWorkingDirArray();
    
    
Gets ith "working-dir" element
    net.zeroinstall.model.WorkingDir getWorkingDirArray(int i);
    
    
Returns number of "working-dir" element
    int sizeOfWorkingDirArray();
    
    
Sets array of all "working-dir" element
    void setWorkingDirArray(net.zeroinstall.model.WorkingDir[] workingDirArray);
    
    
Sets ith "working-dir" element
    void setWorkingDirArray(int inet.zeroinstall.model.WorkingDir workingDir);
    
    
Inserts and returns a new empty value (as xml) as the ith "working-dir" element
    net.zeroinstall.model.WorkingDir insertNewWorkingDir(int i);
    
    
Appends and returns a new empty value (as xml) as the last "working-dir" element
    net.zeroinstall.model.WorkingDir addNewWorkingDir();
    
    
Removes the ith "working-dir" element
    void removeWorkingDir(int i);
    
    
Gets array of all "runner" elements
    net.zeroinstall.model.Runner[] getRunnerArray();
    
    
Gets ith "runner" element
    net.zeroinstall.model.Runner getRunnerArray(int i);
    
    
Returns number of "runner" element
    int sizeOfRunnerArray();
    
    
Sets array of all "runner" element
    void setRunnerArray(net.zeroinstall.model.Runner[] runnerArray);
    
    
Sets ith "runner" element
    void setRunnerArray(int inet.zeroinstall.model.Runner runner);
    
    
Inserts and returns a new empty value (as xml) as the ith "runner" element
    net.zeroinstall.model.Runner insertNewRunner(int i);
    
    
Appends and returns a new empty value (as xml) as the last "runner" element
    net.zeroinstall.model.Runner addNewRunner();
    
    
Removes the ith "runner" element
    void removeRunner(int i);
    
    
Gets the "name" attribute
    java.lang.String getName();
    
    
Gets (as xml) the "name" attribute
    org.apache.xmlbeans.XmlString xgetName();
    
    
True if has "name" attribute
    boolean isSetName();
    
    
Sets the "name" attribute
    void setName(java.lang.String name);
    
    
Sets (as xml) the "name" attribute
    void xsetName(org.apache.xmlbeans.XmlString name);
    
    
Unsets the "name" attribute
    void unsetName();
    
    
Gets the "path" attribute
    java.lang.String getPath();
    
    
Gets (as xml) the "path" attribute
    org.apache.xmlbeans.XmlString xgetPath();
    
    
True if has "path" attribute
    boolean isSetPath();
    
    
Sets the "path" attribute
    void setPath(java.lang.String path);
    
    
Sets (as xml) the "path" attribute
    void xsetPath(org.apache.xmlbeans.XmlString path);
    
    
Unsets the "path" attribute
    void unsetPath();
    
    
A factory class with static methods for creating instances of this type.
    
    public static final class Factory
    {
        public static net.zeroinstall.model.Command newInstance() {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( null ); }
        
        public static net.zeroinstall.model.Command newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( options ); }
        
        

Parameters:
xmlAsString the string value to parse
        public static net.zeroinstall.model.Command parse(java.lang.String xmlAsStringthrows org.apache.xmlbeans.XmlException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsStringnull ); }
        
        public static net.zeroinstall.model.Command parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsStringoptions ); }
        
        

Parameters:
file the file from which to load an xml document
        public static net.zeroinstall.model.Command parse(java.io.File filethrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( filenull ); }
        
        public static net.zeroinstall.model.Command parse(java.io.File file, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( fileoptions ); }
        
        public static net.zeroinstall.model.Command parse(java.net.URL uthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( unull ); }
        
        public static net.zeroinstall.model.Command parse(java.net.URL u, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( uoptions ); }
        
        public static net.zeroinstall.model.Command parse(java.io.InputStream isthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( isnull ); }
        
        public static net.zeroinstall.model.Command parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( isoptions ); }
        
        public static net.zeroinstall.model.Command parse(java.io.Reader rthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( rnull ); }
        
        public static net.zeroinstall.model.Command parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( roptions ); }
        
        public static net.zeroinstall.model.Command parse(javax.xml.stream.XMLStreamReader srthrows org.apache.xmlbeans.XmlException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( srnull ); }
        
        public static net.zeroinstall.model.Command parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sroptions ); }
        
        public static net.zeroinstall.model.Command parse(org.w3c.dom.Node nodethrows org.apache.xmlbeans.XmlException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( nodenull ); }
        
        public static net.zeroinstall.model.Command parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( nodeoptions ); }
        
        

Deprecated:
org.apache.xmlbeans.xml.stream.XMLInputStream
        public static net.zeroinstall.model.Command parse(org.apache.xmlbeans.xml.stream.XMLInputStream xisthrows org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xisnull ); }
        
        

Deprecated:
org.apache.xmlbeans.xml.stream.XMLInputStream
        public static net.zeroinstall.model.Command parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.zeroinstall.model.Command) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xisoptions ); }
        
        

Deprecated:
org.apache.xmlbeans.xml.stream.XMLInputStream
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xisthrows org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xisnull ); }
        
        

Deprecated:
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 optionsthrows org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xisoptions ); }
        
        private Factory() { } // No instance of this class allowed
    }
New to GrepCode? Check out our FAQ X