com.webhydra.slug.process
Interface IProcessStatusTranslator

All Superinterfaces:
ISlugService
All Known Implementing Classes:
AbstractProcessStatusTranslator, AbstractXmlProcessStatusTranslator, JavaScriptProcessStatusTranslator, XmlDtdProcessStatusTranslator, XmlXsdProcessStatusTranslator

public interface IProcessStatusTranslator
extends ISlugService

ProcessStatus translation interface

Author:
rossen

Method Summary
 java.lang.String getClassDef()
          Generate class definition.
 java.lang.String getContentType()
          Returns the content type of translated instance.
 java.lang.String translate(ProcessStatus ps)
          Generate process status instance.
 
Methods inherited from interface com.webhydra.slug.process.ISlugService
init, prepare, release
 

Method Detail

translate

java.lang.String translate(ProcessStatus ps)
Generate process status instance.

Parameters:
ps - Process Status to be translated
Returns:
implementation dependent String representation of provided parameter instance.

getClassDef

java.lang.String getClassDef()
Generate class definition.

Returns:
implementation dependent String representation of provided parameter class.

getContentType

java.lang.String getContentType()
Returns the content type of translated instance.

Returns:
the content type of translated instance.