Four Js Genero Report Writer
|
Class for configuring a connection to a remote GRE server. More...
Public Member Functions | |
RemoteConnection (DataConsumer consumer) | |
Creates a RemoteConnection object that outputs to the given consumer object. More... | |
void | runFromXML (String fileName) |
Streams the specified file thru the rendering pipe. More... | |
void | runFromSerializable (Object data) |
Streams the data thru the rendering pipe. More... | |
XmlWriter | createXmlWriter () |
Creates an XmlWriter into which the input document can be streamed thru the rendering pipe. The XmlWriter can be used for one stream only. | |
Static Public Attributes | |
static String | legalCopyright = Version.CLASS_COPYRIGHT |
Properties | |
DataConsumer | consumer [get, set] |
Sets the DataConsumer that receives the output. More... | |
String | host [get, set] |
Sets the host name of the remote GRE server. More... | |
int | port [get, set] |
Sets the port of the remote GRE server. The value is expected to be a unsigned 16 bit value. More... | |
String | fglDir [get, set] |
Sets the value of the FGLDIR property on the remote server. More... | |
String | fglProfile [get, set] |
Sets the value of the FGLPROFILE property on the remote server. The value is used for FGL compatible localization to locate the translation files. More... | |
String | fglResourcePath [get, set] |
Sets the value of the FGLRESOURCEPATH property on the remote server. The value is used in the FourRpProcessor for finding report template files that are specified with a relative path (See {link FourRpProcessor::setReportFile}). More... | |
Properties inherited from FourJs.Report.Runtime.DataConsumer | |
int | debugLevel [get, set] |
Sets the debug level as determined by the More... | |
Class for configuring a connection to a remote GRE server.
The remote server application need to be com.fourjs.report.main.GReportWriter is invoked with the -l option.
Logging events are logged to the file "FourJs.Report.Runtime.log" in the home directory (Directory specified by the system property "user.home"). The logging system is Apache log4j. The logging configuration file can be changed by setting the system property "log4j.configuration".
FourJs.Report.Runtime.RemoteConnection.RemoteConnection | ( | DataConsumer | consumer | ) |
Creates a RemoteConnection object that outputs to the given consumer object.
consumer | A DataConsumer |
void FourJs.Report.Runtime.RemoteConnection.runFromSerializable | ( | Object | data | ) |
Streams the data thru the rendering pipe.
Implements FourJs.Report.Runtime.DataConsumer.
void FourJs.Report.Runtime.RemoteConnection.runFromXML | ( | String | fileName | ) |
Streams the specified file thru the rendering pipe.
fileName | The XML input document |
Implements FourJs.Report.Runtime.DataConsumer.
|
getset |
Sets the DataConsumer that receives the output.
|
getset |
Sets the value of the FGLDIR property on the remote server.
|
getset |
Sets the value of the FGLPROFILE property on the remote server. The value is used for FGL compatible localization to locate the translation files.
|
getset |
Sets the value of the FGLRESOURCEPATH property on the remote server. The value is used in the FourRpProcessor for finding report template files that are specified with a relative path (See {link FourRpProcessor::setReportFile}).
|
getset |
Sets the host name of the remote GRE server.
|
getset |
Sets the port of the remote GRE server. The value is expected to be a unsigned 16 bit value.
ArgumentOutOfRangeException | if the port isn't an unsigned 16 bit value. |