Class EmptyMatcher

  • All Implemented Interfaces:
    Matcher

    class EmptyMatcher
    extends java.lang.Object
    implements Matcher
    The EmptyMatcher object is used as a delegate type that is used when no user specific matcher is specified. This ensures that no transform is resolved for a specified type, and allows the normal resolution of the stock transforms.
    See Also:
    Transformer
    • Constructor Summary

      Constructors 
      Constructor Description
      EmptyMatcher()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Transform match​(java.lang.Class type)
      This method is used to return a null value for the transform.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EmptyMatcher

        EmptyMatcher()
    • Method Detail

      • match

        public Transform match​(java.lang.Class type)
                        throws java.lang.Exception
        This method is used to return a null value for the transform. Returning a null value allows the normal resolution of the stock transforms to be used when no matcher is specified.
        Specified by:
        match in interface Matcher
        Parameters:
        type - this is the type that is expecting a transform
        Returns:
        this transform will always return a null value
        Throws:
        java.lang.Exception