org.apache.cocoon.components.xscript
Class XScriptObjectResult
java.lang.Object
|
+--org.apache.cocoon.components.xscript.XScriptObject
|
+--org.apache.cocoon.components.xscript.XScriptObjectResult
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Composable, org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable, Source, XMLizable
- public class XScriptObjectResult
- extends XScriptObject
An XScriptObject
created from a JAXP
Result
object.
- Since:
- August 30, 2001
- Version:
- CVS $Id: XScriptObjectResult.java,v 1.4.2.1 2002/07/26 04:40:49 vgritsenko Exp $
- Author:
- Ovidiu Predescu
Method Summary |
long |
getContentLength()
Get the content length of the source or -1 if it
is not possible to determine the length. |
java.io.InputStream |
getInputStream()
Return an InputStream object to read from the source. |
java.lang.String |
getSystemId()
Return the unique identifer for this source |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XScriptObjectResult
public XScriptObjectResult(XScriptManager manager,
java.lang.String content)
getInputStream
public java.io.InputStream getInputStream()
throws ProcessingException,
java.io.IOException
- Description copied from interface:
Source
- Return an
InputStream
object to read from the source.
getContentLength
public long getContentLength()
- Description copied from interface:
Source
- Get the content length of the source or -1 if it
is not possible to determine the length.
- Overrides:
getContentLength
in class XScriptObject
getSystemId
public java.lang.String getSystemId()
- Description copied from interface:
Source
- Return the unique identifer for this source
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.