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

java.lang.Object
  extended by org.objectweb.jonathan.libs.kernel.decoders.XMLSequenceDecoder
All 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

Constructor Summary
XMLSequenceDecoder()
           
 
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

XMLSequenceDecoder

public XMLSequenceDecoder()
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