View Javadoc
1   /*
2    * An XML attribute type.
3    * Localname: FormVersion
4    * Namespace: http://apply.grants.gov/system/GlobalLibrary-V1.0
5    * Java type: gov.grants.apply.system.globalLibraryV10.FormVersionAttribute
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.system.globalLibraryV10;
10  
11  
12  /**
13   * A document containing one FormVersion(@http://apply.grants.gov/system/GlobalLibrary-V1.0) attribute.
14   *
15   * This is a complex type.
16   */
17  public interface FormVersionAttribute extends org.apache.xmlbeans.XmlObject
18  {
19      public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
20          org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(FormVersionAttribute.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("formversion3175attrtypetype");
21      
22      /**
23       * Gets the "FormVersion" attribute
24       */
25      java.lang.String getFormVersion();
26      
27      /**
28       * Gets (as xml) the "FormVersion" attribute
29       */
30      gov.grants.apply.system.globalV10.StringMin1Max30Type xgetFormVersion();
31      
32      /**
33       * True if has "FormVersion" attribute
34       */
35      boolean isSetFormVersion();
36      
37      /**
38       * Sets the "FormVersion" attribute
39       */
40      void setFormVersion(java.lang.String formVersion);
41      
42      /**
43       * Sets (as xml) the "FormVersion" attribute
44       */
45      void xsetFormVersion(gov.grants.apply.system.globalV10.StringMin1Max30Type formVersion);
46      
47      /**
48       * Unsets the "FormVersion" attribute
49       */
50      void unsetFormVersion();
51      
52      /**
53       * A factory class with static methods for creating instances
54       * of this type.
55       */
56      
57      public static final class Factory
58      {
59          public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute newInstance() {
60            return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
61          
62          public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute newInstance(org.apache.xmlbeans.XmlOptions options) {
63            return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
64          
65          /** @param xmlAsString the string value to parse */
66          public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
67            return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
68          
69          public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
70            return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
71          
72          /** @param file the file from which to load an xml document */
73          public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
74            return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
75          
76          public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
77            return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
78          
79          public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
80            return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
81          
82          public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
83            return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
84          
85          public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
86            return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
87          
88          public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
89            return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
90          
91          public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
92            return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
93          
94          public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
95            return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
96          
97          public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
98            return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
99          
100         public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
101           return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
102         
103         public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
104           return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
105         
106         public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
107           return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
108         
109         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
110         public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
111           return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
112         
113         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
114         public static gov.grants.apply.system.globalLibraryV10.FormVersionAttribute parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
115           return (gov.grants.apply.system.globalLibraryV10.FormVersionAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
116         
117         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
118         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 {
119           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
120         
121         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
122         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 {
123           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
124         
125         private Factory() { } // No instance of this class allowed
126     }
127 }