register
Registers a DefaultHandler for the given type.
If a handler is already registered for this type, it will be overwritten.
Parameters
type
the target type to associate with the handler
handler
the handler instance responsible for parsing the type