View Javadoc
1   /*
2    * An XML document type.
3    * Localname: CompetitionInfo
4    * Namespace: http://apply.grants.gov/system/GrantsCommonElements-V1.0
5    * Java type: gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.system.grantsCommonElementsV10;
10  
11  
12  /**
13   * A document containing one CompetitionInfo(@http://apply.grants.gov/system/GrantsCommonElements-V1.0) element.
14   *
15   * This is a complex type.
16   */
17  public interface CompetitionInfoDocument 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(CompetitionInfoDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("competitioninfob163doctype");
21      
22      /**
23       * Gets the "CompetitionInfo" element
24       */
25      gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo getCompetitionInfo();
26      
27      /**
28       * Sets the "CompetitionInfo" element
29       */
30      void setCompetitionInfo(gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo competitionInfo);
31      
32      /**
33       * Appends and returns a new empty "CompetitionInfo" element
34       */
35      gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo addNewCompetitionInfo();
36      
37      /**
38       * An XML CompetitionInfo(@http://apply.grants.gov/system/GrantsCommonElements-V1.0).
39       *
40       * This is a complex type.
41       */
42      public interface CompetitionInfo extends org.apache.xmlbeans.XmlObject
43      {
44          public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
45              org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(CompetitionInfo.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("competitioninfo386aelemtype");
46          
47          /**
48           * Gets the "CompetitionID" element
49           */
50          java.lang.String getCompetitionID();
51          
52          /**
53           * Gets (as xml) the "CompetitionID" element
54           */
55          gov.grants.apply.system.grantsCommonTypesV10.CompetitionIDType xgetCompetitionID();
56          
57          /**
58           * Sets the "CompetitionID" element
59           */
60          void setCompetitionID(java.lang.String competitionID);
61          
62          /**
63           * Sets (as xml) the "CompetitionID" element
64           */
65          void xsetCompetitionID(gov.grants.apply.system.grantsCommonTypesV10.CompetitionIDType competitionID);
66          
67          /**
68           * Gets the "CompetitionTitle" element
69           */
70          java.lang.String getCompetitionTitle();
71          
72          /**
73           * Gets (as xml) the "CompetitionTitle" element
74           */
75          gov.grants.apply.system.grantsCommonTypesV10.CompetitionTitleType xgetCompetitionTitle();
76          
77          /**
78           * Sets the "CompetitionTitle" element
79           */
80          void setCompetitionTitle(java.lang.String competitionTitle);
81          
82          /**
83           * Sets (as xml) the "CompetitionTitle" element
84           */
85          void xsetCompetitionTitle(gov.grants.apply.system.grantsCommonTypesV10.CompetitionTitleType competitionTitle);
86          
87          /**
88           * A factory class with static methods for creating instances
89           * of this type.
90           */
91          
92          public static final class Factory
93          {
94              public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo newInstance() {
95                return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
96              
97              public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo newInstance(org.apache.xmlbeans.XmlOptions options) {
98                return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
99              
100             private Factory() { } // No instance of this class allowed
101         }
102     }
103     
104     /**
105      * A factory class with static methods for creating instances
106      * of this type.
107      */
108     
109     public static final class Factory
110     {
111         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument newInstance() {
112           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
113         
114         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
115           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
116         
117         /** @param xmlAsString the string value to parse */
118         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
119           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
120         
121         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
122           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
123         
124         /** @param file the file from which to load an xml document */
125         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
126           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
127         
128         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
129           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
130         
131         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
132           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
133         
134         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
135           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
136         
137         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
138           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
139         
140         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
141           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
142         
143         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
144           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
145         
146         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
147           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
148         
149         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
150           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
151         
152         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
153           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
154         
155         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
156           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
157         
158         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
159           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
160         
161         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
162         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
163           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
164         
165         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
166         public static gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
167           return (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
168         
169         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
170         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 {
171           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
172         
173         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
174         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 {
175           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
176         
177         private Factory() { } // No instance of this class allowed
178     }
179 }