/** * Sets a particular {@link TagAction} for a given tag. Any existing TagAction for that tag * will be removed and overwritten. * * @param tag The tag (will be stored internally 1. as it is, 2. lower-case, 3. upper-case) * @param action The {@link TagAction} */ protected void setTagAction(final String tag, final TagAction action) { put(tag.toUpperCase(), action); put(tag.toLowerCase(), action); put(tag, action); }
/** * Sets a particular {@link TagAction} for a given tag. Any existing TagAction for that tag * will be removed and overwritten. * * @param tag The tag (will be stored internally 1. as it is, 2. lower-case, 3. upper-case) * @param action The {@link TagAction} */ protected void setTagAction(final String tag, final TagAction action) { put(tag.toUpperCase(), action); put(tag.toLowerCase(), action); put(tag, action); }
/** * Sets a particular {@link TagAction} for a given tag. Any existing TagAction for that tag * will be removed and overwritten. * * @param tag The tag (will be stored internally 1. as it is, 2. lower-case, 3. upper-case) * @param action The {@link TagAction} */ protected void setTagAction(final String tag, final TagAction action) { put(tag.toUpperCase(), action); put(tag.toLowerCase(), action); put(tag, action); }