Home » xmlbeans-2.5.0-src » org.apache.xmlbeans.samples » any » [javadoc | source]

    1   /*
    2    * XML Type:  ListOfStrings
    3    * Namespace: http://xmlbeans.apache.org/samples/any
    4    * Java type: org.apache.xmlbeans.samples.any.ListOfStrings
    5    *
    6    * Automatically generated - do not modify.
    7    */
    8   package org.apache.xmlbeans.samples.any;
    9   
   10   
   11   /**
   12    * An XML ListOfStrings(@http://xmlbeans.apache.org/samples/any).
   13    *
   14    * This is a complex type.
   15    */
   16   public interface ListOfStrings extends org.apache.xmlbeans.XmlObject
   17   {
   18       public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.s6EF7A0057B3F4CED74AE6E05BCAAB5DB.TypeSystemHolder.typeSystem.resolveHandle("listofstringse467type");
   19       
   20       /**
   21        * Gets array of all "stringelement" elements
   22        */
   23       java.lang.String[] getStringelementArray();
   24       
   25       /**
   26        * Gets ith "stringelement" element
   27        */
   28       java.lang.String getStringelementArray(int i);
   29       
   30       /**
   31        * Gets (as xml) array of all "stringelement" elements
   32        */
   33       org.apache.xmlbeans.XmlString[] xgetStringelementArray();
   34       
   35       /**
   36        * Gets (as xml) ith "stringelement" element
   37        */
   38       org.apache.xmlbeans.XmlString xgetStringelementArray(int i);
   39       
   40       /**
   41        * Returns number of "stringelement" element
   42        */
   43       int sizeOfStringelementArray();
   44       
   45       /**
   46        * Sets array of all "stringelement" element
   47        */
   48       void setStringelementArray(java.lang.String[] stringelementArray);
   49       
   50       /**
   51        * Sets ith "stringelement" element
   52        */
   53       void setStringelementArray(int i, java.lang.String stringelement);
   54       
   55       /**
   56        * Sets (as xml) array of all "stringelement" element
   57        */
   58       void xsetStringelementArray(org.apache.xmlbeans.XmlString[] stringelementArray);
   59       
   60       /**
   61        * Sets (as xml) ith "stringelement" element
   62        */
   63       void xsetStringelementArray(int i, org.apache.xmlbeans.XmlString stringelement);
   64       
   65       /**
   66        * Inserts the value as the ith "stringelement" element
   67        */
   68       void insertStringelement(int i, java.lang.String stringelement);
   69       
   70       /**
   71        * Appends the value as the last "stringelement" element
   72        */
   73       void addStringelement(java.lang.String stringelement);
   74       
   75       /**
   76        * Inserts and returns a new empty value (as xml) as the ith "stringelement" element
   77        */
   78       org.apache.xmlbeans.XmlString insertNewStringelement(int i);
   79       
   80       /**
   81        * Appends and returns a new empty value (as xml) as the last "stringelement" element
   82        */
   83       org.apache.xmlbeans.XmlString addNewStringelement();
   84       
   85       /**
   86        * Removes the ith "stringelement" element
   87        */
   88       void removeStringelement(int i);
   89       
   90       /**
   91        * Gets the "id" attribute
   92        */
   93       java.lang.String getId();
   94       
   95       /**
   96        * Gets (as xml) the "id" attribute
   97        */
   98       org.apache.xmlbeans.XmlString xgetId();
   99       
  100       /**
  101        * True if has "id" attribute
  102        */
  103       boolean isSetId();
  104       
  105       /**
  106        * Sets the "id" attribute
  107        */
  108       void setId(java.lang.String id);
  109       
  110       /**
  111        * Sets (as xml) the "id" attribute
  112        */
  113       void xsetId(org.apache.xmlbeans.XmlString id);
  114       
  115       /**
  116        * Unsets the "id" attribute
  117        */
  118       void unsetId();
  119       
  120       /**
  121        * A factory class with static methods for creating instances
  122        * of this type.
  123        */
  124       
  125       public static final class Factory
  126       {
  127           public static org.apache.xmlbeans.samples.any.ListOfStrings newInstance() {
  128             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
  129           
  130           public static org.apache.xmlbeans.samples.any.ListOfStrings newInstance(org.apache.xmlbeans.XmlOptions options) {
  131             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
  132           
  133           /** @param xmlAsString the string value to parse */
  134           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
  135             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
  136           
  137           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  138             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
  139           
  140           /** @param file the file from which to load an xml document */
  141           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  142             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
  143           
  144           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  145             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
  146           
  147           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  148             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
  149           
  150           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  151             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
  152           
  153           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  154             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
  155           
  156           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  157             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
  158           
  159           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  160             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
  161           
  162           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  163             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
  164           
  165           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
  166             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
  167           
  168           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  169             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
  170           
  171           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
  172             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
  173           
  174           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  175             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
  176           
  177           /** @deprecated {@link XMLInputStream} */
  178           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
  179             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
  180           
  181           /** @deprecated {@link XMLInputStream} */
  182           public static org.apache.xmlbeans.samples.any.ListOfStrings parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
  183             return (org.apache.xmlbeans.samples.any.ListOfStrings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
  184           
  185           /** @deprecated {@link XMLInputStream} */
  186           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 {
  187             return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
  188           
  189           /** @deprecated {@link XMLInputStream} */
  190           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 {
  191             return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
  192           
  193           private Factory() { } // No instance of this class allowed
  194       }
  195   }

Home » xmlbeans-2.5.0-src » org.apache.xmlbeans.samples » any » [javadoc | source]