org.apache.cocoon.components.xscript
Class XScriptObjectInlineXML

java.lang.Object
  extended byorg.apache.cocoon.components.xscript.XScriptObject
      extended byorg.apache.cocoon.components.xscript.XScriptObjectInlineXML
All Implemented Interfaces:
Serviceable, Source

public class XScriptObjectInlineXML
extends XScriptObject

An XScriptObject created from an inline XML fragment.

Since:
July 7, 2001
Version:
CVS $Id: XScriptObjectInlineXML.java 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
Ovidiu Predescu, Vadim Gritsenko

Field Summary
 
Fields inherited from class org.apache.cocoon.components.xscript.XScriptObject
serviceManager
 
Constructor Summary
XScriptObjectInlineXML(XScriptManager manager)
           
XScriptObjectInlineXML(XScriptManager manager, String string)
           
XScriptObjectInlineXML(XScriptManager manager, StringBuffer stringBuffer)
           
 
Method Summary
 String getContent()
           
 ContentHandler getContentHandler()
           
 long getContentLength()
           
 InputSource getInputSource()
           
 InputStream getInputStream()
           
 String getURI()
           
 String toString()
           
 
Methods inherited from class org.apache.cocoon.components.xscript.XScriptObject
exists, 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

XScriptObjectInlineXML

public XScriptObjectInlineXML(XScriptManager manager)

XScriptObjectInlineXML

public XScriptObjectInlineXML(XScriptManager manager,
                              StringBuffer stringBuffer)

XScriptObjectInlineXML

public XScriptObjectInlineXML(XScriptManager manager,
                              String string)
Method Detail

getInputStream

public InputStream getInputStream()
                           throws IOException
Throws:
IOException

getInputSource

public InputSource getInputSource()
                           throws IOException
Overrides:
getInputSource in class XScriptObject
Throws:
IOException

getContentHandler

public ContentHandler getContentHandler()

toString

public String toString()

getContentLength

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

getContent

public String getContent()

getURI

public String getURI()


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.