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

Quick Search    Search Deep

org.jbpm.workflow.delegation.impl.htmlformatter
Class EnumRadioInput  view EnumRadioInput download EnumRadioInput.java

java.lang.Object
  extended byorg.jbpm.workflow.delegation.impl.htmlformatter.EnumRadioInput
All Implemented Interfaces:
org.jbpm.workflow.delegation.Configurable, org.jbpm.workflow.delegation.HtmlFormatter, java.io.Serializable

public class EnumRadioInput
extends java.lang.Object
implements org.jbpm.workflow.delegation.HtmlFormatter


Field Summary
private  java.lang.String nullValueLabel
           
private  java.util.Map values
           
 
Constructor Summary
EnumRadioInput()
           
 
Method Summary
private  void addHtmlValue(java.lang.StringBuffer buffer, java.lang.String parameterName, java.lang.String value, java.lang.String label)
           
 java.lang.String objectToHtml(java.lang.Object value, java.lang.String parameterName, javax.servlet.http.HttpServletRequest request)
          generates a HTML-fragment that is used to produce the automatically generated web-form that allows a user to perform an activity.
 java.lang.Object parseHttpParameter(java.lang.String text, javax.servlet.http.HttpServletRequest request)
          parses the text that is returned by the web-client to an java-object before it is stored in an org.jbpm.workflow.execution.AttributeInstance.
 void setConfiguration(java.util.Map configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

values

private java.util.Map values

nullValueLabel

private java.lang.String nullValueLabel
Constructor Detail

EnumRadioInput

public EnumRadioInput()
Method Detail

objectToHtml

public java.lang.String objectToHtml(java.lang.Object value,
                                     java.lang.String parameterName,
                                     javax.servlet.http.HttpServletRequest request)
Description copied from interface: org.jbpm.workflow.delegation.HtmlFormatter
generates a HTML-fragment that is used to produce the automatically generated web-form that allows a user to perform an activity.

Specified by:
objectToHtml in interface org.jbpm.workflow.delegation.HtmlFormatter

addHtmlValue

private void addHtmlValue(java.lang.StringBuffer buffer,
                          java.lang.String parameterName,
                          java.lang.String value,
                          java.lang.String label)

parseHttpParameter

public java.lang.Object parseHttpParameter(java.lang.String text,
                                           javax.servlet.http.HttpServletRequest request)
                                    throws java.text.ParseException
Description copied from interface: org.jbpm.workflow.delegation.HtmlFormatter
parses the text that is returned by the web-client to an java-object before it is stored in an org.jbpm.workflow.execution.AttributeInstance.

Specified by:
parseHttpParameter in interface org.jbpm.workflow.delegation.HtmlFormatter

setConfiguration

public void setConfiguration(java.util.Map configuration)
Specified by:
setConfiguration in interface org.jbpm.workflow.delegation.Configurable