org.objectweb.jonathan.libs.kernel.decoders

Interface XMLElementDecoderDispatcher

public interface XMLElementDecoderDispatcher

Dispatches XML to runtime component decoding among specific decoders.

Method Summary

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

Method Details

decode

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


error

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


getContextFactory

public ContextFactory getContextFactory()
Returns the context factory.


getFinder

public ClassPathFinder getFinder()
Returns the XML files finder.