|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nanocontainer.script.xml.XStreamComponentInstanceFactory
public class 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 | |
|---|---|
Object |
makeInstance(org.picocontainer.PicoContainer pico,
Element element,
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 Object makeInstance(org.picocontainer.PicoContainer pico,
Element element,
ClassLoader classLoader)
throws ClassNotFoundException
makeInstance in interface XMLComponentInstanceFactoryelement - the DOM Element
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 | |||||||||