1 /*
2 * Copyright (c) 2004 World Wide Web Consortium,
3 *
4 * (Massachusetts Institute of Technology, European Research Consortium for
5 * Informatics and Mathematics, Keio University). All Rights Reserved. This
6 * work is distributed under the W3C(r) Software License [1] in the hope that
7 * it will be useful, but WITHOUT ANY WARRANTY; without even the implied
8 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9 *
10 * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
11 */
13 // File: http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/ls.idl
15 #include "domimpl.h"
16 #include "eventsimpl.h"
17 #include "traversalimpl.h"
18 #include "lsimpl.h"
22 namespace org {
23 namespace w3c {
24 namespace dom {
25 namespace ls {
30 /*#########################################################################
31 ## DOMImplementationLSImpl
32 #########################################################################*/
35 /**
36 *
37 */
38 LSParser *DOMImplementationLSImpl::createLSParser(unsigned short mode,
39 const DOMString &schemaType)
40 throw (dom::DOMException)
41 {
42 return NULL;
43 }
45 /**
46 *
47 */
48 LSSerializer *DOMImplementationLSImpl::createLSSerializer()
49 {
50 return NULL;
51 }
53 /**
54 *
55 */
56 LSInput *DOMImplementationLSImpl::createLSInput()
57 {
58 return NULL;
59 }
61 /**
62 *
63 */
64 LSOutput *DOMImplementationLSImpl::createLSOutput()
65 {
66 return NULL;
67 }
69 //##################
70 //# Non-API methods
71 //##################
73 /**
74 *
75 */
76 DOMImplementationLSImpl::~DOMImplementationLSImpl()
77 {
78 }
80 /*#########################################################################
81 ## LSParserImpl
82 #########################################################################*/
85 /**
86 *
87 */
88 DOMConfiguration *LSParserImpl::getDomConfig()
89 {
90 return NULL;
91 }
93 /**
94 *
95 */
96 LSParserFilter *LSParserImpl::getFilter()
97 {
98 return NULL;
99 }
101 /**
102 *
103 */
104 void LSParserImpl::setFilter(const LSParserFilter *val)
105 {
106 }
108 /**
109 *
110 */
111 bool LSParserImpl::getAsync()
112 {
113 return false;
114 }
116 /**
117 *
118 */
119 bool LSParserImpl::getBusy()
120 {
121 return false;
122 }
124 /**
125 *
126 */
127 Document *LSParserImpl::parse(const LSInput *input)
128 throw(dom::DOMException, LSException)
129 {
130 return NULL;
131 }
134 /**
135 *
136 */
137 Document *LSParserImpl::parseURI(const DOMString &uri)
138 throw(dom::DOMException, LSException)
139 {
140 return NULL;
141 }
143 /**
144 *
145 */
146 Node *LSParserImpl::parseWithContext(const LSInput *input,
147 const Node *contextArg,
148 unsigned short action)
149 throw(dom::DOMException, LSException)
150 {
151 return NULL;
152 }
154 /**
155 *
156 */
157 void LSParserImpl::abort()
158 {
159 }
163 //##################
164 //# Non-API methods
165 //##################
167 /**
168 *
169 */
170 LSParserImpl::~LSParserImpl()
171 {
172 }
175 /*#########################################################################
176 ## LSInputImpl
177 #########################################################################*/
179 /**
180 *
181 */
182 LSReader *LSInputImpl::getCharacterStream()
183 {
184 return NULL;
185 }
187 /**
188 *
189 */
190 void LSInputImpl::setCharacterStream(const LSReader *val)
191 {
192 }
194 /**
195 *
196 */
197 LSInputStream *LSInputImpl::getByteStream()
198 {
199 return NULL;
200 }
202 /**
203 *
204 */
205 void LSInputImpl::setByteStream(const LSInputStream *val)
206 {
207 }
209 /**
210 *
211 */
212 DOMString LSInputImpl::getStringData()
213 {
214 return DOMString("");
215 }
217 /**
218 *
219 */
220 void LSInputImpl::setStringData(const DOMString &val)
221 {
222 }
224 /**
225 *
226 */
227 DOMString LSInputImpl::getSystemId()
228 {
229 return DOMString("");
230 }
232 /**
233 *
234 */
235 void LSInputImpl::setSystemId(const DOMString &val)
236 {
237 }
239 /**
240 *
241 */
242 DOMString LSInputImpl::getPublicId()
243 {
244 return DOMString("");
245 }
247 /**
248 *
249 */
250 void LSInputImpl::setPublicId(const DOMString &val)
251 {
252 }
254 /**
255 *
256 */
257 DOMString LSInputImpl::getBaseURI()
258 {
259 return DOMString("");
260 }
262 /**
263 *
264 */
265 void LSInputImpl::setBaseURI(const DOMString &val)
266 {
267 }
269 /**
270 *
271 */
272 DOMString LSInputImpl::getEncoding()
273 {
274 return DOMString("");
275 }
277 /**
278 *
279 */
280 void LSInputImpl::setEncoding(const DOMString &val)
281 {
282 }
284 /**
285 *
286 */
287 bool LSInputImpl::getCertifiedText()
288 {
289 return false;
290 }
292 /**
293 *
294 */
295 void LSInputImpl::setCertifiedText(bool val)
296 {
297 }
299 //##################
300 //# Non-API methods
301 //##################
303 /**
304 *
305 */
306 LSInputImpl::~LSInputImpl()
307 {
308 }
316 /*#########################################################################
317 ## LSResourceResolverImpl
318 #########################################################################*/
320 /**
321 *
322 */
323 LSInput *LSResourceResolverImpl::resolveResource(const DOMString &type,
324 const DOMString &namespaceURI,
325 const DOMString &publicId,
326 const DOMString *systemId,
327 const DOMString &baseURI)
328 {
329 }
331 //##################
332 //# Non-API methods
333 //##################
335 /**
336 *
337 */
338 LSResourceResolverImpl::~LSResourceResolverImpl()
339 {
340 }
345 /*#########################################################################
346 ## LSParserFilterImpl
347 #########################################################################*/
350 /**
351 *
352 */
353 unsigned short LSParserFilterImpl::startElement(const Element *elementArg)
354 {
355 return 0;
356 }
358 /**
359 *
360 */
361 unsigned short LSParserFilterImpl::acceptNode(const Node *nodeArg)
362 {
363 return 0;
364 }
366 /**
367 *
368 */
369 unsigned long LSParserFilterImpl::getWhatToShow()
370 {
371 return 0L;
372 }
374 //##################
375 //# Non-API methods
376 //##################
378 /**
379 *
380 */
381 LSParserFilterImpl::~LSParserFilterImpl()
382 {
383 }
388 /*#########################################################################
389 ## LSSerializerImpl
390 #########################################################################*/
393 /**
394 *
395 */
396 DOMConfiguration *LSSerializerImpl::getDomConfig()
397 {
398 return NULL;
399 }
401 /**
402 *
403 */
404 DOMString LSSerializerImpl::getNewLine()
405 {
406 return DOMString("");
407 }
409 /**
410 *
411 */
412 void LSSerializerImpl::setNewLine(const DOMString &val)
413 {
414 }
416 /**
417 *
418 */
419 LSSerializerFilter *LSSerializerImpl::getFilter()
420 {
421 return NULL;
422 }
424 /**
425 *
426 */
427 void LSSerializerImpl::setFilter(const LSSerializerFilter *val)
428 {
429 }
431 /**
432 *
433 */
434 bool LSSerializerImpl::write(const Node *nodeArg,
435 const LSOutput *destination)
436 throw (LSException)
437 {
438 return false;
439 }
441 /**
442 *
443 */
444 bool LSSerializerImpl::writeToURI(const Node *nodeArg,
445 const DOMString &uri)
446 throw(LSException)
447 {
448 return false;
449 }
451 /**
452 *
453 */
454 DOMString LSSerializerImpl::writeToString(const Node *nodeArg)
455 throw(dom::DOMException, LSException)
456 {
457 return DOMString("");
458 }
460 //##################
461 //# Non-API methods
462 //##################
464 /**
465 *
466 */
467 LSSerializerImpl::~LSSerializerImpl()
468 {
469 }
474 /*#########################################################################
475 ## LSOutputImpl
476 #########################################################################*/
478 /**
479 *
480 */
481 LSWriter *LSOutputImpl::getCharacterStream()
482 {
483 return NULL;
484 }
486 /**
487 *
488 */
489 void LSOutputImpl::setCharacterStream(const LSWriter *val)
490 {
491 }
493 /**
494 *
495 */
496 LSOutputStream *LSOutputImpl::getByteStream()
497 {
498 return NULL;
499 }
501 /**
502 *
503 */
504 void LSOutputImpl::setByteStream(const LSOutputStream *val)
505 {
506 }
508 /**
509 *
510 */
511 DOMString LSOutputImpl::getSystemId()
512 {
513 return DOMString("");
514 }
516 /**
517 *
518 */
519 void LSOutputImpl::setSystemId(const DOMString &val)
520 {
521 }
523 /**
524 *
525 */
526 DOMString LSOutputImpl::getEncoding()
527 {
528 return DOMString("");
529 }
531 /**
532 *
533 */
534 void LSOutputImpl::setEncoding(const DOMString &val)
535 {
536 }
539 //##################
540 //# Non-API methods
541 //##################
543 /**
544 *
545 */
546 LSOutputImpl::~LSOutputImpl()
547 {
548 }
552 /*#########################################################################
553 ## LSProgressEventImpl
554 #########################################################################*/
556 /**
557 *
558 */
559 LSInput *LSProgressEventImpl::getInput()
560 {
561 return NULL;
562 }
564 /**
565 *
566 */
567 unsigned long LSProgressEventImpl::getPosition()
568 {
569 return 0L;
570 }
572 /**
573 *
574 */
575 unsigned long LSProgressEventImpl::getTotalSize()
576 {
577 return 0L;
578 }
580 //##################
581 //# Non-API methods
582 //##################
584 /**
585 *
586 */
587 LSProgressEventImpl::~LSProgressEventImpl()
588 {
589 }
593 /*#########################################################################
594 ## LSLoadEventImpl
595 #########################################################################*/
597 /**
598 *
599 */
600 Document *LSLoadEventImpl::getNewDocument()
601 {
602 return NULL;
603 }
605 /**
606 *
607 */
608 LSInput *LSLoadEventImpl::getInput()
609 {
610 return NULL;
611 }
613 //##################
614 //# Non-API methods
615 //##################
617 /**
618 *
619 */
620 LSLoadEventImpl::~LSLoadEventImpl()
621 {
622 }
628 /*#########################################################################
629 ## LSSerializerFilterImpl
630 #########################################################################*/
633 /**
634 *
635 */
636 unsigned long LSSerializerFilterImpl::getWhatToShow()
637 {
638 return 0L;
639 }
641 //##################
642 //# Non-API methods
643 //##################
645 /**
646 *
647 */
648 LSSerializerFilterImpl::~LSSerializerFilterImpl()
649 {
650 }
659 } //namespace ls
660 } //namespace dom
661 } //namespace w3c
662 } //namespace org
668 /*#########################################################################
669 ## E N D O F F I L E
670 #########################################################################*/