code: public TagValue getTag(String name) {
      TagValue tv = null;
      int id = TiffTags.getTagId(name);
      if (tags.containsTagId(id))
        tv = tags.get(id);
      return tv;
    }
docs: Gets the metadata.
  
  @param name the name
  @return the metadata