Hi all;
My problem is as follows::
// Class_1 code
------------------------------------------------------------------------
private char[] fo;
CharArrayWriter fos = new CharArrayWriter ();
fo =fos.toCharArra y();
InputSource foSource = new InputSource(new CharArrayReader (fo));
//This foSource is passed to a method in Class_2 (Driver);
driver.render(x mlReader, foSource);
Class_2 (Driver)code;
---------------------------------------------------------------------------------------
public synchronized void render(XMLReade r parser, InputSource source)
throws FOPException {
---------
---------
---------
}
Qn) In render method in Driver class; i want to convert that InputSource "source" back into a char array.
Is it possible to do like that?
Because in Class_1 "fos" content is like this
<fo:root ............... ............... ............... ............... ............... .............>
<fo:external-graphic left="29mm" top="355mm" width="538mm" height="132mm" src="file:./report_designer _graphics/FNDBAS/FND_SESSION_REP/Error.JPG"/>
</fo:root>
Under render method i want to get this content back by using "source" InputSource by way of a char array of by any other way. Is it possible?
Ur help will be greatly appreciated
Thank
My problem is as follows::
// Class_1 code
------------------------------------------------------------------------
private char[] fo;
CharArrayWriter fos = new CharArrayWriter ();
fo =fos.toCharArra y();
InputSource foSource = new InputSource(new CharArrayReader (fo));
//This foSource is passed to a method in Class_2 (Driver);
driver.render(x mlReader, foSource);
Class_2 (Driver)code;
---------------------------------------------------------------------------------------
public synchronized void render(XMLReade r parser, InputSource source)
throws FOPException {
---------
---------
---------
}
Qn) In render method in Driver class; i want to convert that InputSource "source" back into a char array.
Is it possible to do like that?
Because in Class_1 "fos" content is like this
<fo:root ............... ............... ............... ............... ............... .............>
<fo:external-graphic left="29mm" top="355mm" width="538mm" height="132mm" src="file:./report_designer _graphics/FNDBAS/FND_SESSION_REP/Error.JPG"/>
</fo:root>
Under render method i want to get this content back by using "source" InputSource by way of a char array of by any other way. Is it possible?
Ur help will be greatly appreciated
Thank
Comment