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

    1   /*
    2    * XML Type:  employeeType
    3    * Namespace: http://xmlbeans.apache.org/samples/xquery/employees
    4    * Java type: org.apache.xmlbeans.samples.xquery.employees.EmployeeType
    5    *
    6    * Automatically generated - do not modify.
    7    */
    8   package org.apache.xmlbeans.samples.xquery.employees;
    9   
   10   
   11   /**
   12    * An XML employeeType(@http://xmlbeans.apache.org/samples/xquery/employees).
   13    *
   14    * This is a complex type.
   15    */
   16   public interface EmployeeType extends org.apache.xmlbeans.XmlObject
   17   {
   18       public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD4FB2ECA19277E984CA2AB92FEEBD267.TypeSystemHolder.typeSystem.resolveHandle("employeetype5e98type");
   19       
   20       /**
   21        * Gets the "name" element
   22        */
   23       java.lang.String getName();
   24       
   25       /**
   26        * Gets (as xml) the "name" element
   27        */
   28       org.apache.xmlbeans.XmlString xgetName();
   29       
   30       /**
   31        * Sets the "name" element
   32        */
   33       void setName(java.lang.String name);
   34       
   35       /**
   36        * Sets (as xml) the "name" element
   37        */
   38       void xsetName(org.apache.xmlbeans.XmlString name);
   39       
   40       /**
   41        * Gets array of all "address" elements
   42        */
   43       org.apache.xmlbeans.samples.xquery.employees.AddressType[] getAddressArray();
   44       
   45       /**
   46        * Gets ith "address" element
   47        */
   48       org.apache.xmlbeans.samples.xquery.employees.AddressType getAddressArray(int i);
   49       
   50       /**
   51        * Returns number of "address" element
   52        */
   53       int sizeOfAddressArray();
   54       
   55       /**
   56        * Sets array of all "address" element
   57        */
   58       void setAddressArray(org.apache.xmlbeans.samples.xquery.employees.AddressType[] addressArray);
   59       
   60       /**
   61        * Sets ith "address" element
   62        */
   63       void setAddressArray(int i, org.apache.xmlbeans.samples.xquery.employees.AddressType address);
   64       
   65       /**
   66        * Inserts and returns a new empty value (as xml) as the ith "address" element
   67        */
   68       org.apache.xmlbeans.samples.xquery.employees.AddressType insertNewAddress(int i);
   69       
   70       /**
   71        * Appends and returns a new empty value (as xml) as the last "address" element
   72        */
   73       org.apache.xmlbeans.samples.xquery.employees.AddressType addNewAddress();
   74       
   75       /**
   76        * Removes the ith "address" element
   77        */
   78       void removeAddress(int i);
   79       
   80       /**
   81        * Gets array of all "phone" elements
   82        */
   83       org.apache.xmlbeans.samples.xquery.employees.PhoneType[] getPhoneArray();
   84       
   85       /**
   86        * Gets ith "phone" element
   87        */
   88       org.apache.xmlbeans.samples.xquery.employees.PhoneType getPhoneArray(int i);
   89       
   90       /**
   91        * Returns number of "phone" element
   92        */
   93       int sizeOfPhoneArray();
   94       
   95       /**
   96        * Sets array of all "phone" element
   97        */
   98       void setPhoneArray(org.apache.xmlbeans.samples.xquery.employees.PhoneType[] phoneArray);
   99       
  100       /**
  101        * Sets ith "phone" element
  102        */
  103       void setPhoneArray(int i, org.apache.xmlbeans.samples.xquery.employees.PhoneType phone);
  104       
  105       /**
  106        * Inserts and returns a new empty value (as xml) as the ith "phone" element
  107        */
  108       org.apache.xmlbeans.samples.xquery.employees.PhoneType insertNewPhone(int i);
  109       
  110       /**
  111        * Appends and returns a new empty value (as xml) as the last "phone" element
  112        */
  113       org.apache.xmlbeans.samples.xquery.employees.PhoneType addNewPhone();
  114       
  115       /**
  116        * Removes the ith "phone" element
  117        */
  118       void removePhone(int i);
  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.xquery.employees.EmployeeType newInstance() {
  128             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
  129           
  130           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType newInstance(org.apache.xmlbeans.XmlOptions options) {
  131             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
  132           
  133           /** @param xmlAsString the string value to parse */
  134           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
  135             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
  136           
  137           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  138             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) 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.xquery.employees.EmployeeType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  142             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
  143           
  144           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  145             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
  146           
  147           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  148             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
  149           
  150           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  151             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
  152           
  153           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  154             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
  155           
  156           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  157             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
  158           
  159           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  160             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
  161           
  162           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  163             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
  164           
  165           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
  166             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
  167           
  168           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  169             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
  170           
  171           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
  172             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
  173           
  174           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  175             return (org.apache.xmlbeans.samples.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
  176           
  177           /** @deprecated {@link XMLInputStream} */
  178           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType 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.xquery.employees.EmployeeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
  180           
  181           /** @deprecated {@link XMLInputStream} */
  182           public static org.apache.xmlbeans.samples.xquery.employees.EmployeeType 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.xquery.employees.EmployeeType) 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 » xquery » employees » [javadoc | source]