org.objectweb.jonathan.libs.kernel.decoders
Class XMLImplicitFactoryDecoder

java.lang.Object
  extended byorg.objectweb.jonathan.libs.kernel.decoders.XMLImplicitFactoryDecoder
All Implemented Interfaces:
XMLElementDecoder

public class XMLImplicitFactoryDecoder
extends java.lang.Object
implements XMLElementDecoder

Imports a runtime implicit factory component from its XML description. See the XML DTD file. Allow an XMLOpenDecoder to decode an XML configuration file containing valid implicit factory tags. It must therefore be provided in the Context parameter of the OpenXMLDecoderas the value of an element named "IMPLICIT_FACTORY".

See Also:
JImplicitFactory, OpenXMLDecoder

Constructor Summary
XMLImplicitFactoryDecoder()
           
 
Method Summary
 Component decode(nanoxml.XMLElement _xml_element, java.lang.String _element_name, Context _configuration, XMLElementDecoderDispatcher _dispatcher)
          returns a new runtime ImplicitFactory component from its NanoXML element description.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLImplicitFactoryDecoder

public XMLImplicitFactoryDecoder()
Method Detail

decode

public Component decode(nanoxml.XMLElement _xml_element,
                        java.lang.String _element_name,
                        Context _configuration,
                        XMLElementDecoderDispatcher _dispatcher)
                 throws JonathanException
returns a new runtime ImplicitFactory component from its NanoXML element description.

Specified by:
decode in interface XMLElementDecoder
Parameters:
_xml_element - its NanoXML description
_element_name - its element's name
_configuration - unused here
Returns:
the corresponding runtime implicit factory component
Throws:
JonathanException