public interface Matcher
Matcher
is used to match a type with a transform
such that a string value can be read or written as that type. If
there is no match this will typically return a null to indicate
that another matcher should be delegated to. If there is an error
in performing the match an exception is thrown.Transformer
Modifier and Type | Method and Description |
---|---|
Transform |
match(Class type)
This is used to match a
Transform using the type
specified. |
Transform match(Class type) throws Exception
Transform
using the type
specified. If no transform can be acquired then this returns
a null value indicating that no transform could be found.type
- this is the type to acquire the transform forException