org.pentaho.reporting.libraries.xmlns.parser
public class ResourceDataInputSource extends InputSource
Constructor Summary | |
---|---|
ResourceDataInputSource(ResourceData data, ResourceManager caller)
Creates a new InputSource using the given resource-data and resource-manager as source.
|
Method Summary | |
---|---|
InputStream | getByteStream()
Get the byte stream for this input source.
|
ResourceData | getData()
Returns the resource-data object that provides the raw-data.
|
long | getVersion()
Returns the version (changetracker) of this input source.
|
void | setByteStream(InputStream byteStream)
Set the byte stream for this input source.
|
Parameters: data the resource-data object holding the raw-data. caller the resource manager that is loading the current resource.
Throws: ResourceLoadingException if an error occurs.
See Also: ResourceDataInputSource ResourceDataInputSource ResourceDataInputSource ResourceDataInputSource ResourceDataInputSource
The getEncoding method will return the character encoding for this byte stream, or null if unknown.
Returns: The byte stream, or null if none was supplied.
Returns: the resource-data object.
Returns: the version (changetracker) of the input source.
Parameters: byteStream A byte stream containing an XML document or other entity.