KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > config > schema > MockClient


1 /**
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
3  * notice. All rights reserved.
4  */

5 package com.tc.config.schema;
6
7 import org.apache.xmlbeans.QNameSet;
8 import org.apache.xmlbeans.SchemaType;
9 import org.apache.xmlbeans.XmlCursor;
10 import org.apache.xmlbeans.XmlDocumentProperties;
11 import org.apache.xmlbeans.XmlObject;
12 import org.apache.xmlbeans.XmlOptions;
13 import org.apache.xmlbeans.xml.stream.XMLInputStream;
14 import org.w3c.dom.Node JavaDoc;
15 import org.xml.sax.ContentHandler JavaDoc;
16 import org.xml.sax.ext.LexicalHandler JavaDoc;
17
18 import com.tc.exception.ImplementMe;
19 import com.terracottatech.config.Client;
20 import com.terracottatech.config.DsoClientData;
21 import com.terracottatech.config.Modules;
22 import com.terracottatech.config.Path;
23
24 import java.io.File JavaDoc;
25 import java.io.InputStream JavaDoc;
26 import java.io.OutputStream JavaDoc;
27 import java.io.Reader JavaDoc;
28 import java.io.Writer JavaDoc;
29
30 import javax.xml.namespace.QName JavaDoc;
31 import javax.xml.stream.XMLStreamReader;
32
33 /**
34  * A mock {@link Client}, for use in tests.
35  */

36 public class MockClient implements Client {
37
38   public MockClient() {
39     super();
40   }
41
42   public String JavaDoc getLogs() {
43     throw new ImplementMe();
44   }
45
46   public Path xgetLogs() {
47     throw new ImplementMe();
48   }
49
50   public boolean isSetLogs() {
51     throw new ImplementMe();
52   }
53
54   public void setLogs(String JavaDoc arg0) {
55     throw new ImplementMe();
56   }
57
58   public void xsetLogs(Path arg0) {
59     throw new ImplementMe();
60   }
61
62   public void unsetLogs() {
63     throw new ImplementMe();
64   }
65
66   public DsoClientData getDso() {
67     throw new ImplementMe();
68   }
69
70   public boolean isSetDso() {
71     throw new ImplementMe();
72   }
73
74   public void setDso(DsoClientData arg0) {
75     throw new ImplementMe();
76
77   }
78
79   public DsoClientData addNewDso() {
80     throw new ImplementMe();
81   }
82
83   public void unsetDso() {
84     throw new ImplementMe();
85
86   }
87
88   public SchemaType schemaType() {
89     throw new ImplementMe();
90   }
91
92   public boolean validate() {
93     throw new ImplementMe();
94   }
95
96   public boolean validate(XmlOptions arg0) {
97     throw new ImplementMe();
98   }
99
100   public XmlObject[] selectPath(String JavaDoc arg0) {
101     throw new ImplementMe();
102   }
103
104   public XmlObject[] selectPath(String JavaDoc arg0, XmlOptions arg1) {
105     throw new ImplementMe();
106   }
107
108   public XmlObject[] execQuery(String JavaDoc arg0) {
109     throw new ImplementMe();
110   }
111
112   public XmlObject[] execQuery(String JavaDoc arg0, XmlOptions arg1) {
113     throw new ImplementMe();
114   }
115
116   public XmlObject changeType(SchemaType arg0) {
117     throw new ImplementMe();
118   }
119
120   public XmlObject substitute(QName JavaDoc arg0, SchemaType arg1) {
121     throw new ImplementMe();
122   }
123
124   public boolean isNil() {
125     throw new ImplementMe();
126   }
127
128   public void setNil() {
129     throw new ImplementMe();
130
131   }
132
133   public boolean isImmutable() {
134     throw new ImplementMe();
135   }
136
137   public XmlObject set(XmlObject arg0) {
138     throw new ImplementMe();
139   }
140
141   public XmlObject copy() {
142     throw new ImplementMe();
143   }
144
145   public boolean valueEquals(XmlObject arg0) {
146     throw new ImplementMe();
147   }
148
149   public int valueHashCode() {
150     throw new ImplementMe();
151   }
152
153   public int compareTo(Object JavaDoc arg0) {
154     throw new ImplementMe();
155   }
156
157   public int compareValue(XmlObject arg0) {
158     throw new ImplementMe();
159   }
160
161   public XmlObject[] selectChildren(QName JavaDoc arg0) {
162     throw new ImplementMe();
163   }
164
165   public XmlObject[] selectChildren(String JavaDoc arg0, String JavaDoc arg1) {
166     throw new ImplementMe();
167   }
168
169   public XmlObject[] selectChildren(QNameSet arg0) {
170     throw new ImplementMe();
171   }
172
173   public XmlObject selectAttribute(QName JavaDoc arg0) {
174     throw new ImplementMe();
175   }
176
177   public XmlObject selectAttribute(String JavaDoc arg0, String JavaDoc arg1) {
178     throw new ImplementMe();
179   }
180
181   public XmlObject[] selectAttributes(QNameSet arg0) {
182     throw new ImplementMe();
183   }
184
185   public Object JavaDoc monitor() {
186     throw new ImplementMe();
187   }
188
189   public XmlDocumentProperties documentProperties() {
190     throw new ImplementMe();
191   }
192
193   public XmlCursor newCursor() {
194     throw new ImplementMe();
195   }
196
197   public XMLInputStream newXMLInputStream() {
198     throw new ImplementMe();
199   }
200
201   public XMLStreamReader newXMLStreamReader() {
202     throw new ImplementMe();
203   }
204
205   public String JavaDoc xmlText() {
206     throw new ImplementMe();
207   }
208
209   public InputStream newInputStream() {
210     throw new ImplementMe();
211   }
212
213   public Reader JavaDoc newReader() {
214     throw new ImplementMe();
215   }
216
217   public Node JavaDoc newDomNode() {
218     throw new ImplementMe();
219   }
220
221   public Node JavaDoc getDomNode() {
222     throw new ImplementMe();
223   }
224
225   public void save(ContentHandler JavaDoc arg0, LexicalHandler JavaDoc arg1) {
226     throw new ImplementMe();
227   }
228
229   public void save(File JavaDoc arg0) {
230     throw new ImplementMe();
231   }
232
233   public void save(OutputStream JavaDoc arg0) {
234     throw new ImplementMe();
235   }
236
237   public void save(Writer JavaDoc arg0) {
238     throw new ImplementMe();
239   }
240
241   public XMLInputStream newXMLInputStream(XmlOptions arg0) {
242     throw new ImplementMe();
243   }
244
245   public XMLStreamReader newXMLStreamReader(XmlOptions arg0) {
246     throw new ImplementMe();
247   }
248
249   public String JavaDoc xmlText(XmlOptions arg0) {
250     throw new ImplementMe();
251   }
252
253   public InputStream newInputStream(XmlOptions arg0) {
254     throw new ImplementMe();
255   }
256
257   public Reader JavaDoc newReader(XmlOptions arg0) {
258     throw new ImplementMe();
259   }
260
261   public Node JavaDoc newDomNode(XmlOptions arg0) {
262     throw new ImplementMe();
263   }
264
265   public void save(ContentHandler JavaDoc arg0, LexicalHandler JavaDoc arg1, XmlOptions arg2) {
266     throw new ImplementMe();
267   }
268
269   public void save(File JavaDoc arg0, XmlOptions arg1) {
270     throw new ImplementMe();
271   }
272
273   public void save(OutputStream JavaDoc arg0, XmlOptions arg1) {
274     throw new ImplementMe();
275   }
276
277   public void save(Writer JavaDoc arg0, XmlOptions arg1) {
278     throw new ImplementMe();
279   }
280
281   public void dump() {
282     throw new ImplementMe();
283   }
284
285   public Modules addNewModules() {
286     throw new ImplementMe();
287   }
288
289   public Modules getModules() {
290     throw new ImplementMe();
291   }
292
293   public boolean isSetModules() {
294     throw new ImplementMe();
295   }
296
297   public void setModules(Modules modules) {
298     throw new ImplementMe();
299
300   }
301
302   public void unsetModules() {
303     throw new ImplementMe();
304   }
305
306 }
307
Popular Tags