View Javadoc
1   /*
2    * An XML document type.
3    * Localname: PerformanceSite_1_2
4    * Namespace: http://apply.grants.gov/forms/PerformanceSite_1_2-V1.2
5    * Java type: gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.performanceSite12V12;
10  
11  
12  /**
13   * A document containing one PerformanceSite_1_2(@http://apply.grants.gov/forms/PerformanceSite_1_2-V1.2) element.
14   *
15   * This is a complex type.
16   */
17  public interface PerformanceSite12Document 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(PerformanceSite12Document.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("performancesite12a433doctype");
21      
22      /**
23       * Gets the "PerformanceSite_1_2" element
24       */
25      gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document.PerformanceSite12 getPerformanceSite12();
26      
27      /**
28       * Sets the "PerformanceSite_1_2" element
29       */
30      void setPerformanceSite12(gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document.PerformanceSite12 performanceSite12);
31      
32      /**
33       * Appends and returns a new empty "PerformanceSite_1_2" element
34       */
35      gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document.PerformanceSite12 addNewPerformanceSite12();
36      
37      /**
38       * An XML PerformanceSite_1_2(@http://apply.grants.gov/forms/PerformanceSite_1_2-V1.2).
39       *
40       * This is a complex type.
41       */
42      public interface PerformanceSite12 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(PerformanceSite12.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("performancesite1255ebelemtype");
46          
47          /**
48           * Gets the "PrimarySite" element
49           */
50          gov.grants.apply.forms.performanceSite12V12.SiteLocationDataType getPrimarySite();
51          
52          /**
53           * Sets the "PrimarySite" element
54           */
55          void setPrimarySite(gov.grants.apply.forms.performanceSite12V12.SiteLocationDataType primarySite);
56          
57          /**
58           * Appends and returns a new empty "PrimarySite" element
59           */
60          gov.grants.apply.forms.performanceSite12V12.SiteLocationDataType addNewPrimarySite();
61          
62          /**
63           * Gets array of all "OtherSite" elements
64           */
65          gov.grants.apply.forms.performanceSite12V12.SiteLocationDataType[] getOtherSiteArray();
66          
67          /**
68           * Gets ith "OtherSite" element
69           */
70          gov.grants.apply.forms.performanceSite12V12.SiteLocationDataType getOtherSiteArray(int i);
71          
72          /**
73           * Returns number of "OtherSite" element
74           */
75          int sizeOfOtherSiteArray();
76          
77          /**
78           * Sets array of all "OtherSite" element
79           */
80          void setOtherSiteArray(gov.grants.apply.forms.performanceSite12V12.SiteLocationDataType[] otherSiteArray);
81          
82          /**
83           * Sets ith "OtherSite" element
84           */
85          void setOtherSiteArray(int i, gov.grants.apply.forms.performanceSite12V12.SiteLocationDataType otherSite);
86          
87          /**
88           * Inserts and returns a new empty value (as xml) as the ith "OtherSite" element
89           */
90          gov.grants.apply.forms.performanceSite12V12.SiteLocationDataType insertNewOtherSite(int i);
91          
92          /**
93           * Appends and returns a new empty value (as xml) as the last "OtherSite" element
94           */
95          gov.grants.apply.forms.performanceSite12V12.SiteLocationDataType addNewOtherSite();
96          
97          /**
98           * Removes the ith "OtherSite" element
99           */
100         void removeOtherSite(int i);
101         
102         /**
103          * Gets the "FormVersion" attribute
104          */
105         java.lang.String getFormVersion();
106         
107         /**
108          * Gets (as xml) the "FormVersion" attribute
109          */
110         gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion();
111         
112         /**
113          * Sets the "FormVersion" attribute
114          */
115         void setFormVersion(java.lang.String formVersion);
116         
117         /**
118          * Sets (as xml) the "FormVersion" attribute
119          */
120         void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion);
121         
122         /**
123          * A factory class with static methods for creating instances
124          * of this type.
125          */
126         
127         public static final class Factory
128         {
129             public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document.PerformanceSite12 newInstance() {
130               return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document.PerformanceSite12) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
131             
132             public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document.PerformanceSite12 newInstance(org.apache.xmlbeans.XmlOptions options) {
133               return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document.PerformanceSite12) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
134             
135             private Factory() { } // No instance of this class allowed
136         }
137     }
138     
139     /**
140      * A factory class with static methods for creating instances
141      * of this type.
142      */
143     
144     public static final class Factory
145     {
146         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document newInstance() {
147           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
148         
149         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document newInstance(org.apache.xmlbeans.XmlOptions options) {
150           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
151         
152         /** @param xmlAsString the string value to parse */
153         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
154           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
155         
156         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
157           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
158         
159         /** @param file the file from which to load an xml document */
160         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
161           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
162         
163         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
164           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
165         
166         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
167           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
168         
169         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
170           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
171         
172         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
173           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
174         
175         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
176           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
177         
178         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
179           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
180         
181         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
182           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
183         
184         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
185           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
186         
187         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
188           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
189         
190         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
191           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
192         
193         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
194           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
195         
196         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
197         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
198           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
199         
200         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
201         public static gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
202           return (gov.grants.apply.forms.performanceSite12V12.PerformanceSite12Document) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
203         
204         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
205         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 {
206           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
207         
208         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
209         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 {
210           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
211         
212         private Factory() { } // No instance of this class allowed
213     }
214 }