org.simpleframework.xml.transform
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
Transform match(java.lang.Class type) throws java.lang.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 forjava.lang.Exception
- thrown if a transform could not be found