|
HTML Parser Home Page | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines the methods needed to create new nodes. The factory is used when lexing to generate the nodes passed back to the caller.
| Method Summary | |
Node |
createRemarkNode(Page page,
int start,
int end)
Create a new remark node. |
Node |
createStringNode(Page page,
int start,
int end)
Create a new string node. |
Node |
createTagNode(Page page,
int start,
int end,
Vector attributes)
Create a new tag node. |
| Method Detail |
public Node createStringNode(Page page,
int start,
int end)
throws ParserException
page - The page the node is on.start - The beginning position of the string.end - The ending positiong of the string.
ParserException
public Node createRemarkNode(Page page,
int start,
int end)
throws ParserException
page - The page the node is on.start - The beginning position of the remark.end - The ending positiong of the remark.
ParserException
public Node createTagNode(Page page,
int start,
int end,
Vector attributes)
throws ParserException
page - The page the node is on.start - The beginning position of the tag.end - The ending positiong of the tag.attributes - The attributes contained in this tag.
ParserException
|
© 2004 Somik Raha Mar 14, 2004
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||