diff options
Diffstat (limited to 'gnu/xml/libxmlj/dom/GnomeDocument.java')
-rw-r--r-- | gnu/xml/libxmlj/dom/GnomeDocument.java | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/gnu/xml/libxmlj/dom/GnomeDocument.java b/gnu/xml/libxmlj/dom/GnomeDocument.java index a5333550e..0d1b487d8 100644 --- a/gnu/xml/libxmlj/dom/GnomeDocument.java +++ b/gnu/xml/libxmlj/dom/GnomeDocument.java @@ -1,4 +1,4 @@ -/* GnomeDocument.java - +/* GnomeDocument.java - Copyright (C) 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -102,18 +102,18 @@ public class GnomeDocument boolean validate = false; boolean validateIfSchema = false; boolean wellFormed = true; - + GnomeDocument(Object id) { super(id); strictErrorChecking = true; } - + protected void finalize() { free(id); } - + private native void free(Object id); public native DocumentType getDoctype(); @@ -177,7 +177,7 @@ public class GnomeDocument public native Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException; - + public native Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException; @@ -211,7 +211,7 @@ public class GnomeDocument } return element; } - + private native Element xmljGetElementById(String elementId); // DOM Level 3 methods @@ -237,7 +237,7 @@ public class GnomeDocument { this.strictErrorChecking = strictErrorChecking; } - + public native String getDocumentURI(); public native void setDocumentURI(String documentURI); @@ -410,14 +410,14 @@ public class GnomeDocument else if ("infoset".equals(name)) { return Boolean.valueOf(!validateIfSchema && - !entities && - !datatypeNormalization && - !cdataSections && - namespaceDeclarations && - wellFormed && - elementContentWhitespace && - comments && - namespaces); + !entities && + !datatypeNormalization && + !cdataSections && + namespaceDeclarations && + wellFormed && + elementContentWhitespace && + comments && + namespaces); } else if ("namespaces".equals(name)) { @@ -466,7 +466,7 @@ public class GnomeDocument "namespace-declarations".equals(name) || "split-cdata-sections".equals(name)); } - + public DOMStringList getParameterNames() { String[] names = new String[] { @@ -547,7 +547,7 @@ public class GnomeDocument } // -- Debugging -- - + public String toString() { CPStringBuilder buffer = new CPStringBuilder(getClass().getName()); |