Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.opencms.template
Class CmsProcessedString  view CmsProcessedString download CmsProcessedString.java

java.lang.Object
  extended bycom.opencms.template.CmsProcessedString

public class CmsProcessedString
extends java.lang.Object

Special class for String results returned in template engine. Template objects should use this class instead of String if they have written their results to the response output stream theirselves (if the system is in streaming mode).

If an object doesn't care about HTTP streaming and simply generates a String for returning to the template engine, it really shouldn't make use of this class and return the original String.

Version:
$Revision: 1.5 $ $Date: 2003/02/02 15:59:53 $

Field Summary
(package private)  java.lang.String m_orgString
          Store for the original String
 
Constructor Summary
CmsProcessedString(byte[] b, java.lang.String encoding)
          Constructor for a new CmsProcessedString object
CmsProcessedString(java.lang.String s)
          Constructor for a new CmsProcessedString object
 
Method Summary
 java.lang.String toString()
          Get back the original String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_orgString

java.lang.String m_orgString
Store for the original String

Constructor Detail

CmsProcessedString

public CmsProcessedString(java.lang.String s)
Constructor for a new CmsProcessedString object


CmsProcessedString

public CmsProcessedString(byte[] b,
                          java.lang.String encoding)
Constructor for a new CmsProcessedString object

Method Detail

toString

public java.lang.String toString()
Get back the original String