View Javadoc
1   /*
2    * An XML document type.
3    * Localname: SecurityMessage
4    * Namespace: http://apply.grants.gov/system/GrantsCommonElements-V1.0
5    * Java type: gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.system.grantsCommonElementsV10;
10  
11  
12  /**
13   * A document containing one SecurityMessage(@http://apply.grants.gov/system/GrantsCommonElements-V1.0) element.
14   *
15   * This is a complex type.
16   */
17  public interface SecurityMessageDocument 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(SecurityMessageDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("securitymessage3509doctype");
21      
22      /**
23       * Gets the "SecurityMessage" element
24       */
25      gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage getSecurityMessage();
26      
27      /**
28       * Sets the "SecurityMessage" element
29       */
30      void setSecurityMessage(gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage securityMessage);
31      
32      /**
33       * Appends and returns a new empty "SecurityMessage" element
34       */
35      gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage addNewSecurityMessage();
36      
37      /**
38       * An XML SecurityMessage(@http://apply.grants.gov/system/GrantsCommonElements-V1.0).
39       *
40       * This is a complex type.
41       */
42      public interface SecurityMessage 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(SecurityMessage.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("securitymessagee236elemtype");
46          
47          /**
48           * Gets the "MessageCode" element
49           */
50          java.lang.String getMessageCode();
51          
52          /**
53           * Gets (as xml) the "MessageCode" element
54           */
55          gov.grants.apply.system.grantsCommonTypesV10.MessageCodeType xgetMessageCode();
56          
57          /**
58           * Sets the "MessageCode" element
59           */
60          void setMessageCode(java.lang.String messageCode);
61          
62          /**
63           * Sets (as xml) the "MessageCode" element
64           */
65          void xsetMessageCode(gov.grants.apply.system.grantsCommonTypesV10.MessageCodeType messageCode);
66          
67          /**
68           * Gets the "MessageText" element
69           */
70          java.lang.String getMessageText();
71          
72          /**
73           * Gets (as xml) the "MessageText" element
74           */
75          gov.grants.apply.system.grantsCommonTypesV10.MessageTextType xgetMessageText();
76          
77          /**
78           * Sets the "MessageText" element
79           */
80          void setMessageText(java.lang.String messageText);
81          
82          /**
83           * Sets (as xml) the "MessageText" element
84           */
85          void xsetMessageText(gov.grants.apply.system.grantsCommonTypesV10.MessageTextType messageText);
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.SecurityMessageDocument.SecurityMessage newInstance() {
95                return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
96              
97              public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage newInstance(org.apache.xmlbeans.XmlOptions options) {
98                return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage) 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.SecurityMessageDocument newInstance() {
112           return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
113         
114         public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
115           return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument) 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.SecurityMessageDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
119           return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
120         
121         public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
122           return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument) 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.SecurityMessageDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
126           return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
127         
128         public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument 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.SecurityMessageDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
130         
131         public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
132           return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
133         
134         public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument 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.SecurityMessageDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
136         
137         public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
138           return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
139         
140         public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument 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.SecurityMessageDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
142         
143         public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
144           return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
145         
146         public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument 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.SecurityMessageDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
148         
149         public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
150           return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
151         
152         public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
153           return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
154         
155         public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
156           return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
157         
158         public static gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
159           return (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument) 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.SecurityMessageDocument 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.SecurityMessageDocument) 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.SecurityMessageDocument 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.SecurityMessageDocument) 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 }