This appendix contains the complete Java [Java] bindings for the Level 3 Document Object Model Core.
The Java files are also available as http://www.w3.org/TR/2001/WD-DOM-Level-3-Core-20010126/java-binding.zip
package org.w3c.dom; public interface Entity3 extends Entity { public String getActualEncoding(); public void setActualEncoding(String actualEncoding); public String getEncoding(); public void setEncoding(String encoding); public String getVersion(); public void setVersion(String version); }
package org.w3c.dom; public interface Document3 extends Document { 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; }
package org.w3c.dom; public interface Node3 { public String getBaseURI(); public static final int DOCUMENT_ORDER_PRECEDING= 1; public static final int DOCUMENT_ORDER_FOLLOWING= 2; public static final int DOCUMENT_ORDER_SAME= 3; public static final int DOCUMENT_ORDER_UNORDERED= 4; public int compareDocumentOrder(Node other) throws DOMException; public static final int TREE_POSITION_PRECEDING= 1; public static final int TREE_POSITION_FOLLOWING= 2; public static final int TREE_POSITION_ANCESTOR= 3; public static final int TREE_POSITION_DESCENDANT= 4; public static final int TREE_POSITION_SAME= 5; public static final int TREE_POSITION_UNORDERED= 6; public int compareTreePosition(Node other) throws DOMException; public String getTextContent(); public void setTextContent(String textContent); public boolean isSameNode(Node other); public String lookupNamespacePrefix(String namespaceURI); public String lookupNamespaceURI(String prefix); public void normalizeNS(); public Object getKey(); public boolean equalsNode(Node arg, boolean deep); }
package org.w3c.dom; public interface Text3 extends Text { public boolean getIsWhitespaceInElementContent(); }