code: public static List getList(Properties attributes) {
  		List list = new List();
  
  		list.setNumbered(Utilities.checkTrueOrFalse(attributes,
  				ElementTags.NUMBERED));
  		list.setLettered(Utilities.checkTrueOrFalse(attributes,
  				ElementTags.LETTERED));
  		list.setLowercase(Utilities.checkTrueOrFalse(attributes,
  				ElementTags.LOWERCASE));
  		list.setAutoindent(Utilities.checkTrueOrFalse(attributes,
  				ElementTags.AUTO_INDENT_ITEMS));
  		list.setAlignindent(Utilities.checkTrueOrFalse(attributes,
  				ElementTags.ALIGN_INDENTATION_ITEMS));
  
  		String value;
  
  		value = attributes.getProperty(ElementTags.FIRST);
  		if (value != null) {
  			char character = value.charAt(0);
  			if (Character.isLetter(character)) {
  				list.setFirst(character);
  			} else {
  				list.setFirst(Integer.parseInt(value));
  			}
  		}
  
  		value = attributes.getProperty(ElementTags.LISTSYMBOL);
  		if (value != null) {
  			list
  					.setListSymbol(new Chunk(value, FontFactory
  							.getFont(attributes)));
  		}
  
  		value = attributes.getProperty(ElementTags.INDENTATIONLEFT);
  		if (value != null) {
  			list.setIndentationLeft(Float.parseFloat(value + "f"));
  		}
  
  		value = attributes.getProperty(ElementTags.INDENTATIONRIGHT);
  		if (value != null) {
  			list.setIndentationRight(Float.parseFloat(value + "f"));
  		}
  
  		value = attributes.getProperty(ElementTags.SYMBOLINDENT);
  		if (value != null) {
  			list.setSymbolIndent(Float.parseFloat(value));
  		}
  
  		return list;
  	}
docs: Creates a List object based on a list of properties.
  @param attributes
  @return the List