protected boolean match ( Object instance , Field field , Highlight highlight ) { try { Object o = getPm ( ) . get ( instance , field . getProperty ( ) ) ; if ( o != null && o . toString ( ) . equals ( highlight . getValue ( ) ) && highlight . getField ( ) . equals ( field . getId ( ) ) ) { return true ; } } catch ( Exception e ) { } return false ; }
Indicate if the field of the given instance matches with the given highlight