registerTypeHandler

public void registerTypeHandler(Matcher<TypeLink> matcher, Function<Object, String> handler)(source)

Registers a type handler for the given matcher.

Parameters

matcher

the matcher to register the handler for

handler

the handler to register


public void registerTypeHandler(Class<? extends Object> clazz, Function<Object, String> handler)(source)

Registers a type handler for the given class.

Parameters

clazz

the class to register the handler for

handler

the handler to register