org.objectweb.jonathan.libs.kernel.decoders

Class XMLIncludeDecoder

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(XMLElement _xml_element, String _element_name, Context _configuration, XMLElementDecoderDispatcher _dispatcher)
Converts a XML INCLUDE element to its corresponding included runtime configuration

Constructor Details

XMLIncludeDecoder

public XMLIncludeDecoder()

Method Details

decode

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