org.objectweb.jonathan.libs.kernel.decoders

Class XMLSequenceDecoder

Implemented Interfaces:
XMLElementDecoder

public class XMLSequenceDecoder
extends java.lang.Object
implements XMLElementDecoder

Imports a runtime sequence 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

Method Summary

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

Method Details

decode

public Component decode(XMLElement _xml_element,
                        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