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

    1   /*
    2    * XML Type:  itemType
    3    * Namespace: http://xmlbeans.apache.org/samples/validation/todolist
    4    * Java type: org.apache.xmlbeans.samples.validation.todolist.ItemType
    5    *
    6    * Automatically generated - do not modify.
    7    */
    8   package org.apache.xmlbeans.samples.validation.todolist;
    9   
   10   
   11   /**
   12    * An XML itemType(@http://xmlbeans.apache.org/samples/validation/todolist).
   13    *
   14    * This is a complex type.
   15    */
   16   public interface ItemType extends org.apache.xmlbeans.XmlObject
   17   {
   18       public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.s59A663BF38731BA9F8026B121E40FDD3.TypeSystemHolder.typeSystem.resolveHandle("itemtypeb663type");
   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 the "description" element
   42        */
   43       java.lang.String getDescription();
   44       
   45       /**
   46        * Gets (as xml) the "description" element
   47        */
   48       org.apache.xmlbeans.XmlString xgetDescription();
   49       
   50       /**
   51        * True if has "description" element
   52        */
   53       boolean isSetDescription();
   54       
   55       /**
   56        * Sets the "description" element
   57        */
   58       void setDescription(java.lang.String description);
   59       
   60       /**
   61        * Sets (as xml) the "description" element
   62        */
   63       void xsetDescription(org.apache.xmlbeans.XmlString description);
   64       
   65       /**
   66        * Unsets the "description" element
   67        */
   68       void unsetDescription();
   69       
   70       /**
   71        * Gets the "due_by" element
   72        */
   73       java.util.Calendar getDueBy();
   74       
   75       /**
   76        * Gets (as xml) the "due_by" element
   77        */
   78       org.apache.xmlbeans.XmlDateTime xgetDueBy();
   79       
   80       /**
   81        * True if has "due_by" element
   82        */
   83       boolean isSetDueBy();
   84       
   85       /**
   86        * Sets the "due_by" element
   87        */
   88       void setDueBy(java.util.Calendar dueBy);
   89       
   90       /**
   91        * Sets (as xml) the "due_by" element
   92        */
   93       void xsetDueBy(org.apache.xmlbeans.XmlDateTime dueBy);
   94       
   95       /**
   96        * Unsets the "due_by" element
   97        */
   98       void unsetDueBy();
   99       
  100       /**
  101        * Gets the "action" element
  102        */
  103       org.apache.xmlbeans.samples.validation.todolist.ActionType.Enum getAction();
  104       
  105       /**
  106        * Gets (as xml) the "action" element
  107        */
  108       org.apache.xmlbeans.samples.validation.todolist.ActionType xgetAction();
  109       
  110       /**
  111        * Sets the "action" element
  112        */
  113       void setAction(org.apache.xmlbeans.samples.validation.todolist.ActionType.Enum action);
  114       
  115       /**
  116        * Sets (as xml) the "action" element
  117        */
  118       void xsetAction(org.apache.xmlbeans.samples.validation.todolist.ActionType action);
  119       
  120       /**
  121        * Gets the "id" attribute
  122        */
  123       int getId();
  124       
  125       /**
  126        * Gets (as xml) the "id" attribute
  127        */
  128       org.apache.xmlbeans.samples.validation.todolist.IdType xgetId();
  129       
  130       /**
  131        * True if has "id" attribute
  132        */
  133       boolean isSetId();
  134       
  135       /**
  136        * Sets the "id" attribute
  137        */
  138       void setId(int id);
  139       
  140       /**
  141        * Sets (as xml) the "id" attribute
  142        */
  143       void xsetId(org.apache.xmlbeans.samples.validation.todolist.IdType id);
  144       
  145       /**
  146        * Unsets the "id" attribute
  147        */
  148       void unsetId();
  149       
  150       /**
  151        * A factory class with static methods for creating instances
  152        * of this type.
  153        */
  154       
  155       public static final class Factory
  156       {
  157           public static org.apache.xmlbeans.samples.validation.todolist.ItemType newInstance() {
  158             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
  159           
  160           public static org.apache.xmlbeans.samples.validation.todolist.ItemType newInstance(org.apache.xmlbeans.XmlOptions options) {
  161             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
  162           
  163           /** @param xmlAsString the string value to parse */
  164           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
  165             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
  166           
  167           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  168             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
  169           
  170           /** @param file the file from which to load an xml document */
  171           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  172             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
  173           
  174           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  175             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
  176           
  177           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  178             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
  179           
  180           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  181             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
  182           
  183           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  184             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
  185           
  186           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  187             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
  188           
  189           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  190             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
  191           
  192           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
  193             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
  194           
  195           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
  196             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
  197           
  198           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  199             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
  200           
  201           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
  202             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
  203           
  204           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
  205             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
  206           
  207           /** @deprecated {@link XMLInputStream} */
  208           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
  209             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
  210           
  211           /** @deprecated {@link XMLInputStream} */
  212           public static org.apache.xmlbeans.samples.validation.todolist.ItemType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
  213             return (org.apache.xmlbeans.samples.validation.todolist.ItemType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
  214           
  215           /** @deprecated {@link XMLInputStream} */
  216           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 {
  217             return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
  218           
  219           /** @deprecated {@link XMLInputStream} */
  220           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 {
  221             return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
  222           
  223           private Factory() { } // No instance of this class allowed
  224       }
  225   }

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