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/2000/WD-DOM-Level-3-Core-20000901/java-binding.zip
package org.w3c.dom; import org.w3c.Entity; 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; import org.w3c.Node; import org.w3c.Document; import org.w3c.DOMException; import org.w3c.NodeList; 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; public NodeList getElementsByAttributeValue(String namespaceURI, String localName, String value); }
package org.w3c.dom; import org.w3c.Object; import org.w3c.Node; import org.w3c.DocumentOrder; import org.w3c.TreePosition; import org.w3c.DOMException; public interface Node3 { public String getBaseURI(); public static final int PRECEDING = 1; public static final int FOLLOWING = 2; public static final int SAME = 3; public static final int UNORDERED = 4; public int compareDocumentOrder(Node other) throws DOMException; public static final int PRECEDING = 1; public static final int FOLLOWING = 2; public static final int ANCESTOR = 3; public static final int DESCENDANT = 4; public static final int SAME = 5; public static final int 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 setUserData(Object data, String key); public Object getUserData(String key); public Object getKey(); }
package org.w3c.dom; import org.w3c.Text; public interface Text3 extends Text { public boolean getIsWhitespaceInElementContent(); }