Liferay 6.0.5

com.liferay.util
Class Autocomplete

java.lang.Object
  extended by com.liferay.util.Autocomplete

public class Autocomplete
extends Object


Constructor Summary
Autocomplete()
           
 
Method Summary
static JSONArray arrayToJson(String[][] array, int max)
           
static JSONArray arrayToJson(String[] array, int max)
           
static String arrayToXml(String[][] array, int max)
           
static String arrayToXml(String[] array, int max)
           
static String[][] listToArray(List<?> list, String textParam, String valueParam)
           
static JSONArray listToJson(List<?> list, String textParam, String valueParam)
           
static String listToXml(List<?> list, String textParam, String valueParam)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Autocomplete

public Autocomplete()
Method Detail

arrayToJson

public static JSONArray arrayToJson(String[] array,
                                    int max)

arrayToJson

public static JSONArray arrayToJson(String[][] array,
                                    int max)

arrayToXml

public static String arrayToXml(String[] array,
                                int max)

arrayToXml

public static String arrayToXml(String[][] array,
                                int max)

listToArray

public static String[][] listToArray(List<?> list,
                                     String textParam,
                                     String valueParam)

listToJson

public static JSONArray listToJson(List<?> list,
                                   String textParam,
                                   String valueParam)

listToXml

public static String listToXml(List<?> list,
                               String textParam,
                               String valueParam)

Liferay 6.0.5