org.jbpm.formapi.server.trans
Class ScriptingTranslator

java.lang.Object
  extended by org.jbpm.formapi.server.trans.ScriptingTranslator
All Implemented Interfaces:
Translator

public class ScriptingTranslator
extends Object
implements Translator


Constructor Summary
ScriptingTranslator(String language, String folderClassPathLocation)
           
 
Method Summary
 String getLanguage()
           
 String getOnEventParams(FormItemRepresentation item)
           
 String getParam(String paramName, Integer paramValue)
           
 String getParam(String paramName, String paramValue)
           
 String getStyleParam(String paramName, String paramValue)
           
 URL translateForm(FormRepresentation form)
           
 String translateItem(FormItemRepresentation item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptingTranslator

public ScriptingTranslator(String language,
                           String folderClassPathLocation)
Method Detail

getLanguage

public String getLanguage()
Specified by:
getLanguage in interface Translator

translateItem

public String translateItem(FormItemRepresentation item)
                     throws TranslatorException
Specified by:
translateItem in interface Translator
Throws:
TranslatorException

translateForm

public URL translateForm(FormRepresentation form)
                  throws TranslatorException
Specified by:
translateForm in interface Translator
Throws:
TranslatorException

getParam

public String getParam(String paramName,
                       String paramValue)

getParam

public String getParam(String paramName,
                       Integer paramValue)

getStyleParam

public String getStyleParam(String paramName,
                            String paramValue)

getOnEventParams

public String getOnEventParams(FormItemRepresentation item)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.