code:     public boolean shouldParseEmbedded(Metadata metadata) {
          DocumentSelector selector = context.get(DocumentSelector.class);
          if (selector != null) {
              return selector.select(metadata);
          }
  
          FilenameFilter filter = context.get(FilenameFilter.class);
          if (filter != null) {
              String name = metadata.get(Metadata.RESOURCE_NAME_KEY);
              if (name != null) {
                  return filter.accept(ABSTRACT_PATH, name);
              }
          }
  
          return true;
      }
  
  