code: protected String getText(String key, String defaultVal) {
      return textResource.getText(key, defaultVal);
    }
docs: <p>
  getText.
  </p>
  
  @param key a {@link java.lang.String} object.
  @param defaultVal a {@link java.lang.String} object.
  @return a {@link java.lang.String} object.