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

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
return - the corresponding decoded runtime component
Throws:
JonathanException

error

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

Throws:
JonathanException

getFinder

ClassPathFinder getFinder()
Returns the XML files finder.


getContextFactory

ContextFactory getContextFactory()
Returns the context factory.