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

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

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