XML Deployment Adapters

com.stylusstudio.converter
Class ReaderResult

java.lang.Object
  extended bycom.stylusstudio.converter.ReaderResult
All Implemented Interfaces:
Result

public class ReaderResult
extends Object
implements Result

The ReaderResult is used to specify that the user of Converter wants to read the result of the conversion with a Reader.


Field Summary
 
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
 
Constructor Summary
ReaderResult()
           
 
Method Summary
 Reader getReader()
          Get the Reader, which is used to read the result data.
 String getSystemId()
          Get the SystemId of the result data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReaderResult

public ReaderResult()
Method Detail

getReader

public Reader getReader()
Get the Reader, which is used to read the result data.

If the application wants to read the Converter result data with a Reader, it should create an empty ReaderResult and pass it as the result parameter of the convert(Source, Result) or convert(Source, Result, ErrorListener) methods. After convert returns, the application must use getReader() to get the Reader containing the result data.

Returns:
The Reader.

getSystemId

public String getSystemId()
Get the SystemId of the result data. This will usually return null.

Specified by:
getSystemId in interface Result


XML Deployment Adapters