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