2
* Copyright (c) 2004 World Wide Web Consortium,
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.
10
* [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
13
// File: http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/ls.idl
15
#ifndef __SVGLSIMPL_H__
16
#define __SVGLSIMPL_H__
19
#include "svgparser.h"
30
/*#########################################################################
32
#########################################################################*/
37
class SVGLSParserImpl : virtual public LSParserImpl
44
virtual Document *parse(const LSInput &input)
45
throw(dom::DOMException, LSException);
62
virtual ~SVGLSParserImpl()
79
/*#########################################################################
80
## SVGLSSerializerImpl
81
#########################################################################*/
86
class SVGLSSerializerImpl : virtual public LSSerializerImpl
104
virtual ~SVGLSSerializerImpl()
112
* Overload me to change behaviour
114
virtual void writeNode(const Node *nodeArg);
125
/*#########################################################################
126
## SVGDOMImplementationLSImpl
127
#########################################################################*/
132
class SVGDOMImplementationLSImpl : virtual public DOMImplementationLS
139
virtual LSParser &createLSParser(unsigned short mode,
140
const DOMString &schemaType)
141
throw (dom::DOMException)
143
SVGLSParserImpl newParser;
152
virtual LSSerializer &createLSSerializer()
154
SVGLSSerializerImpl newSerializer;
155
serializer = newSerializer;
163
virtual LSInput createLSInput()
172
virtual LSOutput createLSOutput()
185
SVGDOMImplementationLSImpl() {}
190
virtual ~SVGDOMImplementationLSImpl() {}
194
SVGLSParserImpl parser;
195
SVGLSSerializerImpl serializer;
212
#endif /* __SVGLSIMPL_H__ */
214
/*#########################################################################
216
#########################################################################*/