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

java.lang.Object
  extended by org.objectweb.jonathan.libs.kernel.decoders.XMLIncludeDecoder
All Implemented Interfaces:
XMLElementDecoder

public class XMLIncludeDecoder
extends java.lang.Object
implements XMLElementDecoder

Include specific XML or properties to runtime configuration decoder. Used by the OpenXMLDecoder as one of the built-in XML to runtime configuration decoders provided it provides to its decoding dispatcher.


Constructor Summary
XMLIncludeDecoder()
           
 
Method Summary
 Component decode(nanoxml.XMLElement _xml_element, java.lang.String _element_name, Context _configuration, XMLElementDecoderDispatcher _dispatcher)
          Converts a XML INCLUDE element to its corresponding included runtime configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLIncludeDecoder

public XMLIncludeDecoder()
Method Detail

decode

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

Specified by:
decode in interface XMLElementDecoder
Parameters:
_xml_element - INCLUDE tag to be decoded
_element_name - the include's element name
_configuration - where the decoded configuration will be included
return - the corresponding decoded runtime included configuration
Throws:
JonathanException