View Javadoc
1   /*
2    * An XML document type.
3    * Localname: InstructionFileInfo
4    * Namespace: http://apply.grants.gov/system/GrantsCommonElements-V1.0
5    * Java type: gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.system.grantsCommonElementsV10;
10  
11  
12  /**
13   * A document containing one InstructionFileInfo(@http://apply.grants.gov/system/GrantsCommonElements-V1.0) element.
14   *
15   * This is a complex type.
16   */
17  public interface InstructionFileInfoDocument 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(InstructionFileInfoDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("instructionfileinfo3758doctype");
21      
22      /**
23       * Gets the "InstructionFileInfo" element
24       */
25      gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo getInstructionFileInfo();
26      
27      /**
28       * Sets the "InstructionFileInfo" element
29       */
30      void setInstructionFileInfo(gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo instructionFileInfo);
31      
32      /**
33       * Appends and returns a new empty "InstructionFileInfo" element
34       */
35      gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo addNewInstructionFileInfo();
36      
37      /**
38       * An XML InstructionFileInfo(@http://apply.grants.gov/system/GrantsCommonElements-V1.0).
39       *
40       * This is a complex type.
41       */
42      public interface InstructionFileInfo 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(InstructionFileInfo.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("instructionfileinfo4b94elemtype");
46          
47          /**
48           * Gets the "FileName" element
49           */
50          java.lang.String getFileName();
51          
52          /**
53           * Gets (as xml) the "FileName" element
54           */
55          gov.grants.apply.system.grantsCommonTypesV10.FileNameType xgetFileName();
56          
57          /**
58           * Sets the "FileName" element
59           */
60          void setFileName(java.lang.String fileName);
61          
62          /**
63           * Sets (as xml) the "FileName" element
64           */
65          void xsetFileName(gov.grants.apply.system.grantsCommonTypesV10.FileNameType fileName);
66          
67          /**
68           * Gets the "FileExtension" element
69           */
70          java.lang.String getFileExtension();
71          
72          /**
73           * Gets (as xml) the "FileExtension" element
74           */
75          gov.grants.apply.system.grantsCommonTypesV10.FileExtensionType xgetFileExtension();
76          
77          /**
78           * Sets the "FileExtension" element
79           */
80          void setFileExtension(java.lang.String fileExtension);
81          
82          /**
83           * Sets (as xml) the "FileExtension" element
84           */
85          void xsetFileExtension(gov.grants.apply.system.grantsCommonTypesV10.FileExtensionType fileExtension);
86          
87          /**
88           * Gets the "FileContentId" element
89           */
90          java.lang.String getFileContentId();
91          
92          /**
93           * Gets (as xml) the "FileContentId" element
94           */
95          gov.grants.apply.system.grantsCommonTypesV10.FileContentIdType xgetFileContentId();
96          
97          /**
98           * Sets the "FileContentId" element
99           */
100         void setFileContentId(java.lang.String fileContentId);
101         
102         /**
103          * Sets (as xml) the "FileContentId" element
104          */
105         void xsetFileContentId(gov.grants.apply.system.grantsCommonTypesV10.FileContentIdType fileContentId);
106         
107         /**
108          * Gets the "FileDataHandler" element
109          */
110         byte[] getFileDataHandler();
111         
112         /**
113          * Gets (as xml) the "FileDataHandler" element
114          */
115         org.apache.xmlbeans.XmlBase64Binary xgetFileDataHandler();
116         
117         /**
118          * Sets the "FileDataHandler" element
119          */
120         void setFileDataHandler(byte[] fileDataHandler);
121         
122         /**
123          * Sets (as xml) the "FileDataHandler" element
124          */
125         void xsetFileDataHandler(org.apache.xmlbeans.XmlBase64Binary fileDataHandler);
126         
127         /**
128          * A factory class with static methods for creating instances
129          * of this type.
130          */
131         
132         public static final class Factory
133         {
134             public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo newInstance() {
135               return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
136             
137             public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo newInstance(org.apache.xmlbeans.XmlOptions options) {
138               return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
139             
140             private Factory() { } // No instance of this class allowed
141         }
142     }
143     
144     /**
145      * A factory class with static methods for creating instances
146      * of this type.
147      */
148     
149     public static final class Factory
150     {
151         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument newInstance() {
152           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
153         
154         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
155           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
156         
157         /** @param xmlAsString the string value to parse */
158         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
159           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
160         
161         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
162           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
163         
164         /** @param file the file from which to load an xml document */
165         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
166           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
167         
168         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
169           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
170         
171         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
172           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
173         
174         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
175           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
176         
177         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
178           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
179         
180         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
181           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
182         
183         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
184           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
185         
186         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
187           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
188         
189         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
190           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
191         
192         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
193           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
194         
195         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
196           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
197         
198         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
199           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
200         
201         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
202         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
203           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
204         
205         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
206         public static gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
207           return (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
208         
209         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
210         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 {
211           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
212         
213         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
214         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 {
215           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
216         
217         private Factory() { } // No instance of this class allowed
218     }
219 }