|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.nanocontainer.script.xml.XStreamComponentInstanceFactory
Implementation of XMLComponentInstanceFactory that uses XStream to unmarshal DOM elements.
| Constructor Summary | |
XStreamComponentInstanceFactory()
Creates an XStreamComponentInstanceFactory with the default instance of XStream |
|
XStreamComponentInstanceFactory(com.thoughtworks.xstream.XStream xstream)
Creates an XStreamComponentInstanceFactory for a given instance of XStream |
|
| Method Summary | |
java.lang.Object |
makeInstance(org.picocontainer.PicoContainer pico,
org.w3c.dom.Element element,
java.lang.ClassLoader classLoader)
Creates an instance of an Object from a DOM Element |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XStreamComponentInstanceFactory()
public XStreamComponentInstanceFactory(com.thoughtworks.xstream.XStream xstream)
xstream - the XStream instance| Method Detail |
public java.lang.Object makeInstance(org.picocontainer.PicoContainer pico,
org.w3c.dom.Element element,
java.lang.ClassLoader classLoader)
throws java.lang.ClassNotFoundException
makeInstance in interface XMLComponentInstanceFactorypico - element - the DOM ElementclassLoader -
java.lang.ClassNotFoundExceptionXMLComponentInstanceFactory.makeInstance(org.picocontainer.PicoContainer,org.w3c.dom.Element,ClassLoader)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||