Interface Matcher

All Known Implementing Classes:
ArrayMatcher, DefaultMatcher, EmptyMatcher, EmptyMatcher, PackageMatcher, PrimitiveMatcher, RegistryMatcher

public interface Matcher
The 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.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    match(Class type)
    This is used to match a Transform using the type specified.
  • Method Details

    • match

      Transform match(Class type) throws Exception
      This is used to match a Transform using the type specified. If no transform can be acquired then this returns a null value indicating that no transform could be found.
      Parameters:
      type - this is the type to acquire the transform for
      Returns:
      returns a transform for processing the type given
      Throws:
      Exception