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