summaryrefslogtreecommitdiffstats
path: root/src/dom/svglsimpl.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-01-16 02:36:01 +0000
committermental <mental@users.sourceforge.net>2006-01-16 02:36:01 +0000
commit179fa413b047bede6e32109e2ce82437c5fb8d34 (patch)
treea5a6ac2c1708bd02288fbd8edb2ff500ff2e0916 /src/dom/svglsimpl.cpp
downloadinkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.tar.gz
inkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.zip
moving trunk for module inkscape
(bzr r1)
Diffstat (limited to 'src/dom/svglsimpl.cpp')
-rwxr-xr-xsrc/dom/svglsimpl.cpp90
1 files changed, 90 insertions, 0 deletions
diff --git a/src/dom/svglsimpl.cpp b/src/dom/svglsimpl.cpp
new file mode 100755
index 000000000..1361fb4c0
--- /dev/null
+++ b/src/dom/svglsimpl.cpp
@@ -0,0 +1,90 @@
+/*
+ * Copyright (c) 2004 World Wide Web Consortium,
+ *
+ * (Massachusetts Institute of Technology, European Research Consortium for
+ * Informatics and Mathematics, Keio University). All Rights Reserved. This
+ * work is distributed under the W3C(r) Software License [1] in the hope that
+ * it will be useful, but WITHOUT ANY WARRANTY; without even the implied
+ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
+ */
+
+// File: http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/ls.idl
+
+#include "svglsimpl.h"
+
+
+namespace org {
+namespace w3c {
+namespace dom {
+namespace ls {
+
+
+
+
+/*#########################################################################
+## SVGLSParserImpl
+#########################################################################*/
+
+
+/**
+ *
+ */
+Document *SVGLSParserImpl::parse(const LSInput &inputArg)
+ throw(dom::DOMException, LSException)
+{
+ Document *doc = LSParserImpl::parse(inputArg);
+
+ if (!doc)
+ {
+ return NULL;
+ }
+
+ svg::SvgParser svgParser;
+
+ Document *svgdoc = svgParser.parse(doc);
+
+ delete doc;
+
+ return svgdoc;
+}
+
+
+
+
+
+/*#########################################################################
+## SVGLSSerializerImpl
+#########################################################################*/
+
+
+/**
+ *
+ */
+void SVGLSSerializerImpl::writeNode(const Node *nodeArg)
+{
+ LSSerializerImpl::writeNode(nodeArg);
+}
+
+
+
+
+
+
+
+
+
+} //namespace ls
+} //namespace dom
+} //namespace w3c
+} //namespace org
+
+
+
+
+
+/*#########################################################################
+## E N D O F F I L E
+#########################################################################*/
+