code: protected Object extract(Object target, String property) throws Exception {
      if (errorProperties.contains(property)) return null;
      Object value = null;
      try {
        value = expressionEvaluator.eval(property, target);
      } catch (EvaluationException e) {
        return null;
      }
      if (value instanceof Boolean) {
        if (null == textResource) {
          return value;
        } else {
          if (Boolean.TRUE.equals(value)) return getText("common.yes", "Y");
          else return getText("common.no", "N");
        }
      } else {
        return value;
      }
    }
docs: <p>
  extract.
  </p>
  
  @param target a {@link java.lang.Object} object.
  @param property a {@link java.lang.String} object.
  @return a {@link java.lang.Object} object.
  @throws java.lang.Exception if any.