Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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


An XML feed(@http://zero-install.sourceforge.net/2004/injector/interface). This is a complex type.
 
 public interface Feed extends net.zeroinstall.model.FeedElement
 {
     public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
         org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Feed.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sDF64D1A0D886168A7A12899672917ACD").resolveHandle("feed2ab8type");
    
    
Gets array of all "name" elements
 
     java.lang.String[] getNameArray();
    
    
Gets ith "name" element
 
     java.lang.String getNameArray(int i);
    
    
Gets (as xml) array of all "name" elements
 
     org.apache.xmlbeans.XmlString[] xgetNameArray();
    
    
Gets (as xml) ith "name" element
 
     org.apache.xmlbeans.XmlString xgetNameArray(int i);
    
    
Returns number of "name" element
 
     int sizeOfNameArray();
    
    
Sets array of all "name" element
 
     void setNameArray(java.lang.String[] nameArray);
    
    
Sets ith "name" element
 
     void setNameArray(int ijava.lang.String name);
    
    
Sets (as xml) array of all "name" element
 
     void xsetNameArray(org.apache.xmlbeans.XmlString[] nameArray);
    
    
Sets (as xml) ith "name" element
 
     void xsetNameArray(int i, org.apache.xmlbeans.XmlString name);
    
    
Inserts the value as the ith "name" element
 
     void insertName(int ijava.lang.String name);
    
    
Appends the value as the last "name" element
 
     void addName(java.lang.String name);
    
    
Inserts and returns a new empty value (as xml) as the ith "name" element
 
     org.apache.xmlbeans.XmlString insertNewName(int i);
    
    
Appends and returns a new empty value (as xml) as the last "name" element
 
     org.apache.xmlbeans.XmlString addNewName();
    
    
Removes the ith "name" element
 
     void removeName(int i);
    
    
Gets array of all "summary" elements
 
     net.zeroinstall.model.LocalizableString[] getSummaryArray();
    
    
Gets ith "summary" element
 
     net.zeroinstall.model.LocalizableString getSummaryArray(int i);
    
    
Returns number of "summary" element
    int sizeOfSummaryArray();
    
    
Sets array of all "summary" element
    void setSummaryArray(net.zeroinstall.model.LocalizableString[] summaryArray);
    
    
Sets ith "summary" element
    void setSummaryArray(int inet.zeroinstall.model.LocalizableString summary);
    
    
Inserts and returns a new empty value (as xml) as the ith "summary" element
    net.zeroinstall.model.LocalizableString insertNewSummary(int i);
    
    
Appends and returns a new empty value (as xml) as the last "summary" element
Removes the ith "summary" element
    void removeSummary(int i);
    
    
Gets array of all "description" elements
Gets ith "description" element
Returns number of "description" element
    int sizeOfDescriptionArray();
    
    
Sets array of all "description" element
    void setDescriptionArray(net.zeroinstall.model.LocalizableString[] descriptionArray);
    
    
Sets ith "description" element
    void setDescriptionArray(int inet.zeroinstall.model.LocalizableString description);
    
    
Inserts and returns a new empty value (as xml) as the ith "description" element
Appends and returns a new empty value (as xml) as the last "description" element
Removes the ith "description" element
    void removeDescription(int i);
    
    
Gets array of all "homepage" elements
    java.lang.String[] getHomepageArray();
    
    
Gets ith "homepage" element
    java.lang.String getHomepageArray(int i);
    
    
Gets (as xml) array of all "homepage" elements
    org.apache.xmlbeans.XmlString[] xgetHomepageArray();
    
    
Gets (as xml) ith "homepage" element
    org.apache.xmlbeans.XmlString xgetHomepageArray(int i);
    
    
Returns number of "homepage" element
    int sizeOfHomepageArray();
    
    
Sets array of all "homepage" element
    void setHomepageArray(java.lang.String[] homepageArray);
    
    
Sets ith "homepage" element
    void setHomepageArray(int ijava.lang.String homepage);
    
    
Sets (as xml) array of all "homepage" element
    void xsetHomepageArray(org.apache.xmlbeans.XmlString[] homepageArray);
    
    
Sets (as xml) ith "homepage" element
    void xsetHomepageArray(int i, org.apache.xmlbeans.XmlString homepage);
    
    
Inserts the value as the ith "homepage" element
    void insertHomepage(int ijava.lang.String homepage);
    
    
Appends the value as the last "homepage" element
    void addHomepage(java.lang.String homepage);
    
    
Inserts and returns a new empty value (as xml) as the ith "homepage" element
    org.apache.xmlbeans.XmlString insertNewHomepage(int i);
    
    
Appends and returns a new empty value (as xml) as the last "homepage" element
    org.apache.xmlbeans.XmlString addNewHomepage();
    
    
Removes the ith "homepage" element
    void removeHomepage(int i);
    
    
Gets array of all "icon" elements
    net.zeroinstall.model.Icon[] getIconArray();
    
    
Gets ith "icon" element
    net.zeroinstall.model.Icon getIconArray(int i);
    
    
Returns number of "icon" element
    int sizeOfIconArray();
    
    
Sets array of all "icon" element
    void setIconArray(net.zeroinstall.model.Icon[] iconArray);
    
    
Sets ith "icon" element
    void setIconArray(int inet.zeroinstall.model.Icon icon);
    
    
Inserts and returns a new empty value (as xml) as the ith "icon" element
    net.zeroinstall.model.Icon insertNewIcon(int i);
    
    
Appends and returns a new empty value (as xml) as the last "icon" element
    net.zeroinstall.model.Icon addNewIcon();
    
    
Removes the ith "icon" element
    void removeIcon(int i);
    
    
Gets array of all "category" elements
    java.lang.String[] getCategoryArray();
    
    
Gets ith "category" element
    java.lang.String getCategoryArray(int i);
    
    
Gets (as xml) array of all "category" elements
    org.apache.xmlbeans.XmlString[] xgetCategoryArray();
    
    
Gets (as xml) ith "category" element
    org.apache.xmlbeans.XmlString xgetCategoryArray(int i);
    
    
Returns number of "category" element
    int sizeOfCategoryArray();
    
    
Sets array of all "category" element
    void setCategoryArray(java.lang.String[] categoryArray);
    
    
Sets ith "category" element
    void setCategoryArray(int ijava.lang.String category);
    
    
Sets (as xml) array of all "category" element
    void xsetCategoryArray(org.apache.xmlbeans.XmlString[] categoryArray);
    
    
Sets (as xml) ith "category" element
    void xsetCategoryArray(int i, org.apache.xmlbeans.XmlString category);
    
    
Inserts the value as the ith "category" element
    void insertCategory(int ijava.lang.String category);
    
    
Appends the value as the last "category" element
    void addCategory(java.lang.String category);
    
    
Inserts and returns a new empty value (as xml) as the ith "category" element
    org.apache.xmlbeans.XmlString insertNewCategory(int i);
    
    
Appends and returns a new empty value (as xml) as the last "category" element
    org.apache.xmlbeans.XmlString addNewCategory();
    
    
Removes the ith "category" element
    void removeCategory(int i);
    
    
Gets array of all "needs-terminal" elements
    java.lang.String[] getNeedsTerminalArray();
    
    
Gets ith "needs-terminal" element
    java.lang.String getNeedsTerminalArray(int i);
    
    
Gets (as xml) array of all "needs-terminal" elements
    org.apache.xmlbeans.XmlString[] xgetNeedsTerminalArray();
    
    
Gets (as xml) ith "needs-terminal" element
    org.apache.xmlbeans.XmlString xgetNeedsTerminalArray(int i);
    
    
Returns number of "needs-terminal" element
    int sizeOfNeedsTerminalArray();
    
    
Sets array of all "needs-terminal" element
    void setNeedsTerminalArray(java.lang.String[] needsTerminalArray);
    
    
Sets ith "needs-terminal" element
    void setNeedsTerminalArray(int ijava.lang.String needsTerminal);
    
    
Sets (as xml) array of all "needs-terminal" element
    void xsetNeedsTerminalArray(org.apache.xmlbeans.XmlString[] needsTerminalArray);
    
    
Sets (as xml) ith "needs-terminal" element
    void xsetNeedsTerminalArray(int i, org.apache.xmlbeans.XmlString needsTerminal);
    
    
Inserts the value as the ith "needs-terminal" element
    void insertNeedsTerminal(int ijava.lang.String needsTerminal);
    
    
Appends the value as the last "needs-terminal" element
    void addNeedsTerminal(java.lang.String needsTerminal);
    
    
Inserts and returns a new empty value (as xml) as the ith "needs-terminal" element
    org.apache.xmlbeans.XmlString insertNewNeedsTerminal(int i);
    
    
Appends and returns a new empty value (as xml) as the last "needs-terminal" element
    org.apache.xmlbeans.XmlString addNewNeedsTerminal();
    
    
Removes the ith "needs-terminal" element
    void removeNeedsTerminal(int i);
    
    
Gets array of all "feed" elements
    net.zeroinstall.model.FeedReference[] getFeedArray();
    
    
Gets ith "feed" element
    net.zeroinstall.model.FeedReference getFeedArray(int i);
    
    
Returns number of "feed" element
    int sizeOfFeedArray();
    
    
Sets array of all "feed" element
    void setFeedArray(net.zeroinstall.model.FeedReference[] feedArray);
    
    
Sets ith "feed" element
    void setFeedArray(int inet.zeroinstall.model.FeedReference feed);
    
    
Inserts and returns a new empty value (as xml) as the ith "feed" element
    net.zeroinstall.model.FeedReference insertNewFeed(int i);
    
    
Appends and returns a new empty value (as xml) as the last "feed" element
    net.zeroinstall.model.FeedReference addNewFeed();
    
    
Removes the ith "feed" element
    void removeFeed(int i);
    
    
Gets array of all "feed-for" elements
Gets ith "feed-for" element
    net.zeroinstall.model.InterfaceReference getFeedForArray(int i);
    
    
Returns number of "feed-for" element
    int sizeOfFeedForArray();
    
    
Sets array of all "feed-for" element
    void setFeedForArray(net.zeroinstall.model.InterfaceReference[] feedForArray);
    
    
Sets ith "feed-for" element
    void setFeedForArray(int inet.zeroinstall.model.InterfaceReference feedFor);
    
    
Inserts and returns a new empty value (as xml) as the ith "feed-for" element
    net.zeroinstall.model.InterfaceReference insertNewFeedFor(int i);
    
    
Appends and returns a new empty value (as xml) as the last "feed-for" element
Removes the ith "feed-for" element
    void removeFeedFor(int i);
    
    
Gets array of all "replaced-by" elements
Gets ith "replaced-by" element
Returns number of "replaced-by" element
    int sizeOfReplacedByArray();
    
    
Sets array of all "replaced-by" element
    void setReplacedByArray(net.zeroinstall.model.InterfaceReference[] replacedByArray);
    
    
Sets ith "replaced-by" element
    void setReplacedByArray(int inet.zeroinstall.model.InterfaceReference replacedBy);
    
    
Inserts and returns a new empty value (as xml) as the ith "replaced-by" element
Appends and returns a new empty value (as xml) as the last "replaced-by" element
Removes the ith "replaced-by" element
    void removeReplacedBy(int i);
    
    
Gets array of all "implementation" elements
Gets ith "implementation" element
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 inet.zeroinstall.model.Implementation implementation);
    
    
Inserts and returns a new empty value (as xml) as the ith "implementation" element
Appends and returns a new empty value (as xml) as the last "implementation" element
Removes the ith "implementation" element
    void removeImplementation(int i);
    
    
Gets array of all "package-implementation" elements
Gets ith "package-implementation" element
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 inet.zeroinstall.model.PackageImplementation packageImplementation);
    
    
Inserts and returns a new empty value (as xml) as the ith "package-implementation" element
Appends and returns a new empty value (as xml) as the last "package-implementation" element
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 inet.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);
    
    
Gets array of all "entry-point" elements
    net.zeroinstall.model.EntryPoint[] getEntryPointArray();
    
    
Gets ith "entry-point" element
    net.zeroinstall.model.EntryPoint getEntryPointArray(int i);
    
    
Returns number of "entry-point" element
    int sizeOfEntryPointArray();
    
    
Sets array of all "entry-point" element
    void setEntryPointArray(net.zeroinstall.model.EntryPoint[] entryPointArray);
    
    
Sets ith "entry-point" element
    void setEntryPointArray(int inet.zeroinstall.model.EntryPoint entryPoint);
    
    
Inserts and returns a new empty value (as xml) as the ith "entry-point" element
    net.zeroinstall.model.EntryPoint insertNewEntryPoint(int i);
    
    
Appends and returns a new empty value (as xml) as the last "entry-point" element
    net.zeroinstall.model.EntryPoint addNewEntryPoint();
    
    
Removes the ith "entry-point" element
    void removeEntryPoint(int i);
    
    
Gets the "min-injector-version" attribute
    java.lang.String getMinInjectorVersion();
    
    
Gets (as xml) the "min-injector-version" attribute
    org.apache.xmlbeans.XmlString xgetMinInjectorVersion();
    
    
True if has "min-injector-version" attribute
    boolean isSetMinInjectorVersion();
    
    
Sets the "min-injector-version" attribute
    void setMinInjectorVersion(java.lang.String minInjectorVersion);
    
    
Sets (as xml) the "min-injector-version" attribute
    void xsetMinInjectorVersion(org.apache.xmlbeans.XmlString minInjectorVersion);
    
    
Unsets the "min-injector-version" attribute
    void unsetMinInjectorVersion();
    
    
Gets the "uri" attribute
    java.lang.String getUri();
    
    
Gets (as xml) the "uri" attribute
    org.apache.xmlbeans.XmlString xgetUri();
    
    
True if has "uri" attribute
    boolean isSetUri();
    
    
Sets the "uri" attribute
    void setUri(java.lang.String uri);
    
    
Sets (as xml) the "uri" attribute
    void xsetUri(org.apache.xmlbeans.XmlString uri);
    
    
Unsets the "uri" attribute
    void unsetUri();
    
    
A factory class with static methods for creating instances of this type.
    
    public static final class Factory
    {
        public static net.zeroinstall.model.Feed newInstance() {
          return (net.zeroinstall.model.Feed) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( null ); }
        
        public static net.zeroinstall.model.Feed newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.zeroinstall.model.Feed) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( options ); }
        
        

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

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

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

Deprecated:
org.apache.xmlbeans.xml.stream.XMLInputStream
        public static net.zeroinstall.model.Feed 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.Feed) 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