<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd"> | |
<beans> | |
<bean id="dictionary" class="java.util.Properties" /> | |
<bean id="testWithProps" | |
class="org.eclipse.gemini.blueprint.DictionaryEditorTest"> | |
<property name="dictionary"> | |
<props> | |
<prop key="foo">bar</prop> | |
<prop key="white">black</prop> | |
</props> | |
</property> | |
</bean> | |
<bean id="testWithMap" | |
class="org.eclipse.gemini.blueprint.DictionaryEditorTest"> | |
<property name="dictionary"> | |
<map> | |
<entry key="foo" value="bar" /> | |
<entry key="white" value="black" /> | |
</map> | |
</property> | |
</bean> | |
<bean id="testWithValue" | |
class="org.eclipse.gemini.blueprint.DictionaryEditorTest"> | |
<property name="dictionary"> | |
<value> | |
foo=bar | |
white=black | |
</value> | |
</property> | |
</bean> | |
</beans> |