org.pentaho.platform.engine.services.solution
Class SimpleContentGenerator

java.lang.Object
  extended by org.pentaho.platform.engine.core.system.PentahoBase
      extended by org.pentaho.platform.engine.services.solution.BaseContentGenerator
          extended by org.pentaho.platform.engine.services.solution.SimpleContentGenerator
All Implemented Interfaces:
Serializable, IContentGenerator, ILogger
Direct Known Subclasses:
AbstractAxisServiceContentGenerator, EchoContentGenerator, GEchoContentGenerator

public abstract class SimpleContentGenerator
extends BaseContentGenerator

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.pentaho.platform.engine.core.system.PentahoBase
EMPTYLOGID, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
 
Fields inherited from interface org.pentaho.platform.api.engine.ILogger
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
 
Constructor Summary
SimpleContentGenerator()
           
 
Method Summary
 void createContent()
          the createContent() method is called after the content generator has been initialized appropriately, and is responsible for populating the output handler.
abstract  void createContent(OutputStream out)
           
abstract  String getMimeType()
           
 
Methods inherited from class org.pentaho.platform.engine.services.solution.BaseContentGenerator
getItemName, getLogger, setCallbacks, setInstanceId, setItemName, setMessagesList, setOutputHandler, setParameterProviders, setSession, setUrlFactory
 
Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.platform.api.engine.ILogger
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn
 

Constructor Detail

SimpleContentGenerator

public SimpleContentGenerator()
Method Detail

createContent

public void createContent()
                   throws Exception
Description copied from interface: IContentGenerator
the createContent() method is called after the content generator has been initialized appropriately, and is responsible for populating the output handler.

Specified by:
createContent in interface IContentGenerator
Specified by:
createContent in class BaseContentGenerator
Throws:
Exception

createContent

public abstract void createContent(OutputStream out)
                            throws Exception
Throws:
Exception

getMimeType

public abstract String getMimeType()