org.jbpm.formapi.client.form
Class FormRepresentationDecoderClient
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormRepresentationDecoderClient
public FormRepresentationDecoderClient()
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.