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

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

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