org.eclipse.ohf.ihe.xds.metadata.extract
Class EbXML_2_1InputStreamSubmissionSetExtractor
java.lang.Object
org.eclipse.ohf.ihe.xds.metadata.extract.EbXML_2_1InputStreamSubmissionSetExtractor
- All Implemented Interfaces:
- SubmissionSetExtractor
public class EbXML_2_1InputStreamSubmissionSetExtractor
- extends java.lang.Object
- implements SubmissionSetExtractor
Class containing utility methods to extract XDS submission set
metadata from ebRIM 2.1 conformant InputStream.
- Author:
- Sarah Knoop
|
Field Summary |
static java.lang.String |
DESCRIPTOR
Descriptor for Extractor |
|
Method Summary |
SubmissionSetType |
extract()
Renders a SubmissionSetType object from a InputStream containing a single instance of a RegistryPackageType. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
public static final java.lang.String DESCRIPTOR
- Descriptor for Extractor
- See Also:
- Constant Field Values
EbXML_2_1InputStreamSubmissionSetExtractor
public EbXML_2_1InputStreamSubmissionSetExtractor(java.io.InputStream ebXMLsubmissionSetInputStream)
- Creates an extractor for the InputStream given. InputStream must contain single instance of a RegistryPackageType.
Must be conformant to the modified rim.xsd.
UUIDs in the InputStream are assumed to match those in
UUIDs.
IMPORTANT NOTE: This object cannot render the lists of associated documents and associated
folders for the submission set from a list of AssocationType1 because it lacks the context
(sufficient markup) to distinguish the associations that link the submission set to a
document and those that link it to a folder.
- Parameters:
ebXMLsubmissionSetInputStream -
extract
public SubmissionSetType extract()
throws MetadataExtractionException
- Renders a SubmissionSetType object from a InputStream containing a single instance of a RegistryPackageType.
Must be conformant to the modified rim.xsd.
UUIDs in the InputStream are assumed to match those in
UUIDs.
- Specified by:
extract in interface SubmissionSetExtractor
- Throws:
MetadataExtractionException- See Also:
SubmissionSetExtractor.extract()