com.instantbank.lettertemplate.imagesRepository.web
Class ImageTranslator

java.lang.Object
  |
  +--com.instantbank.lettertemplate.imagesRepository.web.ImageTranslator
All Implemented Interfaces:
java.io.Serializable

public class ImageTranslator
extends java.lang.Object
implements java.io.Serializable

Letter Images usecase: helper class for ImagesRepositoryMain.jsp

Author:
Instant-bank (Consuelo Franky, Jorge Cardenas)
See Also:
Serialized Form

Field Summary
private  java.lang.String[] code
           
private  Debug debug
           
private  java.lang.String[] name
           
private  int nlLength
           
 
Constructor Summary
ImageTranslator()
           
 
Method Summary
 java.lang.String getImagesArray()
          extends the onLoad() javaScript method initializing itemsArrays according to input data of the jsp
 void setData(javax.servlet.http.HttpServletRequest request)
          gets images list from request and creates input data for the jsp setting values of code and name Strings
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

code

private java.lang.String[] code

name

private java.lang.String[] name

nlLength

private int nlLength

debug

private Debug debug
Constructor Detail

ImageTranslator

public ImageTranslator()
Method Detail

setData

public void setData(javax.servlet.http.HttpServletRequest request)
gets images list from request and creates input data for the jsp setting values of code and name Strings
Parameters:
request - of MainServlet

getImagesArray

public java.lang.String getImagesArray()
extends the onLoad() javaScript method initializing itemsArrays according to input data of the jsp
Returns:
String to append to onLoad()