Method to get {@link TagHandler} by tag, can be overridden to change the logic of handler searching

@param tag
- tag to be handled
@return - this for chaining
428037
public TagHandler getHandler(Tag tag) {
        if (handlers.containsKey(tag.getName())) {
            return handlers.get(tag.getName());
        }
        return null;
    }
1015720
private static Elements getElementsByTag(Element e, String tag) {
        Elements es = e.getElementsByTag(tag);
        es.remove(e);
        return es;
    }
1297500
public UpdateInputSecurityGroupRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
142612
@SuppressWarnings("unchecked")
    public <T extends XPathBuilder> T setLabelTag(final String labelTag) {
        this.labelTag = labelTag;
        return (T) this;
    }
512747
public CreateRobotResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
83830
public TagQueueRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1273213
public void addTag(String tag) {
        if (this.tags == null) {
            tags = new ArrayList<String>();
        }
        this.tags.add(tag);
    }
653552
public T withTags(Iterable<Tag> tags) {
    for (Tag t : tags) {
      extraTags.add(t);
    }
    return (T) this;
  }
820731
public Reservation withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1015178
public TagLogGroupRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1056872
public CreateAppRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
968892
public ApplicationResponse withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
404336
public TagHandler createSkipHandler() {
        return new TagHandler() {
            @Override
            public void handle(Tag tag, InputStream input) throws IOException, ConverterException {
                log.debug("Going to skip tag: " + tag.getName());
                long size = tag.getSize();
                while (size > 0) {
                    size -= input.skip(size);
                }
            }
        };
    }
17604
public static void i(String tag, String msg) {
        if (logger != null && isLoggingEnabled(tag, INFO)) {
            logger.i(tag, msg);
        }
    }
1240444
public <T extends Tag> T put(T tag) {
        return (T) this.value.put(tag.getName(), tag);
    }
378075
public <T extends Tag> T remove(String tagName) {
        return (T) this.value.remove(tagName);
    }
897460
public GetFunctionDefinitionResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }