de.dfki.util.xmlrpc.conversion
Interface Convertible<XML_REP_T>
- Type Parameters:
XML_REP_T
- It's XML-RPC representation. (one of XmlRpc
).
- All Known Subinterfaces:
- Convertable<XML_REP_T>
- All Known Implementing Classes:
- NoParameterBoundConverter
public interface Convertible<XML_REP_T>
Controls instance transformation from a type T to it's XML-RPC representation.
To be usable in a Delight-compliant API a parameter also has to define a
public constructor having the XML-RPC representation type as single argument.
- Author:
- lauer
Method Summary |
XML_REP_T |
toXmlRpc()
Transforms the parameter into it's XML-RPC representation. |
toXmlRpc
XML_REP_T toXmlRpc()
throws TypeConversionException
- Transforms the parameter into it's XML-RPC representation.
- Returns:
- A XML-RPC compliant representation.
- Throws:
TypeConversionException
Copyright © 2012. All Rights Reserved.