Hi,
        yes you can derive from XMLFormatTarget. I would create a 
constructor that takes your buffer. I would then override writeChars and in 
there do a check on whether you need to flush your buffer.

Gareth


On Wed, 18 Sep 2002, Bagepalli, Kiran wrote:

> Is there a mechanism to write the DOM tree using the DOMWriter to a stream.
> I have a output stream with a fixed buffer size and I would like to flush it
> when the buffer is full and obtain more data into the buffer. I have
> implementation of my own to write DOM but was looking if DOMWriter has
> something. Can I derive from XMLFormatTarget and do something.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
Gareth Reakes, Head of Product Development  
DecisionSoft Ltd.            http://www.decisionsoft.com
Office: +44 (0) 1865 203192



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to