Adds:
<?xml version="1.0"?>
<?xml version="1.0" encoding="ISO-8859-9"?>
<?xml version="1.0" encoding="ISO-8859-9" standalone="no"?>
<?xml version="1.0" standalone="yes"?>
adoptNode()
setBaseURI()
renameNode()
DOMErrorHandler
that will be called in the event "that an error is
encountered while performing an operation on a document"Java binding:
package org.w3c.dom;
public interface Document extends Node {
public String getActualEncoding();
public void setActualEncoding(String actualEncoding);
public String getEncoding();
public void setEncoding(String encoding);
public boolean getStandalone();
public void setStandalone(boolean standalone);
public boolean getStrictErrorChecking();
public void setStrictErrorChecking(boolean strictErrorChecking);
public String getVersion();
public void setVersion(String version);
public Node adoptNode(Node source) throws DOMException;
public DOMErrorHandler getErrorHandler();
public void setErrorHandler(DOMErrorHandler errorHandler);
public String getDocumentURI();
public void setDocumentURI(String documentURI);
public void normalizeDocument();
public boolean canSetNormalizationFeature(String name, boolean state);
public void setNormalizationFeature(String name, boolean state)
throws DOMException;
public boolean getNormalizationFeature(String name)
throws DOMException;
public Node renameNode(Node n, String namespaceURI, String name)
throws DOMException;
}
In IDL:
interface Document : Node {
attribute DOMString actualEncoding;
attribute DOMString encoding;
attribute boolean standalone;
attribute boolean strictErrorChecking;
attribute DOMString version;
Node adoptNode(in Node source) raises(DOMException);
void setBaseURI(in DOMString baseURI) raises(DOMException);
attribute boolean strictErrorChecking;
attribute DOMErrorHandler errorHandler;
attribute DOMString documentURI;
void normalizeDocument();
boolean canSetNormalizationFeature(in DOMString name, in boolean state);
void setNormalizationFeature(in DOMString name, in boolean state) raises(DOMException);
boolean getNormalizationFeature(in DOMString name) raises(DOMException);
Node renameNode(in Node n, in DOMString namespaceURI, in DOMString name) raises(DOMException);
};