org.jbpm.formapi.client.form
Class FormRepresentationDecoderClient

java.lang.Object
  extended by org.jbpm.formapi.client.form.FormRepresentationDecoderClient
All Implemented Interfaces:
FormRepresentationDecoder

public class FormRepresentationDecoderClient
extends Object
implements FormRepresentationDecoder

Decodes json to different objects on the client side


Constructor Summary
FormRepresentationDecoderClient()
           
 
Method Summary
 Object decode(Map<String,Object> data)
           
 FormRepresentation decode(String code)
           
 Map<String,InputData> decodeInputs(com.google.gwt.json.client.JSONValue json)
           
 FormItemRepresentation decodeItem(String json)
           
 List<FormItemRepresentation> decodeItems(com.google.gwt.json.client.JSONValue json)
           
 Map<String,List<MenuItemDescription>> decodeMenuItemsMap(String json)
           
 Map<String,OutputData> decodeOutputs(com.google.gwt.json.client.JSONValue json)
           
 List<FBScript> decodeScripts(com.google.gwt.json.client.JSONValue json)
           
 List<FBValidation> decodeValidations(com.google.gwt.json.client.JSONValue json)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormRepresentationDecoderClient

public FormRepresentationDecoderClient()
Method Detail

decode

public Object decode(Map<String,Object> data)
              throws FormEncodingException
Specified by:
decode in interface FormRepresentationDecoder
Throws:
FormEncodingException

decode

public FormRepresentation decode(String code)
                          throws FormEncodingException
Specified by:
decode in interface FormRepresentationDecoder
Throws:
FormEncodingException

decodeMenuItemsMap

public Map<String,List<MenuItemDescription>> decodeMenuItemsMap(String json)
                                                         throws FormEncodingException
Specified by:
decodeMenuItemsMap in interface FormRepresentationDecoder
Throws:
FormEncodingException

decodeItem

public FormItemRepresentation decodeItem(String json)
                                  throws FormEncodingException
Specified by:
decodeItem in interface FormRepresentationDecoder
Throws:
FormEncodingException

decodeInputs

public Map<String,InputData> decodeInputs(com.google.gwt.json.client.JSONValue json)
                                   throws FormEncodingException
Throws:
FormEncodingException

decodeOutputs

public Map<String,OutputData> decodeOutputs(com.google.gwt.json.client.JSONValue json)
                                     throws FormEncodingException
Throws:
FormEncodingException

decodeScripts

public List<FBScript> decodeScripts(com.google.gwt.json.client.JSONValue json)
                             throws FormEncodingException
Throws:
FormEncodingException

decodeItems

public List<FormItemRepresentation> decodeItems(com.google.gwt.json.client.JSONValue json)
                                         throws FormEncodingException
Throws:
FormEncodingException

decodeValidations

public List<FBValidation> decodeValidations(com.google.gwt.json.client.JSONValue json)
                                     throws FormEncodingException
Throws:
FormEncodingException


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