Code

Finally! All of the svg-dom classes and dependencies have native implementation stubs.
[inkscape.git] / src / bind / java / org / inkscape / dom / TypeInfoImpl.java
index c01ffd152a38e73d67bd2aa5352a650c82246166..d19f5f6dba904aaf75292374e6d9b621337cecb4 100644 (file)
@@ -5,12 +5,12 @@
  * Authors:
  *   Bob Jamison
  *
- * Copyright (C) 2007 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 2.1 of the License, or (at your option) any later version.
+ *  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
  *  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 DOM files are implementations of the Java
+ *  interface package found here:
+ *      http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/java-binding.html
  */
 
 package org.inkscape.dom;
 
-import org.w3c.dom.*;
-
-
 
 public class TypeInfoImpl
-             extends DOMBase
-             implements org.w3c.dom.TypeInfo
-{
-
-
-/**
- * The name of a type declared for the associated element
- * or attribute, or null if unknown.
- */
-public String getTypeName()
-{
-    return "";
-}
-
-
-/**
- * The namespace of the type declared for the associated
- * element or attribute or null if the element does not have
- * declaration or if no namespace information is available.
- */
-public String getTypeNamespace()
+       implements org.w3c.dom.TypeInfo
 {
-    return "";
-}
 
+public native String getTypeName();
 
+public native String getTypeNamespace();
 
-/**
- * This method returns if there is a derivation between
- * the reference type definition, i.e.
- */
-public boolean isDerivedFrom(String typeNamespaceArg,
+public native boolean isDerivedFrom(String typeNamespaceArg,
                              String typeNameArg,
-                             int derivationMethod)
-{
-    return false;
-}
-
-
-
-public TypeInfoImpl()
-{
-    super();
-}
+                             int derivationMethod);
 
 }