View Javadoc
1   /*
2    * An XML document type.
3    * Localname: SendChangeNotificationEmail
4    * Namespace: http://apply.grants.gov/system/GrantsCommonElements-V1.0
5    * Java type: gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.system.grantsCommonElementsV10;
10  
11  
12  /**
13   * A document containing one SendChangeNotificationEmail(@http://apply.grants.gov/system/GrantsCommonElements-V1.0) element.
14   *
15   * This is a complex type.
16   */
17  public interface SendChangeNotificationEmailDocument 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(SendChangeNotificationEmailDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("sendchangenotificationemail7977doctype");
21      
22      /**
23       * Gets the "SendChangeNotificationEmail" element
24       */
25      gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail.Enum getSendChangeNotificationEmail();
26      
27      /**
28       * Gets (as xml) the "SendChangeNotificationEmail" element
29       */
30      gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail xgetSendChangeNotificationEmail();
31      
32      /**
33       * Sets the "SendChangeNotificationEmail" element
34       */
35      void setSendChangeNotificationEmail(gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail.Enum sendChangeNotificationEmail);
36      
37      /**
38       * Sets (as xml) the "SendChangeNotificationEmail" element
39       */
40      void xsetSendChangeNotificationEmail(gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail sendChangeNotificationEmail);
41      
42      /**
43       * An XML SendChangeNotificationEmail(@http://apply.grants.gov/system/GrantsCommonElements-V1.0).
44       *
45       * This is an atomic type that is a restriction of gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument$SendChangeNotificationEmail.
46       */
47      public interface SendChangeNotificationEmail extends org.apache.xmlbeans.XmlString
48      {
49          public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
50              org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(SendChangeNotificationEmail.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("sendchangenotificationemailc492elemtype");
51          
52          org.apache.xmlbeans.StringEnumAbstractBase enumValue();
53          void set(org.apache.xmlbeans.StringEnumAbstractBase e);
54          
55          static final Enum Y = Enum.forString("Y");
56          static final Enum N = Enum.forString("N");
57          
58          static final int INT_Y = Enum.INT_Y;
59          static final int INT_N = Enum.INT_N;
60          
61          /**
62           * Enumeration value class for gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument$SendChangeNotificationEmail.
63           * These enum values can be used as follows:
64           * <pre>
65           * enum.toString(); // returns the string value of the enum
66           * enum.intValue(); // returns an int value, useful for switches
67           * // e.g., case Enum.INT_Y
68           * Enum.forString(s); // returns the enum value for a string
69           * Enum.forInt(i); // returns the enum value for an int
70           * </pre>
71           * Enumeration objects are immutable singleton objects that
72           * can be compared using == object equality. They have no
73           * public constructor. See the constants defined within this
74           * class for all the valid values.
75           */
76          static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
77          {
78              /**
79               * Returns the enum value for a string, or null if none.
80               */
81              public static Enum forString(java.lang.String s)
82                  { return (Enum)table.forString(s); }
83              /**
84               * Returns the enum value corresponding to an int, or null if none.
85               */
86              public static Enum forInt(int i)
87                  { return (Enum)table.forInt(i); }
88              
89              private Enum(java.lang.String s, int i)
90                  { super(s, i); }
91              
92              static final int INT_Y = 1;
93              static final int INT_N = 2;
94              
95              public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
96                  new org.apache.xmlbeans.StringEnumAbstractBase.Table
97              (
98                  new Enum[]
99                  {
100                     new Enum("Y", INT_Y),
101                     new Enum("N", INT_N),
102                 }
103             );
104             private static final long serialVersionUID = 1L;
105             private java.lang.Object readResolve() { return forInt(intValue()); } 
106         }
107         
108         /**
109          * A factory class with static methods for creating instances
110          * of this type.
111          */
112         
113         public static final class Factory
114         {
115             public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail newValue(java.lang.Object obj) {
116               return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail) type.newValue( obj ); }
117             
118             public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail newInstance() {
119               return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
120             
121             public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail newInstance(org.apache.xmlbeans.XmlOptions options) {
122               return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument.SendChangeNotificationEmail) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
123             
124             private Factory() { } // No instance of this class allowed
125         }
126     }
127     
128     /**
129      * A factory class with static methods for creating instances
130      * of this type.
131      */
132     
133     public static final class Factory
134     {
135         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument newInstance() {
136           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
137         
138         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
139           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
140         
141         /** @param xmlAsString the string value to parse */
142         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
143           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
144         
145         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
146           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
147         
148         /** @param file the file from which to load an xml document */
149         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
150           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
151         
152         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
153           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
154         
155         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
156           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
157         
158         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
159           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
160         
161         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
162           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
163         
164         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
165           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
166         
167         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
168           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
169         
170         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
171           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
172         
173         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
174           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
175         
176         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
177           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
178         
179         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
180           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
181         
182         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
183           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
184         
185         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
186         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
187           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
188         
189         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
190         public static gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
191           return (gov.grants.apply.system.grantsCommonElementsV10.SendChangeNotificationEmailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
192         
193         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
194         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 {
195           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
196         
197         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
198         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 {
199           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
200         
201         private Factory() { } // No instance of this class allowed
202     }
203 }