DataList dataList = (DataList) obj;
stringBuilder.append(URIConstants.LIST_PREFIX);
stringBuilder.append(URIConstants.OBJ_START);
if (!dataList.isEmpty())
{
ListIterator<Object> iterator = dataList.listIterator();
encodeDataObject(iterator.next(), escaping, componentType, stringBuilder);
while(iterator.hasNext())
{
stringBuilder.append(URIConstants.ITEM_SEP);
encodeDataObject(iterator.next(), escaping, componentType, stringBuilder);