org.objectweb.jonathan.libs.kernel.decoders
Class XMLSequenceDecoder
java.lang.Object
org.objectweb.jonathan.libs.kernel.decoders.XMLSequenceDecoder
- All Implemented Interfaces:
- XMLElementDecoder
- public class XMLSequenceDecoder
- extends java.lang.Object
- implements XMLElementDecoder
Imports a runtime sequence component from its XML description.
See the XML DTD file. Allow an XMLOpenDecoder to decode
an XML configuration file containing valid implicit factory tags.
It must therefore be provided in the Context parameter of the
OpenXMLDecoder
as the value of an element named
"IMPLICIT_FACTORY".
- See Also:
JImplicitFactory
,
OpenXMLDecoder
Method Summary |
Component |
decode(nanoxml.XMLElement _xml_element,
java.lang.String _element_name,
Context _configuration,
XMLElementDecoderDispatcher _dispatcher)
returns a new runtime ImplicitFactory component from
its NanoXML element description. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLSequenceDecoder
public XMLSequenceDecoder()
decode
public Component decode(nanoxml.XMLElement _xml_element,
java.lang.String _element_name,
Context _configuration,
XMLElementDecoderDispatcher _dispatcher)
throws JonathanException
- returns a new runtime ImplicitFactory component from
its NanoXML element description.
- Specified by:
decode
in interface XMLElementDecoder
- Parameters:
_xml_element
- its NanoXML description_element_name
- its element's name_configuration
- unused here
- Returns:
- the corresponding runtime implicit factory component
- Throws:
JonathanException