org.apache.cocoon.components.xscript
Class XScriptObjectInlineXML

java.lang.Object
  |
  +--org.apache.cocoon.components.xscript.XScriptObject
        |
        +--org.apache.cocoon.components.xscript.XScriptObjectInlineXML
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 XScriptObjectInlineXML
extends XScriptObject

An XScriptObject created from an inline XML fragment.

Since:
July 7, 2001
Version:
CVS $Id: XScriptObjectInlineXML.java,v 1.4 2002/02/22 07:00:15 cziegeler Exp $
Author:
Ovidiu Predescu

Fields inherited from class org.apache.cocoon.components.xscript.XScriptObject
componentManager
 
Constructor Summary
XScriptObjectInlineXML(XScriptManager manager)
           
XScriptObjectInlineXML(XScriptManager manager, java.lang.String string)
           
XScriptObjectInlineXML(XScriptManager manager, java.lang.StringBuffer stringBuffer)
           
 
Method Summary
 org.xml.sax.ContentHandler getContentHandler()
           
 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
 void setNextContentHandler(org.xml.sax.ContentHandler handler)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.cocoon.components.xscript.XScriptObject
compose, getInputSource, getLastModified, recycle, toSAX, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XScriptObjectInlineXML

public XScriptObjectInlineXML(XScriptManager manager)

XScriptObjectInlineXML

public XScriptObjectInlineXML(XScriptManager manager,
                              java.lang.StringBuffer stringBuffer)

XScriptObjectInlineXML

public XScriptObjectInlineXML(XScriptManager manager,
                              java.lang.String string)
Method Detail

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.

getContentHandler

public org.xml.sax.ContentHandler getContentHandler()

setNextContentHandler

public void setNextContentHandler(org.xml.sax.ContentHandler handler)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.