org.apache.cocoon.components.xscript
Class XScriptObjectInlineXML

java.lang.Object
  extended by org.apache.cocoon.components.xscript.XScriptObject
      extended by org.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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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,
                              String string)

XScriptObjectInlineXML

public XScriptObjectInlineXML(XScriptManager manager,
                              StringBuffer stringBuffer)
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()
Overrides:
toString in class Object

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-2010 The Apache Software Foundation. All Rights Reserved.