/** * Adds a particular {@link TagAction} for a given tag. If a TagAction already exists for that tag, * a chained action, consisting of the previous and the new {@link TagAction} is created. * * @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 addTagAction(final String tag, final TagAction action) { TagAction previousAction = get(tag); if(previousAction == null) { setTagAction(tag, action); } else { setTagAction(tag, new CommonTagActions.Chained(previousAction, action)); } } }
/** * Adds a particular {@link TagAction} for a given tag. If a TagAction already exists for that tag, * a chained action, consisting of the previous and the new {@link TagAction} is created. * * @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 addTagAction(final String tag, final TagAction action) { TagAction previousAction = get(tag); if(previousAction == null) { setTagAction(tag, action); } else { setTagAction(tag, new CommonTagActions.Chained(previousAction, action)); } } }
/** * Adds a particular {@link TagAction} for a given tag. If a TagAction already exists for that tag, * a chained action, consisting of the previous and the new {@link TagAction} is created. * * @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 addTagAction(final String tag, final TagAction action) { TagAction previousAction = get(tag); if(previousAction == null) { setTagAction(tag, action); } else { setTagAction(tag, new CommonTagActions.Chained(previousAction, action)); } } }
protected void addTagAction(final String tag, final TagAction action) { TagAction previousAction = get(tag); if(previousAction == null) { setTagAction(tag, action); } else { setTagAction(tag, new CommonTagActions.Chained(previousAction, action)); } } }