/** * Returns <code>true</code> if there is at last one warning in the selected locale.<p> * * @param locale the locale to check * * @return <code>true</code> if there is at last one warning in the selected locale */ public boolean hasWarnings(Locale locale) { return null != getWarnings(locale); }
/** * Returns <code>true</code> if there is at last one warning in the selected locale.<p> * * @param locale the locale to check * * @return <code>true</code> if there is at last one warning in the selected locale */ public boolean hasWarnings(Locale locale) { return null != getWarnings(locale); }
if (errorHandler.hasWarnings()) { boolean reallyHasErrors = false; for (Entry<Locale, Map<String, String>> localeEntry : errorHandler.getWarnings().entrySet()) { Map<String[], String> warnings = new HashMap<String[], String>(); for (Entry<String, String> warning : localeEntry.getValue().entrySet()) {
&& getValidationHandler().getWarnings(getElementLocale()).containsKey(key)) { result.append(getEditorResourceUri()); result.append("warning.png\" border=\"0\" alt=\"\" align=\"left\" hspace=\"5\">"); result.append(resolveMacros(getValidationHandler().getWarnings(getElementLocale()).get(key))); result.append("</td><td></td></tr>\n"); } else { result.append("warning.png"); result.append("\" border=\"0\" alt=\"\"></td><td class=\"xmlTdWarning\">"); result.append(resolveMacros(getValidationHandler().getWarnings(getElementLocale()).get(key))); result.append("</td><td></td></tr>\n");
&& getValidationHandler().getWarnings(getElementLocale()).containsKey(key)) { result.append("warning.png\" border=\"0\" alt=\"\" align=\"left\" hspace=\"5\">"); result.append( resolveMacros(getValidationHandler().getWarnings(getElementLocale()).get(key))); result.append("</td><td></td></tr>\n"); } else { result.append("\" border=\"0\" alt=\"\"></td><td class=\"xmlTdWarning\">"); result.append( resolveMacros(getValidationHandler().getWarnings(getElementLocale()).get(key))); result.append("</td><td></td></tr>\n");