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"
18 namespace org {
19 namespace w3c {
20 namespace dom {
21 namespace ls {
26 /*#########################################################################
27 ## SVGLSParserImpl
28 #########################################################################*/
31 /**
32 *
33 */
34 Document *SVGLSParserImpl::parse(const LSInput &inputArg)
35 throw(dom::DOMException, LSException)
36 {
37 Document *doc = LSParserImpl::parse(inputArg);
39 if (!doc)
40 {
41 return NULL;
42 }
44 svg::SvgParser svgParser;
46 Document *svgdoc = svgParser.parse(doc);
48 delete doc;
50 return svgdoc;
51 }
57 /*#########################################################################
58 ## SVGLSSerializerImpl
59 #########################################################################*/
62 /**
63 *
64 */
65 void SVGLSSerializerImpl::writeNode(const Node *nodeArg)
66 {
67 LSSerializerImpl::writeNode(nodeArg);
68 }
78 } //namespace ls
79 } //namespace dom
80 } //namespace w3c
81 } //namespace org
87 /*#########################################################################
88 ## E N D O F F I L E
89 #########################################################################*/