public void addMetadata(Metadata metadata) {
        if (metadataList.size() < MAX_METADATA_LIST_SIZE) {
            metadataList.add(metadata);
        }
    }
Use this class to store exceptions, warnings and other information
during the parse.  This information is added to the parent's metadata
after the parse by the {@link CompositeParser}.
tika-core/src/main/java/org/apache/tika/parser/ParseRecord.java