org.objectweb.jonathan.libs.kernel.decoders
Interface XMLElementDecoderDispatcher


public interface XMLElementDecoderDispatcher

Dispatches XML to runtime component decoding among specific decoders.


Method Summary
 Component decode(nanoxml.XMLElement _xml_element, java.lang.String _element_name, Context _configuration)
          Converts a XML element to its corresponding runtime component.
 Component error(java.lang.String message)
          Mere error processing.
 ContextFactory getContextFactory()
          Returns the context factory.
 ClassPathFinder getFinder()
          Returns the XML files finder.
 

Method Detail

decode

public Component decode(nanoxml.XMLElement _xml_element,
                        java.lang.String _element_name,
                        Context _configuration)
                 throws JonathanException
Converts a XML element to its corresponding runtime component.

Parameters:
_xml_element - to be decoded
_element_name - the component's element name
_configuration - where the component will be created
Throws:
JonathanException

error

public Component error(java.lang.String message)
                throws JonathanException
Mere error processing.

Throws:
JonathanException

getFinder

public ClassPathFinder getFinder()
Returns the XML files finder.


getContextFactory

public ContextFactory getContextFactory()
Returns the context factory.