com.sun.electric.util.config.testConfigParameters.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- * * Electric(tm) VLSI Design System * * File: testConfigParameters.xml * electric core * * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. * * Electric(tm) is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Electric(tm) is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Electric(tm); see the file COPYING. If not, write to * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, Mass 02111-1307, USA. --> <electric:configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:electric="http://www.sun.com/Electric" xsi:schemaLocation="http://www.sun.com/Electric ../../../../../econfig.xsd"> <electric:injection name="simpleDataType" implementation="com.sun.electric.util.config.SimpleDataType" /> <electric:injection name="simpleParameterType" implementation="com.sun.electric.util.config.SimpleParameterType"> <electric:parameters> <electric:parameter name="test" value="TestStringSetter" type="String" /> <electric:parameter name="simpleData" ref="simpleDataType" /> </electric:parameters> </electric:injection> <electric:injection name="simpleConstructorType" implementation="com.sun.electric.util.config.SimpleConstructorType"> <electric:parameters> <electric:parameter name="test" value="TestStringConstructor" type="String" /> <electric:parameter name="simpleData" ref="simpleDataType" /> </electric:parameters> </electric:injection> <electric:injection name="simpleFactoryType" implementation="com.sun.electric.util.config.SimpleFactoryType" factoryMethod="createInstance"> <electric:parameters> <electric:parameter name="test" value="TestStringFactory" type="String" /> <electric:parameter name="simpleData" ref="simpleDataType" /> </electric:parameters> </electric:injection> <electric:injection name="simpleFactoryTypeNumber" implementation="com.sun.electric.util.config.SimpleFactoryType" factoryMethod="createInstance"> <electric:parameters> <electric:parameter name="test" value="2.0" type="Double" /> <electric:parameter name="simpleData" ref="simpleDataType" /> </electric:parameters> </electric:injection> </electric:configuration>