Package org.osgi.util.converter
Interface TargetRule
public interface TargetRule
Interface for custom conversion rules.
-
Method Summary
Modifier and TypeMethodDescriptionThe function to perform the conversion.The target type of this rule.
-
Method Details
-
getFunction
ConverterFunction getFunction()The function to perform the conversion.- Returns:
- The function.
-
getTargetType
Type getTargetType()The target type of this rule. The conversion function is invoked for each conversion to the target type.- Returns:
- The target type.
-