1 /*
2 * An XML document type.
3 * Localname: amount
4 * Namespace: http://mrl.sf.net
5 * Java type: net.sf.mrl.AmountDocument
6 *
7 * Automatically generated - do not modify.
8 */
9 package net.sf.mrl;
10
11
12 /***
13 * A document containing one amount(@http://mrl.sf.net) element.
14 *
15 * This is a complex type.
16 */
17 public interface AmountDocument extends org.apache.xmlbeans.XmlObject
18 {
19 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sE29068435D67997CD7F0E8EBB2A08AD1.TypeSystemHolder.typeSystem.resolveHandle("amount070cdoctype");
20
21 /***
22 * Gets the "amount" element
23 */
24 net.sf.mrl.AmountDocument.Amount getAmount();
25
26 /***
27 * Sets the "amount" element
28 */
29 void setAmount(net.sf.mrl.AmountDocument.Amount amount);
30
31 /***
32 * Appends and returns a new empty "amount" element
33 */
34 net.sf.mrl.AmountDocument.Amount addNewAmount();
35
36 /***
37 * An XML amount(@http://mrl.sf.net).
38 *
39 * This is an atomic type that is a restriction of org.apache.xmlbeans.XmlDecimal.
40 */
41 public interface Amount extends org.apache.xmlbeans.XmlDecimal
42 {
43 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sE29068435D67997CD7F0E8EBB2A08AD1.TypeSystemHolder.typeSystem.resolveHandle("amountc798elemtype");
44
45 /***
46 * Gets the "unit" attribute
47 */
48 java.lang.String getUnit();
49
50 /***
51 * Gets (as xml) the "unit" attribute
52 */
53 org.apache.xmlbeans.XmlString xgetUnit();
54
55 /***
56 * True if has "unit" attribute
57 */
58 boolean isSetUnit();
59
60 /***
61 * Sets the "unit" attribute
62 */
63 void setUnit(java.lang.String unit);
64
65 /***
66 * Sets (as xml) the "unit" attribute
67 */
68 void xsetUnit(org.apache.xmlbeans.XmlString unit);
69
70 /***
71 * Unsets the "unit" attribute
72 */
73 void unsetUnit();
74
75 /***
76 * A factory class with static methods for creating instances
77 * of this type.
78 */
79
80 public static final class Factory
81 {
82 public static net.sf.mrl.AmountDocument.Amount newInstance() {
83 return (net.sf.mrl.AmountDocument.Amount) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
84
85 public static net.sf.mrl.AmountDocument.Amount newInstance(org.apache.xmlbeans.XmlOptions options) {
86 return (net.sf.mrl.AmountDocument.Amount) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
87
88 private Factory() { } // No instance of this class allowed
89 }
90 }
91
92 /***
93 * A factory class with static methods for creating instances
94 * of this type.
95 */
96
97 public static final class Factory
98 {
99 public static net.sf.mrl.AmountDocument newInstance() {
100 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
101
102 public static net.sf.mrl.AmountDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
103 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
104
105 public static net.sf.mrl.AmountDocument parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
106 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); }
107
108 public static net.sf.mrl.AmountDocument parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
109 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); }
110
111 public static net.sf.mrl.AmountDocument parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
112 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); }
113
114 public static net.sf.mrl.AmountDocument parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
115 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); }
116
117 public static net.sf.mrl.AmountDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
118 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
119
120 public static net.sf.mrl.AmountDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
121 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
122
123 public static net.sf.mrl.AmountDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
124 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
125
126 public static net.sf.mrl.AmountDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
127 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
128
129 public static net.sf.mrl.AmountDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
130 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
131
132 public static net.sf.mrl.AmountDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
133 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
134
135 public static net.sf.mrl.AmountDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
136 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
137
138 public static net.sf.mrl.AmountDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
139 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
140
141 public static net.sf.mrl.AmountDocument parse(weblogic.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, weblogic.xml.stream.XMLStreamException {
142 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
143
144 public static net.sf.mrl.AmountDocument parse(weblogic.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, weblogic.xml.stream.XMLStreamException {
145 return (net.sf.mrl.AmountDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
146
147 public static weblogic.xml.stream.XMLInputStream newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, weblogic.xml.stream.XMLStreamException {
148 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
149
150 public static weblogic.xml.stream.XMLInputStream newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, weblogic.xml.stream.XMLStreamException {
151 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
152
153 private Factory() { } // No instance of this class allowed
154 }
155 }
This page was automatically generated by Maven