org.apache.cocoon.components.xscript
Class XScriptObjectResult

java.lang.Object
  extended by org.apache.cocoon.components.xscript.XScriptObject
      extended by org.apache.cocoon.components.xscript.XScriptObjectResult
All Implemented Interfaces:
Serviceable, Source

public class XScriptObjectResult
extends XScriptObject

An XScriptObject created from a JAXP Result object.

Since:
August 30, 2001
Version:
CVS $Id: XScriptObjectResult.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Ovidiu Predescu

Field Summary
 
Fields inherited from class org.apache.cocoon.components.xscript.XScriptObject
serviceManager
 
Constructor Summary
XScriptObjectResult(XScriptManager manager, String content)
           
 
Method Summary
 long getContentLength()
           
 InputStream getInputStream()
           
 String getURI()
           
 String toString()
           
 
Methods inherited from class org.apache.cocoon.components.xscript.XScriptObject
exists, getInputSource, getLastModified, getMimeType, getScheme, getValidity, recycle, refresh, service, toEmbeddedSAX, toSAX, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XScriptObjectResult

public XScriptObjectResult(XScriptManager manager,
                           String content)
Method Detail

getInputStream

public InputStream getInputStream()
                           throws IOException
Throws:
IOException

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface Source
Specified by:
getContentLength in class XScriptObject

getURI

public String getURI()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.