Top Description Methods
org.osgi.util.converter

public Interface TargetRule

Known Direct Implementers
org.osgi.util.converter.TypeRule, org.osgi.util.converter.Rule
Imports
java.lang.reflect.Type

Interface for custom conversion rules.
Author
$Id: 614df24bd93d3c5fa1151ae389f2d437a4e3fbae $

Method Summary

Modifier and TypeMethod and Description
public ConverterFunction

Returns:

The function.
getFunction
()

The function to perform the conversion.

public Type

Returns:

The target type.
getTargetType
()

The target type of this rule.

Method Detail

getFunctionback to summary
public ConverterFunction getFunction()

The function to perform the conversion.

Returns:ConverterFunction

The function.

getTargetTypeback to summary
public Type getTargetType()

The target type of this rule. The conversion function is invoked for each conversion to the target type.

Returns:Type

The target type.