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

    1   /*
    2    * XML Type:  phoneType
    3    * Namespace: http://xmlbeans.apache.org/samples/xquery/employees
    4    * Java type: org.apache.xmlbeans.samples.xquery.employees.PhoneType
    5    *
    6    * Automatically generated - do not modify.
    7    */
    8   package org.apache.xmlbeans.samples.xquery.employees;
    9   
   10   
   11   /**
   12    * An XML phoneType(@http://xmlbeans.apache.org/samples/xquery/employees).
   13    *
   14    * This is an atomic type that is a restriction of org.apache.xmlbeans.XmlString.
   15    */
   16   public interface PhoneType extends org.apache.xmlbeans.XmlString
   17   {
   18       public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD4FB2ECA19277E984CA2AB92FEEBD267.TypeSystemHolder.typeSystem.resolveHandle("phonetype3126type");
   19       
   20       /**
   21        * Gets the "location" attribute
   22        */
   23       java.lang.String getLocation();
   24       
   25       /**
   26        * Gets (as xml) the "location" attribute
   27        */
   28       org.apache.xmlbeans.XmlNCName xgetLocation();
   29       
   30       /**
   31        * Sets the "location" attribute
   32        */
   33       void setLocation(java.lang.String location);
   34       
   35       /**
   36        * Sets (as xml) the "location" attribute
   37        */
   38       void xsetLocation(org.apache.xmlbeans.XmlNCName location);
   39       
   40       /**
   41        * A factory class with static methods for creating instances
   42        * of this type.
   43        */
   44       
   45       public static final class Factory
   46       {
   47           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType newInstance() {
   48             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
   49           
   50           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType newInstance(org.apache.xmlbeans.XmlOptions options) {
   51             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
   52           
   53           /** @param xmlAsString the string value to parse */
   54           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
   55             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
   56           
   57           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
   58             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
   59           
   60           /** @param file the file from which to load an xml document */
   61           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
   62             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
   63           
   64           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
   65             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
   66           
   67           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
   68             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
   69           
   70           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
   71             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
   72           
   73           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
   74             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
   75           
   76           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
   77             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
   78           
   79           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
   80             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
   81           
   82           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
   83             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
   84           
   85           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
   86             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
   87           
   88           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
   89             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
   90           
   91           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
   92             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
   93           
   94           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
   95             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
   96           
   97           /** @deprecated {@link XMLInputStream} */
   98           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
   99             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
  100           
  101           /** @deprecated {@link XMLInputStream} */
  102           public static org.apache.xmlbeans.samples.xquery.employees.PhoneType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
  103             return (org.apache.xmlbeans.samples.xquery.employees.PhoneType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
  104           
  105           /** @deprecated {@link XMLInputStream} */
  106           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 {
  107             return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
  108           
  109           /** @deprecated {@link XMLInputStream} */
  110           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 {
  111             return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
  112           
  113           private Factory() { } // No instance of this class allowed
  114       }
  115   }

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