DOM API
Some of the interfaces defined in DOM API:
- Node
- public String getNodeName()
- public short getNodeType()
- public Node getParentNode()
- public NodeList getChildNodes()
- public Node insertBefore(Node newChild, Node refChild) throws DOMException
- public Node removeChild(Node oldChild) throws DOMException
- public Node appendChild(Node newChild) throws DOMException
- Nodelist
- public Node item(int index)
- public int getLength()
- Document
- public Element getDocumentElement()
- public Element createElement(String tagName)
- public Text createTextNode(String data)
- public Attr createAttribute(String name)
- Element
- public Attr getAttributeNode(String name)
- ...
- Attr
- public void setValue(String value)
- ...