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 "svglsimpl.h"
17 #include <stdarg.h>
19 namespace org {
20 namespace w3c {
21 namespace dom {
22 namespace svg {
27 /*#########################################################################
28 ## SVGLSParserImpl
29 #########################################################################*/
32 /**
33 *
34 */
35 Document *SVGLSParserImpl::parse(const LSInput &inputArg)
36 throw(dom::DOMException, LSException)
37 {
38 Document *doc = LSParserImpl::parse(inputArg);
40 if (!doc)
41 {
42 return NULL;
43 }
45 svg::SvgParser svgParser;
47 Document *svgdoc = svgParser.parse(doc);
49 delete doc;
51 return svgdoc;
52 }
58 /*#########################################################################
59 ## SVGLSSerializerImpl
60 #########################################################################*/
63 /**
64 *
65 */
66 void SVGLSSerializerImpl::writeNode(const Node *nodeArg)
67 {
68 LSSerializerImpl::writeNode(nodeArg);
69 }
79 } //namespace svg
80 } //namespace dom
81 } //namespace w3c
82 } //namespace org
88 /*#########################################################################
89 ## E N D O F F I L E
90 #########################################################################*/