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

    1   /*
    2    * XML Type:  addressType
    3    * Namespace: http://xmlbeans.apache.org/samples/xquery/employees
    4    * Java type: org.apache.xmlbeans.samples.xquery.employees.AddressType
    5    *
    6    * Automatically generated - do not modify.
    7    */
    8   package org.apache.xmlbeans.samples.xquery.employees;
    9   
   10   
   11   /**
   12    * An XML addressType(@http://xmlbeans.apache.org/samples/xquery/employees).
   13    *
   14    * This is a complex type.
   15    */
   16   public interface AddressType 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("addresstype93ectype");
   19       
   20       /**
   21        * Gets the "street" element
   22        */
   23       java.lang.String getStreet();
   24       
   25       /**
   26        * Gets (as xml) the "street" element
   27        */
   28       org.apache.xmlbeans.XmlString xgetStreet();
   29       
   30       /**
   31        * Sets the "street" element
   32        */
   33       void setStreet(java.lang.String street);
   34       
   35       /**
   36        * Sets (as xml) the "street" element
   37        */
   38       void xsetStreet(org.apache.xmlbeans.XmlString street);
   39       
   40       /**
   41        * Gets the "city" element
   42        */
   43       java.lang.String getCity();
   44       
   45       /**
   46        * Gets (as xml) the "city" element
   47        */
   48       org.apache.xmlbeans.XmlNCName xgetCity();
   49       
   50       /**
   51        * Sets the "city" element
   52        */
   53       void setCity(java.lang.String city);
   54       
   55       /**
   56        * Sets (as xml) the "city" element
   57        */
   58       void xsetCity(org.apache.xmlbeans.XmlNCName city);
   59       
   60       /**
   61        * Gets the "state" element
   62        */
   63       java.lang.String getState();
   64       
   65       /**
   66        * Gets (as xml) the "state" element
   67        */
   68       org.apache.xmlbeans.XmlNCName xgetState();
   69       
   70       /**
   71        * Sets the "state" element
   72        */
   73       void setState(java.lang.String state);
   74       
   75       /**
   76        * Sets (as xml) the "state" element
   77        */
   78       void xsetState(org.apache.xmlbeans.XmlNCName state);
   79       
   80       /**
   81        * Gets the "zip" element
   82        */
   83       java.math.BigInteger getZip();
   84       
   85       /**
   86        * Gets (as xml) the "zip" element
   87        */
   88       org.apache.xmlbeans.XmlInteger xgetZip();
   89       
   90       /**
   91        * Sets the "zip" element
   92        */
   93       void setZip(java.math.BigInteger zip);
   94       
   95       /**
   96        * Sets (as xml) the "zip" element
   97        */
   98       void xsetZip(org.apache.xmlbeans.XmlInteger zip);
   99       
  100       /**
  101        * Gets the "location" attribute
  102        */
  103       java.lang.String getLocation();
  104       
  105       /**
  106        * Gets (as xml) the "location" attribute
  107        */
  108       org.apache.xmlbeans.XmlNCName xgetLocation();
  109       
  110       /**
  111        * Sets the "location" attribute
  112        */
  113       void setLocation(java.lang.String location);
  114       
  115       /**
  116        * Sets (as xml) the "location" attribute
  117        */
  118       void xsetLocation(org.apache.xmlbeans.XmlNCName location);
  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.AddressType newInstance() {
  128             return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
  129           
  130           public static org.apache.xmlbeans.samples.xquery.employees.AddressType newInstance(org.apache.xmlbeans.XmlOptions options) {
  131             return (org.apache.xmlbeans.samples.xquery.employees.AddressType) 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.AddressType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
  135             return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
  136           
  137           public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  138             return (org.apache.xmlbeans.samples.xquery.employees.AddressType) 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.AddressType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  142             return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
  143           
  144           public static org.apache.xmlbeans.samples.xquery.employees.AddressType 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.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
  146           
  147           public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  148             return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
  149           
  150           public static org.apache.xmlbeans.samples.xquery.employees.AddressType 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.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
  152           
  153           public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  154             return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
  155           
  156           public static org.apache.xmlbeans.samples.xquery.employees.AddressType 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.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
  158           
  159           public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  160             return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
  161           
  162           public static org.apache.xmlbeans.samples.xquery.employees.AddressType 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.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
  164           
  165           public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
  166             return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
  167           
  168           public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  169             return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
  170           
  171           public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
  172             return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
  173           
  174           public static org.apache.xmlbeans.samples.xquery.employees.AddressType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  175             return (org.apache.xmlbeans.samples.xquery.employees.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
  176           
  177           /** @deprecated {@link XMLInputStream} */
  178           public static org.apache.xmlbeans.samples.xquery.employees.AddressType 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.AddressType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
  180           
  181           /** @deprecated {@link XMLInputStream} */
  182           public static org.apache.xmlbeans.samples.xquery.employees.AddressType 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.AddressType) 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]