<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <!-- Oracle bean used for a few examples --> <bean id="oracle" name="wiseworm" class="BookwormOracle"/>
// display the properties i = props.keySet().iterator(); System.out.println("/nProperties contents:/n"); while (i.hasNext()) { String key = i.next().toString(); System.out.println("Key: " + key + " - Value: " + props.getProperty(key)); }
// display the set i = set.iterator(); System.out.println("/nSet contents:/n"); while (i.hasNext()) { System.out.println("Value: " + i.next()); }
// display the list i = list.iterator(); System.out.println("/nList contents:/n"); while (i.hasNext()) { System.out.println("Value: " + i.next()); } } }