class TemplateDescriptorParser implements NodeParser<Set<ResponseFormatterDescriptor>> {

    @Override
    public Set<ResponseFormatterDescriptor> parseNode(final Node node, final Document document) {
        //This number represents the depth of the subtree
        int depth = 0;
        return parse(node, document, depth);
    }

}