org.nanocontainer.script.xml
Interface XMLComponentInstanceFactory
- All Known Implementing Classes:
- BeanComponentInstanceFactory, XStreamComponentInstanceFactory
- public interface XMLComponentInstanceFactory
Factory that creates instances from DOM Elements
- Author:
- Paul Hammant, Marcos Tarruella
Method Summary |
java.lang.Object |
makeInstance(org.picocontainer.PicoContainer container,
org.w3c.dom.Element element,
java.lang.ClassLoader classLoader)
Creates an instance of an Object from a DOM Element |
makeInstance
public java.lang.Object makeInstance(org.picocontainer.PicoContainer container,
org.w3c.dom.Element element,
java.lang.ClassLoader classLoader)
throws java.lang.ClassNotFoundException,
java.net.MalformedURLException
- Creates an instance of an Object from a DOM Element
- Parameters:
container
- element
- the DOM ElementclassLoader
-
- Returns:
- An Object instance
- Throws:
java.lang.ClassNotFoundException
java.net.MalformedURLException
Copyright © 2003-2007 Codehaus. All Rights Reserved.