程序包 | 说明 |
---|---|
org.htmlparser | |
org.htmlparser.lexer | |
org.htmlparser.nodes | |
org.htmlparser.scanners | |
org.htmlparser.tests.lexerTests |
限定符和类型 | 方法和说明 |
---|---|
Page |
Node.getPage()
Get the page this node came from.
|
限定符和类型 | 方法和说明 |
---|---|
Remark |
PrototypicalNodeFactory.createRemarkNode(Page page,
int start,
int end)
Create a new remark node.
|
Remark |
NodeFactory.createRemarkNode(Page page,
int start,
int end)
Create a new remark node.
|
Text |
PrototypicalNodeFactory.createStringNode(Page page,
int start,
int end)
Create a new string node.
|
Text |
NodeFactory.createStringNode(Page page,
int start,
int end)
Create a new text node.
|
Tag |
PrototypicalNodeFactory.createTagNode(Page page,
int start,
int end,
java.util.Vector attributes)
Create a new tag node.
|
Tag |
NodeFactory.createTagNode(Page page,
int start,
int end,
java.util.Vector attributes)
Create a new tag node.
|
void |
Node.setPage(Page page)
Set the page this node came from.
|
限定符和类型 | 方法和说明 |
---|---|
Page |
PageIndex.getPage()
Get this index's page.
|
Page |
PageAttribute.getPage()
Get the page this attribute is anchored to, if any.
|
Page |
Lexer.getPage()
Get the page this lexer is working on.
|
Page |
Cursor.getPage()
Get this cursor's page.
|
限定符和类型 | 方法和说明 |
---|---|
Remark |
Lexer.createRemarkNode(Page page,
int start,
int end)
Create a new remark node.
|
Text |
Lexer.createStringNode(Page page,
int start,
int end)
Create a new string node.
|
Tag |
Lexer.createTagNode(Page page,
int start,
int end,
java.util.Vector attributes)
Create a new tag node.
|
void |
PageAttribute.setPage(Page page)
Set the page this attribute is anchored to.
|
void |
Lexer.setPage(Page page)
Set the page this lexer is working on.
|
构造器和说明 |
---|
Cursor(Page page,
int offset)
Construct a
Cursor from the page and position given. |
Lexer(Page page)
Creates a new instance of a Lexer.
|
PageAttribute(Page page,
int name_start,
int name_end,
int value_start,
int value_end,
char quote)
Create an attribute.
|
PageIndex(Page page)
Create an empty index.
|
PageIndex(Page page,
int cursor)
Create an index with the one element given.
|
PageIndex(Page page,
int[] cursors)
Create an index with the elements given.
|
限定符和类型 | 方法和说明 |
---|---|
Page |
AbstractNode.getPage()
Get the page this node came from.
|
限定符和类型 | 方法和说明 |
---|---|
void |
AbstractNode.setPage(Page page)
Set the page this node came from.
|
构造器和说明 |
---|
AbstractNode(Page page,
int start,
int end)
Create an abstract node with the page positions given.
|
RemarkNode(Page page,
int start,
int end)
Constructor takes in the page and beginning and ending posns.
|
TagNode(Page page,
int start,
int end,
java.util.Vector attributes)
Create a tag with the location and attributes provided
|
TextNode(Page page,
int start,
int end)
Constructor takes in the page and beginning and ending posns.
|
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
ScriptDecoder.Decode(Page page,
Cursor cursor)
Decode script encoded by the Microsoft obfuscator.
|
限定符和类型 | 字段和说明 |
---|---|
static Page |
PageTests.mPage
Page for absolute URL tests.
|