atg.svc.ui.formhandlers
Class SolutionFieldsDecoder

java.lang.Object
  extended by atg.svc.ui.formhandlers.SolutionFieldsDecoder

public class SolutionFieldsDecoder
extends java.lang.Object

On UI side, fields data that user has entered are encoded an passed as set of strings.

Version:
$Id: //application/service/version/2007.3/common-ui/src/classes/atg/svc/ui/formhandlers/SolutionFieldsDecoder.java#2 $$Change: 632007 $

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
SolutionFieldsDecoder()
           
 
Method Summary
static java.util.Map parseDuplicateFields(java.lang.String[] fields)
          Converts encoded format into usual representation.
static java.util.Map parseFields(java.lang.String[] fields)
          Serializes encoded fields into field value objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

SolutionFieldsDecoder

public SolutionFieldsDecoder()
Method Detail

parseFields

public static java.util.Map parseFields(java.lang.String[] fields)
Serializes encoded fields into field value objects.

Parameters:
fields - encoded format
Returns:
Map(String fieldName, String[fieldValues][4]{value, extSegment, intSegment, args} ) -- structure to access fields data

parseDuplicateFields

public static java.util.Map parseDuplicateFields(java.lang.String[] fields)
Converts encoded format into usual representation.

Parameters:
fields - encoded format
Returns:
Map(String fieldName, String[fieldValues][3]{value, extSegment, intSegment} ) -- structure to access fields data