Hi all,
I'm having some difficulties writing a custom generator.
Somewhere in the generate() method I have a String that
contains valid XML! I want to send it to the pipeline!
Does anyone know how to do this?

I tryed
--------------------------
public class MyRequestGenerator
  extends ServiceableGenerator

.......
org.xml.sax.helpers.XMLReaderAdapter
      reader_adpter = new org.xml.sax.helpers.XMLReaderAdapter();

super.setContentHandler((org.xml.sax.ContentHandler)reader_adpter);

reader_adpter.parse(new org.xml.sax.InputSource(
new java.io.CharArrayReader(str.toCharArray()));
----------------
but without success! Any help will be appreciated. Thanks.

Rui

-- 
Rui Alberto L. GonÃalves <[EMAIL PROTECTED]>
PT InovaÃÃo


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

Reply via email to