|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picocontainer.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 instanceMethod Detail |
---|
public Object makeInstance(org.picocontainer.PicoContainer pico, Element element, ClassLoader classLoader)
XMLComponentInstanceFactory
makeInstance
in interface XMLComponentInstanceFactory
pico
- the PicoContainerelement
- the DOM ElementclassLoader
- the ClassLoader
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |