Hi,
I am using the HTML DOM implementation in
org.apache.html.dom. When I call write() of
HTMLDocument, the write() of HTMLDocumentImpl will get
called. Inside, it will write the text to the writer
(an object of StringWriter).
Code from HTMLDocumentImpl.java in
org.apache.html.dom:
public void write( String text )
{
// Write a string into the in-memory writer.
if ( _writer != null )
_writer.write( text );
}
Could someone please tell me how can my application
retrieve the content of the text which has been
written? There is no public method to get the text
inside the StringWriter and the writer object is a
private attribute of HTMLDocumentImpl.
Thank for your help.
Sam
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]