org.objectweb.jonathan.libs.kernel.decoders
Class XMLPropertyDecoder
java.lang.Object
org.objectweb.jonathan.libs.kernel.decoders.XMLPropertyDecoder
- XMLElementDecoder
public class XMLPropertyDecoder
extends java.lang.Object
Property 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.
decode
public Component decode(XMLElement _xml_element,
String _element_name,
Context _configuration,
XMLElementDecoderDispatcher _dispatcher)
throws JonathanException
Converts a XML
PROPERTY
element to its
corresponding property runtime component.
Supported property types are:
- String
- char
- boolean
- byte
- short
- int
- long
- float
- double
- decode in interface XMLElementDecoder
_xml_element
- PROPERTY
tag to be decoded_element_name
- the property's element name_configuration
- where the property will be created