Code

Finally! All of the svg-dom classes and dependencies have native implementation stubs.
[inkscape.git] / src / bind / java / org / inkscape / dom / svg / SVGStylableImpl.java
diff --git a/src/bind/java/org/inkscape/dom/svg/SVGStylableImpl.java b/src/bind/java/org/inkscape/dom/svg/SVGStylableImpl.java
new file mode 100644 (file)
index 0000000..54df626
--- /dev/null
@@ -0,0 +1,45 @@
+/**
+ * This is a simple mechanism to bind Inkscape to Java, and thence
+ * to all of the nice things that can be layered upon that.
+ *
+ * Authors:
+ *   Bob Jamison
+ *
+ * Copyright (c) 2007-2008 Inkscape.org
+ *
+ *  This library is free software; you can redistribute it and/or
+ *  modify it under the terms of the GNU Lesser General Public
+ *  License as published by the Free Software Foundation; either
+ *  version 3 of the License, or (at your option) any later version.
+ *
+ *  This library is distributed 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.  See the GNU
+ *  Lesser General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Lesser General Public
+ *  License along with this library; if not, write to the Free Software
+ *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ *  Note that these files are implementations of the Java
+ *  interface package found here:
+ *      http://www.w3.org/TR/SVG11/java.html
+ */
+
+
+
+package org.inkscape.dom.svg;
+
+import org.w3c.dom.css.CSSStyleDeclaration;
+import org.w3c.dom.css.CSSValue;
+import org.w3c.dom.svg.SVGAnimatedString;
+
+public class SVGStylableImpl
+       implements org.w3c.dom.svg.SVGStylable
+{
+
+public native SVGAnimatedString getClassName( );
+public native CSSStyleDeclaration getStyle( );
+public native CSSValue getPresentationAttribute ( String name );
+
+}