| 程序包 | 说明 |
|---|---|
| com.hp.hpl.sparta |
| 限定符和类型 | 方法和说明 |
|---|---|
Document |
Node.getOwnerDocument()
The document that contains this node.
|
static Document |
Parser.parse(byte[] xml)
Parse XML to DOM, figuring out the encoding using the first few characters and possibly
an encoding declaration on the first line of the XML.
|
static Document |
Parser.parse(char[] xml)
DOM parsing of XML in a character array (this is the fastest parse method).
|
static Document |
Parser.parse(String xml)
DOM parsing of XML in a String.
|
static Document |
Parser.parse(String systemId,
InputStream istream)
DOM parsing of XML encoded in a byte stream, using a default log.
|
static Document |
Parser.parse(String systemId,
InputStream istream,
ParseLog log)
DOM parsing of XML encoded in a byte stream.
|
static Document |
Parser.parse(String systemId,
InputStream istream,
ParseLog log,
String guessedEncoding)
DOM parsing of XML encoded in a character stream, specifying the Unicode encoding.
|
static Document |
Parser.parse(String systemId,
Reader reader)
DOM parsing of XML in a character stream, using a default log.
|
static Document |
Parser.parse(String systemId,
Reader reader,
ParseLog log)
DOM parsing of XML in a character stream.
|
static Document |
Parser.parse(String systemId,
Reader reader,
ParseLog log,
String encoding)
DOM parsing of XML in a character stream, specifying the Unicode encoding.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Document.Index.update(Document doc) |
void |
Document.Observer.update(Document doc)
Called when the document changes.
|
Copyright © 2016. All Rights Reserved.