|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstract method to provide facilities for viewing each node as
it is parsed by tidy and for prepending dynamic content before
any bytes read off the standard tidy input stream.
An implementation of this interface registers itself with JTidy
by calling NodeHandlerStore.getInstance().addNewHandler(this);
Method Summary | |
int |
getDynamicContent()
Allows the implementing object to prepend an input stream in front of the current buffer being parsed by Tidy. |
Node |
handleNode(Node element,
Node node)
Handle the passed in Node and parent element and return a modified Node. |
Method Detail |
public Node handleNode(Node element, Node node)
element
- The element passed into a call to
Node.insertNodeAtEnd. This represents the parent element
of the node parameter as it is the element to which the
node will be appended.node
- New child node parsed from the document and
about to be appended to the parent element.
public int getDynamicContent() throws java.io.IOException
java.io.IOException
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |