Code

cleanup: Remove some commented-out code.
[inkscape.git] / src / dom / lsimpl.cpp.orig
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)
108 /**
109  *
110  */
111 bool LSParserImpl::getAsync()
113     return false;
116 /**
117  *
118  */
119 bool LSParserImpl::getBusy()
121     return false;
124 /**
125  *
126  */
127 Document *LSParserImpl::parse(const LSInput *input)
128                             throw(dom::DOMException, LSException)
130     return NULL;
134 /**
135  *
136  */
137 Document *LSParserImpl::parseURI(const DOMString &uri)
138                                throw(dom::DOMException, LSException)
140     return NULL;
143    /**
144  *
145  */
146 Node *LSParserImpl::parseWithContext(const LSInput *input,
147                                    const Node *contextArg,
148                                    unsigned short action)
149                                    throw(dom::DOMException, LSException)
151     return NULL;
154 /**
155  *
156  */
157 void LSParserImpl::abort()
163 //##################
164 //# Non-API methods
165 //##################
167 /**
168  *
169  */
170 LSParserImpl::~LSParserImpl()
175 /*#########################################################################
176 ## LSInputImpl
177 #########################################################################*/
179 /**
180  *
181  */
182 LSReader *LSInputImpl::getCharacterStream()
184     return NULL;
187 /**
188  *
189  */
190 void LSInputImpl::setCharacterStream(const LSReader *val)
194 /**
195  *
196  */
197 LSInputStream *LSInputImpl::getByteStream()
199     return NULL;
202 /**
203  *
204  */
205 void LSInputImpl::setByteStream(const LSInputStream *val)
209 /**
210  *
211  */
212 DOMString LSInputImpl::getStringData()
214     return DOMString("");
217 /**
218  *
219  */
220 void LSInputImpl::setStringData(const DOMString &val)
224 /**
225  *
226  */
227 DOMString LSInputImpl::getSystemId()
229     return DOMString("");
232 /**
233  *
234  */
235 void LSInputImpl::setSystemId(const DOMString &val)
239 /**
240  *
241  */
242 DOMString LSInputImpl::getPublicId()
244     return DOMString("");
247 /**
248  *
249  */
250 void LSInputImpl::setPublicId(const DOMString &val)
254 /**
255  *
256  */
257 DOMString LSInputImpl::getBaseURI()
259     return DOMString("");
262 /**
263  *
264  */
265 void LSInputImpl::setBaseURI(const DOMString &val)
269 /**
270  *
271  */
272 DOMString LSInputImpl::getEncoding()
274     return DOMString("");
277 /**
278  *
279  */
280 void LSInputImpl::setEncoding(const DOMString &val)
284 /**
285  *
286  */
287 bool LSInputImpl::getCertifiedText()
289     return false;
292 /**
293  *
294  */
295 void LSInputImpl::setCertifiedText(bool val)
299 //##################
300 //# Non-API methods
301 //##################
303 /**
304  *
305  */
306 LSInputImpl::~LSInputImpl()
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)
331 //##################
332 //# Non-API methods
333 //##################
335 /**
336  *
337  */
338 LSResourceResolverImpl::~LSResourceResolverImpl()
345 /*#########################################################################
346 ## LSParserFilterImpl
347 #########################################################################*/
350 /**
351  *
352  */
353 unsigned short LSParserFilterImpl::startElement(const Element *elementArg)
355     return 0;
358 /**
359  *
360  */
361 unsigned short LSParserFilterImpl::acceptNode(const Node *nodeArg)
363     return 0;
366 /**
367  *
368  */
369 unsigned long LSParserFilterImpl::getWhatToShow()
371     return 0L;
374 //##################
375 //# Non-API methods
376 //##################
378 /**
379  *
380  */
381 LSParserFilterImpl::~LSParserFilterImpl()
388 /*#########################################################################
389 ## LSSerializerImpl
390 #########################################################################*/
393 /**
394  *
395  */
396 DOMConfiguration *LSSerializerImpl::getDomConfig()
398     return NULL;
401 /**
402  *
403  */
404 DOMString LSSerializerImpl::getNewLine()
406     return DOMString("");
409 /**
410  *
411  */
412 void LSSerializerImpl::setNewLine(const DOMString &val)
416 /**
417  *
418  */
419 LSSerializerFilter *LSSerializerImpl::getFilter()
421     return NULL;
424 /**
425  *
426  */
427 void LSSerializerImpl::setFilter(const LSSerializerFilter *val)
431 /**
432  *
433  */
434 bool LSSerializerImpl::write(const Node *nodeArg,
435                        const LSOutput *destination)
436                        throw (LSException)
438     return false;
441 /**
442  *
443  */
444 bool LSSerializerImpl::writeToURI(const Node *nodeArg,
445                                const DOMString &uri)
446                                throw(LSException)
448     return false;
451 /**
452  *
453  */
454 DOMString LSSerializerImpl::writeToString(const Node *nodeArg)
455                                     throw(dom::DOMException, LSException)
457     return DOMString("");
460 //##################
461 //# Non-API methods
462 //##################
464 /**
465  *
466  */
467 LSSerializerImpl::~LSSerializerImpl()
474 /*#########################################################################
475 ## LSOutputImpl
476 #########################################################################*/
478 /**
479  *
480  */
481 LSWriter *LSOutputImpl::getCharacterStream()
483     return NULL;
486 /**
487  *
488  */
489 void LSOutputImpl::setCharacterStream(const LSWriter *val)
493 /**
494  *
495  */
496 LSOutputStream *LSOutputImpl::getByteStream()
498     return NULL;
501 /**
502  *
503  */
504 void LSOutputImpl::setByteStream(const LSOutputStream *val)
508 /**
509  *
510  */
511 DOMString LSOutputImpl::getSystemId()
513     return DOMString("");
516 /**
517  *
518  */
519 void LSOutputImpl::setSystemId(const DOMString &val)
523 /**
524  *
525  */
526 DOMString LSOutputImpl::getEncoding()
528     return DOMString("");
531 /**
532  *
533  */
534 void LSOutputImpl::setEncoding(const DOMString &val)
539 //##################
540 //# Non-API methods
541 //##################
543 /**
544  *
545  */
546 LSOutputImpl::~LSOutputImpl()
552 /*#########################################################################
553 ## LSProgressEventImpl
554 #########################################################################*/
556 /**
557  *
558  */
559 LSInput *LSProgressEventImpl::getInput()
561     return NULL;
564 /**
565  *
566  */
567 unsigned long LSProgressEventImpl::getPosition()
569     return 0L;
572 /**
573  *
574  */
575 unsigned long LSProgressEventImpl::getTotalSize()
577     return 0L;
580 //##################
581 //# Non-API methods
582 //##################
584 /**
585  *
586  */
587 LSProgressEventImpl::~LSProgressEventImpl()
593 /*#########################################################################
594 ## LSLoadEventImpl
595 #########################################################################*/
597 /**
598  *
599  */
600 Document *LSLoadEventImpl::getNewDocument()
602     return NULL;
605 /**
606  *
607  */
608 LSInput *LSLoadEventImpl::getInput()
610     return NULL;
613 //##################
614 //# Non-API methods
615 //##################
617 /**
618  *
619  */
620 LSLoadEventImpl::~LSLoadEventImpl()
628 /*#########################################################################
629 ## LSSerializerFilterImpl
630 #########################################################################*/
633 /**
634  *
635  */
636 unsigned long  LSSerializerFilterImpl::getWhatToShow()
638     return 0L;
641 //##################
642 //# Non-API methods
643 //##################
645 /**
646  *
647  */
648 LSSerializerFilterImpl::~LSSerializerFilterImpl()
659 }  //namespace ls
660 }  //namespace dom
661 }  //namespace w3c
662 }  //namespace org
668 /*#########################################################################
669 ## E N D    O F    F I L E
670 #########################################################################*/