Code

moving trunk for module inkscape
[inkscape.git] / src / dom / smilimpl.cpp
1 /**
2  * Phoebe DOM Implementation.
3  *
4  * This is a C++ approximation of the W3C DOM model, which follows
5  * fairly closely the specifications in the various .idl files, copies of
6  * which are provided for reference.  Most important is this one:
7  *
8  * http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/idl-definitions.html
9  *
10  * Authors:
11  *   Bob Jamison
12  *
13  * Copyright (C) 2005 Bob Jamison
14  *
15  *  This library is free software; you can redistribute it and/or
16  *  modify it under the terms of the GNU Lesser General Public
17  *  License as published by the Free Software Foundation; either
18  *  version 2.1 of the License, or (at your option) any later version.
19  *
20  *  This library is distributed in the hope that it will be useful,
21  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
22  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
23  *  Lesser General Public License for more details.
24  *
25  *  You should have received a copy of the GNU Lesser General Public
26  *  License along with this library; if not, write to the Free Software
27  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
28  */
31 #include "smilimpl.h"
34 namespace org
35 {
36 namespace w3c
37 {
38 namespace dom
39 {
40 namespace smil
41 {
44 /*#########################################################################
45 ## SMILDocumentImpl
46 #########################################################################*/
49 //##################
50 //# Non-API methods
51 //##################
53 /**
54  *
55  */
56 SMILDocumentImpl::SMILDocumentImpl() : DocumentImpl(NULL, "", "", NULL)
57 {
58 }
60 /**
61  *
62  */
63 SMILDocumentImpl::~SMILDocumentImpl()
64 {
65 }
70 /*#########################################################################
71 ## SMILElementImpl
72 #########################################################################*/
74 /**
75  *
76  */
77 DOMString SMILElementImpl::getId()
78 {
79     return DOMString("");
80 }
82 /**
83  *
84  */
85 void SMILElementImpl::setId(const DOMString &val) throw (dom::DOMException)
86 {
87 }
90 //##################
91 //# Non-API methods
92 //##################
94 /**
95  *
96  */
97 SMILElementImpl::~SMILElementImpl()
98 {
99 }
104 /*#########################################################################
105 ## SMILLayoutElementImpl
106 #########################################################################*/
108 /**
109  *
110  */
111 DOMString SMILLayoutElementImpl::getType()
113     return DOMString("");
116 /**
117  *
118  */
119 bool SMILLayoutElementImpl::getResolved()
121     return false;
124 //##################
125 //# Non-API methods
126 //##################
128 /**
129  *
130  */
131 SMILLayoutElementImpl::~SMILLayoutElementImpl()
138 /*#########################################################################
139 ## SMILTopLayoutElementImpl
140 #########################################################################*/
143 //##################
144 //# Non-API methods
145 //##################
147 /**
148  *
149  */
150 SMILTopLayoutElementImpl::~SMILTopLayoutElementImpl()
157 /*#########################################################################
158 ## SMILRootLayoutElementImpl
159 #########################################################################*/
163 //##################
164 //# Non-API methods
165 //##################
167 /**
168  *
169  */
170 SMILRootLayoutElementImpl::~SMILRootLayoutElementImpl()
177 /*#########################################################################
178 ## SMILRegionElementImpl
179 #########################################################################*/
181 /**
182  *
183  */
184 DOMString SMILRegionElementImpl::getFit()
186     return DOMString("");
189 /**
190  *
191  */
192 void SMILRegionElementImpl::setFit(const DOMString &val) throw (dom::DOMException)
196 /**
197  *
198  */
199 DOMString SMILRegionElementImpl::getTop()
201     return DOMString("");
204 /**
205  *
206  */
207 void SMILRegionElementImpl::setTop(const DOMString &val) throw (dom::DOMException)
211 /**
212  *
213  */
214 long SMILRegionElementImpl::getZIndex()
216     return 0L;
219 /**
220  *
221  */
222 void SMILRegionElementImpl::setZIndex(long val) throw (dom::DOMException)
227 //##################
228 //# Non-API methods
229 //##################
231 /**
232  *
233  */
234 SMILRegionElementImpl::~SMILRegionElementImpl()
241 /*#########################################################################
242 ## SMILMediaElementImpl
243 #########################################################################*/
245 /**
246  *
247  */
248 DOMString SMILMediaElementImpl::getAbstractAttr()
250     return DOMString("");
253 /**
254  *
255  */
256 void SMILMediaElementImpl::setAbstractAttr(const DOMString &val)
257                                    throw (dom::DOMException)
261 /**
262  *
263  */
264 DOMString SMILMediaElementImpl::getAlt()
266     return DOMString("");
269 /**
270  *
271  */
272 void SMILMediaElementImpl::setAlt(const DOMString &val)
273                                    throw (dom::DOMException)
277 /**
278  *
279  */
280 DOMString SMILMediaElementImpl::getAuthor()
282     return DOMString("");
285 /**
286  *
287  */
288 void SMILMediaElementImpl::setAuthor(const DOMString &val)
289                                   throw (dom::DOMException)
293 /**
294  *
295  */
296 DOMString SMILMediaElementImpl::getClipBegin()
298     return DOMString("");
301 /**
302  *
303  */
304 void SMILMediaElementImpl::setClipBegin(const DOMString &val)
305                                  throw (dom::DOMException)
309 /**
310  *
311  */
312 DOMString SMILMediaElementImpl::getClipEnd()
314     return DOMString("");
317 /**
318  *
319  */
320 void SMILMediaElementImpl::setClipEnd(const DOMString &val)
321                                throw (dom::DOMException)
325 /**
326  *
327  */
328 DOMString SMILMediaElementImpl::getCopyright()
330     return DOMString("");
333 /**
334  *
335  */
336 void SMILMediaElementImpl::setCopyright(const DOMString &val)
337                                   throw (dom::DOMException)
341 /**
342  *
343  */
344 DOMString SMILMediaElementImpl::getLongdesc()
346     return DOMString("");
349 /**
350  *
351  */
352 void SMILMediaElementImpl::setLongdesc(const DOMString &val)
353                                throw (dom::DOMException)
357 /**
358  *
359  */
360 DOMString SMILMediaElementImpl::getPort()
362     return DOMString("");
365 /**
366  *
367  */
368 void SMILMediaElementImpl::setPort(const DOMString &val)
369                                  throw (dom::DOMException)
373 /**
374  *
375  */
376 DOMString SMILMediaElementImpl::getReadIndex()
378     return DOMString("");
381 /**
382  *
383  */
384 void SMILMediaElementImpl::setReadIndex(const DOMString &val)
385                                 throw (dom::DOMException)
389 /**
390  *
391  */
392 DOMString SMILMediaElementImpl::getRtpformat()
394     return DOMString("");
397 /**
398  *
399  */
400 void SMILMediaElementImpl::setRtpformat(const DOMString &val)
401                               throw (dom::DOMException)
405 /**
406  *
407  */
408 DOMString SMILMediaElementImpl::getSrc()
410     return DOMString("");
413 /**
414  *
415  */
416 void SMILMediaElementImpl::setSrc(const DOMString &val)
417                                  throw (dom::DOMException)
421 /**
422  *
423  */
424 DOMString SMILMediaElementImpl::getStripRepeat()
426     return DOMString("");
429 /**
430  *
431  */
432 void SMILMediaElementImpl::setStripRepeat(const DOMString &val)
433                                  throw (dom::DOMException)
437 /**
438  *
439  */
440 DOMString SMILMediaElementImpl::getTitle()
442     return DOMString("");
445 /**
446  *
447  */
448 void SMILMediaElementImpl::setTitle(const DOMString &val)
449                                 throw (dom::DOMException)
453 /**
454  *
455  */
456 DOMString SMILMediaElementImpl::getTransport()
458     return DOMString("");
461 /**
462  *
463  */
464 void SMILMediaElementImpl::setTransport(const DOMString &val)
465                                  throw (dom::DOMException)
469 /**
470  *
471  */
472 DOMString SMILMediaElementImpl::getType()
474     return DOMString("");
477 /**
478  *
479  */
480 void SMILMediaElementImpl::setType(const DOMString &val)
481                                       throw (dom::DOMException)
487 //##################
488 //# Non-API methods
489 //##################
491 /**
492  *
493  */
494 SMILMediaElementImpl::~SMILMediaElementImpl()
501 /*#########################################################################
502 ## SMILRefElementImpl
503 #########################################################################*/
507 //##################
508 //# Non-API methods
509 //##################
511 /**
512  *
513  */
514 SMILRefElementImpl::~SMILRefElementImpl()
521 /*#########################################################################
522 ## SMILAnimationImpl
523 #########################################################################*/
526 /**
527  *
528  */
529 unsigned short SMILAnimationImpl::getAdditive()
531     return 0;
534 /**
535  *
536  */
537 void SMILAnimationImpl::setAdditive(unsigned short val)
538                                  throw (dom::DOMException)
542 /**
543  *
544  */
545 unsigned short SMILAnimationImpl::getAccumulate()
547     return 0;
550 /**
551  *
552  */
553 void SMILAnimationImpl::setAccumulate(unsigned short val)
554                                 throw (dom::DOMException)
558 /**
559  *
560  */
561 unsigned short SMILAnimationImpl::getCalcMode()
563     return 0;
566 /**
567  *
568  */
569 void SMILAnimationImpl::setCalcMode(unsigned short val)
570                                   throw (dom::DOMException)
574 /**
575  *
576  */
577 DOMString SMILAnimationImpl::getKeySplines()
579     return DOMString("");
582 /**
583  *
584  */
585 void SMILAnimationImpl::setKeySplines(const DOMString &val)
586                                 throw (dom::DOMException)
590 /**
591  *
592  */
593 TimeList SMILAnimationImpl::getKeyTimes()
595     return keyTimes;
598 /**
599  *
600  */
601 void SMILAnimationImpl::setKeyTimes(const TimeList &val)
602                                throw (dom::DOMException)
604     keyTimes = val;
607 /**
608  *
609  */
610 DOMString SMILAnimationImpl::getValues()
612     return DOMString("");
615 /**
616  *
617  */
618 void SMILAnimationImpl::setValues(const DOMString &val)
619                                throw (dom::DOMException)
623 /**
624  *
625  */
626 DOMString SMILAnimationImpl::getFrom()
628     return DOMString("");
631 /**
632  *
633  */
634 void SMILAnimationImpl::setFrom(const DOMString &val)
635                                throw (dom::DOMException)
639 /**
640  *
641  */
642 DOMString SMILAnimationImpl::getTo()
644     return DOMString("");
647 /**
648  *
649  */
650 void SMILAnimationImpl::setTo(const DOMString &val)
651                               throw (dom::DOMException)
655 /**
656  *
657  */
658 DOMString SMILAnimationImpl::getBy()
660     return DOMString("");
663 /**
664  *
665  */
666 void SMILAnimationImpl::setBy(const DOMString &val)
667                                   throw (dom::DOMException)
671 //##################
672 //# Non-API methods
673 //##################
675 /**
676  *
677  */
678 SMILAnimationImpl::~SMILAnimationImpl()
685 /*#########################################################################
686 ## SMILAnimateElementImpl
687 #########################################################################*/
690 //##################
691 //# Non-API methods
692 //##################
694 /**
695  *
696  */
697 SMILAnimateElementImpl::~SMILAnimateElementImpl()
704 /*#########################################################################
705 ## SMILSetElementImpl
706 #########################################################################*/
708 /**
709  *
710  */
711 DOMString SMILSetElementImpl::getTo()
713     return DOMString("");
716 /**
717  *
718  */
719 void SMILSetElementImpl::setTo(const DOMString &val)
723 //##################
724 //# Non-API methods
725 //##################
727 /**
728  *
729  */
730 SMILSetElementImpl::~SMILSetElementImpl()
737 /*#########################################################################
738 ## SMILAnimateMotionElementImpl
739 #########################################################################*/
741 /**
742  *
743  */
744 DOMString SMILAnimateMotionElementImpl::getPath()
746     return DOMString("");
749 /**
750  *
751  */
752 void SMILAnimateMotionElementImpl::setPath(const DOMString &val)
753                                       throw(dom::DOMException)
757 /**
758  *
759  */
760 DOMString SMILAnimateMotionElementImpl::getOrigin()
762     return DOMString("");
765 /**
766  *
767  */
768 void SMILAnimateMotionElementImpl::setOrigin(const DOMString &val)
769                                          throw(dom::DOMException)
774 //##################
775 //# Non-API methods
776 //##################
778 /**
779  *
780  */
781 SMILAnimateMotionElementImpl::~SMILAnimateMotionElementImpl()
788 /*#########################################################################
789 ## SMILAnimateColorElementImpl
790 #########################################################################*/
793 //##################
794 //# Non-API methods
795 //##################
797 /**
798  *
799  */
800 SMILAnimateColorElementImpl::~SMILAnimateColorElementImpl()
810 /*#########################################################################
811 ## SMILSwitchElementImpl
812 #########################################################################*/
815 /**
816  *
817  */
818 Element *SMILSwitchElementImpl::getSelectedElement()
820     return NULL;
823 //##################
824 //# Non-API methods
825 //##################
827 /**
828  *
829  */
830 SMILSwitchElementImpl::~SMILSwitchElementImpl()
843 }  //namespace smil
844 }  //namespace dom
845 }  //namespace w3c
846 }  //namespace org
851 /*#########################################################################
852 ## E N D    O F    F I L E
853 #########################################################################*/