| 程序包 | 说明 |
|---|---|
| com.hp.hpl.sparta |
| 限定符和类型 | 方法和说明 |
|---|---|
Element |
Element.cloneElement(boolean deep)
Create a clone of this node.
|
Element |
Element.cloneShallow()
Create a shallow clone of this Element.
|
Element |
Document.getDocumentElement() |
Element |
Node.getParentNode()
The element that contains this node or null if this is a Document
or the root element of a document.
|
Element |
Text.xpathSelectElement(String xpath)
Not implemented.
|
abstract Element |
Node.xpathSelectElement(String xpath)
Select the first element that matches the relative XPath
expression with respect to this node, or null if
there is no match.
|
Element |
Element.xpathSelectElement(String xpath)
Select the first element that matches the relative XPath
expression with respect to this element, or null if
there is no match.
|
Element |
Document.xpathSelectElement(String xpath)
Select the first element that matches the absolute XPath
expression in this document, or null if
there is no match.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ParseHandler.endElement(Element element) |
void |
DefaultParseHandler.endElement(Element element) |
void |
Element.replaceChild(Element newChild,
Node oldChild)
Replace oldChild with newChild.
|
void |
Document.setDocumentElement(Element rootElement)
Set the root element of this DOM tree.
|
void |
ParseHandler.startElement(Element element) |
void |
DefaultParseHandler.startElement(Element element) |
Copyright © 2013. All Rights Reserved.