Class BundleMetadataExtractor
java.lang.Object
gov.nasa.pds.registry.common.meta.BundleMetadataExtractor
Extract metadata from a PDS bundle
- Author:
- karpenko
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classInner class to store bundle member (collection) information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a collection reference (LID and LIDVID) from bundle member entry to the field map.Extract bundle members (collections)
-
Constructor Details
-
BundleMetadataExtractor
Constructor- Throws:
Exception- an exception
-
-
Method Details
-
extractBundleMemberEntries
public List<BundleMetadataExtractor.BundleMemberEntry> extractBundleMemberEntries(Document doc) throws Exception Extract bundle members (collections)- Parameters:
doc- Parsed PDS label (XML DOM)- Returns:
- list of bundle members (collections)
- Throws:
Exception- an exception
-
addRefs
Add a collection reference (LID and LIDVID) from bundle member entry to the field map.- Parameters:
fmap- keeps list of collection referencesbme- bundle member entry
-