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

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

public class XMLAliasDecoder
extends java.lang.Object
implements XMLElementDecoder

Alias specific XML to runtime component decoder. Used by the OpenXMLDecoder as one of the built-in component decoders provided it provides to its decoding dispatcher.


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

Constructor Detail

XMLAliasDecoder

public XMLAliasDecoder()
Method Detail

decode

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

Specified by:
decode in interface XMLElementDecoder
Parameters:
_xml_element - ALIAS tag to be decoded
_element_name - the alias's element name
_configuration - where the alias will be created
return - the corresponding decoded runtime alias component
Throws:
JonathanException