View Javadoc
1   /*
2    * An XML attribute type.
3    * Localname: currencyCode
4    * Namespace: http://apply.grants.gov/forms/SF424-V1.0
5    * Java type: gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.sf424V10;
10  
11  
12  /**
13   * A document containing one currencyCode(@http://apply.grants.gov/forms/SF424-V1.0) attribute.
14   *
15   * This is a complex type.
16   */
17  public interface CurrencyCodeAttribute 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(CurrencyCodeAttribute.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("currencycode8fa4attrtypetype");
21      
22      /**
23       * Gets the "currencyCode" attribute
24       */
25      gov.grants.apply.system.universalCodesV10.CurrencyCodeType.Enum getCurrencyCode();
26      
27      /**
28       * Gets (as xml) the "currencyCode" attribute
29       */
30      gov.grants.apply.system.universalCodesV10.CurrencyCodeType xgetCurrencyCode();
31      
32      /**
33       * True if has "currencyCode" attribute
34       */
35      boolean isSetCurrencyCode();
36      
37      /**
38       * Sets the "currencyCode" attribute
39       */
40      void setCurrencyCode(gov.grants.apply.system.universalCodesV10.CurrencyCodeType.Enum currencyCode);
41      
42      /**
43       * Sets (as xml) the "currencyCode" attribute
44       */
45      void xsetCurrencyCode(gov.grants.apply.system.universalCodesV10.CurrencyCodeType currencyCode);
46      
47      /**
48       * Unsets the "currencyCode" attribute
49       */
50      void unsetCurrencyCode();
51      
52      /**
53       * A factory class with static methods for creating instances
54       * of this type.
55       */
56      
57      public static final class Factory
58      {
59          public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute newInstance() {
60            return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
61          
62          public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute newInstance(org.apache.xmlbeans.XmlOptions options) {
63            return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
64          
65          /** @param xmlAsString the string value to parse */
66          public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
67            return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
68          
69          public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
70            return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
71          
72          /** @param file the file from which to load an xml document */
73          public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
74            return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
75          
76          public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
77            return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
78          
79          public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
80            return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
81          
82          public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
83            return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
84          
85          public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
86            return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
87          
88          public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
89            return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
90          
91          public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
92            return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
93          
94          public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
95            return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
96          
97          public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
98            return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
99          
100         public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
101           return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
102         
103         public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
104           return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
105         
106         public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
107           return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
108         
109         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
110         public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
111           return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
112         
113         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
114         public static gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
115           return (gov.grants.apply.forms.sf424V10.CurrencyCodeAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
116         
117         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
118         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 {
119           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
120         
121         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
122         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 {
123           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
124         
125         private Factory() { } // No instance of this class allowed
126     }
127 }