Skip navigation links
A B C D E F G K N O R S T V 

A

apply(Object, Type) - Method in interface org.osgi.util.converter.ConverterFunction
Convert the object into the target type.

B

build() - Method in interface org.osgi.util.converter.ConverterBuilder
Build the specified converter.

C

CANNOT_HANDLE - Static variable in interface org.osgi.util.converter.ConverterFunction
Special object to indicate that a custom converter rule or error handler cannot handle the conversion.
ConversionException - Exception in org.osgi.util.converter
This Runtime Exception is thrown when an object is requested to be converted but the conversion cannot be done.
ConversionException(String) - Constructor for exception org.osgi.util.converter.ConversionException
Create a Conversion Exception with a message.
ConversionException(String, Throwable) - Constructor for exception org.osgi.util.converter.ConversionException
Create a Conversion Exception with a message and a nested cause.
convert(Object) - Method in interface org.osgi.util.converter.Converter
Start a conversion for the given object.
Converter - Interface in org.osgi.util.converter
The Converter service is used to start a conversion.
ConverterBuilder - Interface in org.osgi.util.converter
A builder to create a new converter with modified behavior based on an existing converter.
ConverterFunction - Interface in org.osgi.util.converter
An functional interface with a convert method that is passed the original object and the target type to perform a custom conversion.
Converters - Class in org.osgi.util.converter
Factory class to obtain the standard converter or a new converter builder.
Converting - Interface in org.osgi.util.converter
This interface is used to specify the target that an object should be converted to.

D

defaultValue(Object) - Method in interface org.osgi.util.converter.Specifying
The default value to use when the object cannot be converted or in case of conversion from a null value.

E

errorHandler(ConverterFunction) - Method in interface org.osgi.util.converter.ConverterBuilder
Register a custom error handler.

F

function() - Method in interface org.osgi.util.converter.Converter
Start defining a function that can perform given conversions.
Functioning - Interface in org.osgi.util.converter
This interface is used to specify the target function to perform conversions.

G

getFunction() - Method in class org.osgi.util.converter.Rule
 
getFunction() - Method in interface org.osgi.util.converter.TargetRule
The function to perform the conversion.
getFunction() - Method in class org.osgi.util.converter.TypeRule
 
getTargetType() - Method in class org.osgi.util.converter.Rule
 
getTargetType() - Method in interface org.osgi.util.converter.TargetRule
The target type of this rule.
getTargetType() - Method in class org.osgi.util.converter.TypeRule
 
getType() - Method in class org.osgi.util.converter.TypeReference
Return the actual type of this Type Reference

K

keysIgnoreCase() - Method in interface org.osgi.util.converter.Specifying
When converting between map-like types use case-insensitive mapping of keys.

N

newConverterBuilder() - Method in interface org.osgi.util.converter.Converter
Obtain a builder to create a modified converter based on this converter.
newConverterBuilder() - Static method in class org.osgi.util.converter.Converters
Obtain a converter builder based on the standard converter.

O

org.osgi.util.converter - package org.osgi.util.converter
Converter Package Version 1.0.

R

rule(Type, ConverterFunction) - Method in interface org.osgi.util.converter.ConverterBuilder
Register a conversion rule for this converter.
rule(TargetRule) - Method in interface org.osgi.util.converter.ConverterBuilder
Register a conversion rule for this converter.
rule(ConverterFunction) - Method in interface org.osgi.util.converter.ConverterBuilder
Register a catch-all rule, will be called of no other rule matches.
Rule<F,T> - Class in org.osgi.util.converter
A rule implementation that works by capturing the type arguments via subclassing.
Rule(Function<F, T>) - Constructor for class org.osgi.util.converter.Rule
Create an instance with a conversion function.

S

sourceAs(Class<?>) - Method in interface org.osgi.util.converter.Specifying
Treat the source object as the specified class.
sourceAsBean() - Method in interface org.osgi.util.converter.Specifying
Treat the source object as a JavaBean.
sourceAsDTO() - Method in interface org.osgi.util.converter.Specifying
Treat the source object as a DTO even if the source object has methods or is otherwise not recognized as a DTO.
Specifying<T extends Specifying<T>> - Interface in org.osgi.util.converter
This is the base interface for the Converting and Functioning interfaces and defines the common modifiers that can be applied to these.
standardConverter() - Static method in class org.osgi.util.converter.Converters
Obtain the standard converter.

T

targetAs(Class<?>) - Method in interface org.osgi.util.converter.Specifying
Treat the target object as the specified class.
targetAsBean() - Method in interface org.osgi.util.converter.Specifying
Treat the target object as a JavaBean.
targetAsDTO() - Method in interface org.osgi.util.converter.Specifying
Treat the target object as a DTO even if it has methods or is otherwise not recognized as a DTO.
TargetRule - Interface in org.osgi.util.converter
Interface for custom conversion rules.
to(Class<T>) - Method in interface org.osgi.util.converter.Converting
Specify the target object type for the conversion as a class object.
to(Type) - Method in interface org.osgi.util.converter.Converting
Specify the target object type as a Java Reflection Type object.
to(TypeReference<T>) - Method in interface org.osgi.util.converter.Converting
Specify the target object type as a TypeReference.
to(Class<T>) - Method in interface org.osgi.util.converter.Functioning
Specify the target object type for the conversion as a class object.
to(Type) - Method in interface org.osgi.util.converter.Functioning
Specify the target object type as a Java Reflection Type object.
to(TypeReference<T>) - Method in interface org.osgi.util.converter.Functioning
Specify the target object type as a TypeReference.
TypeReference<T> - Class in org.osgi.util.converter
An object does not carry any runtime information about its generic type.
TypeReference() - Constructor for class org.osgi.util.converter.TypeReference
A TypeReference cannot be directly instantiated.
TypeRule<F,T> - Class in org.osgi.util.converter
Rule implementation that works by passing in type arguments rather than subclassing.
TypeRule(Type, Type, Function<F, T>) - Constructor for class org.osgi.util.converter.TypeRule
Create an instance based on source, target types and a conversion function.

V

view() - Method in interface org.osgi.util.converter.Specifying
Return a live view over the backing object that reflects any changes to the original object.
A B C D E F G K N O R S T V 
Skip navigation links

Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.