org.eclipse.ohf.ihe.xds.metadata.extract
Class InputStreamProvideAndRegisterDocumentSetExtractor
java.lang.Object
org.eclipse.ohf.ihe.xds.metadata.extract.InputStreamProvideAndRegisterDocumentSetExtractor
- All Implemented Interfaces:
- ProvideAndRegisterDocumentSetExtractor
public class InputStreamProvideAndRegisterDocumentSetExtractor
- extends java.lang.Object
- implements ProvideAndRegisterDocumentSetExtractor
Extracts metadata from a metadata.xsd conformant InputStream and
populates an instance of a ProvideAndRegisterDocumentSet.
- Author:
- Sarah Knoop
|
Field Summary |
static java.lang.String |
DESCRIPTOR
Descriptor for Extractor |
|
Method Summary |
ProvideAndRegisterDocumentSetType |
extract()
Renders a ProvideAndRegisterDocumentSetType object from a InputStream containing a single instance of
a ProvideAndRegisterDocumentSetType conformant to the metadata.xsd. |
| 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
InputStreamProvideAndRegisterDocumentSetExtractor
public InputStreamProvideAndRegisterDocumentSetExtractor(java.io.InputStream provideAndRegisterInputStream)
- Creates an extractor for the InputStream given. InputStream must contain a single instance of
a ProvideAndRegisterDocumentSetType conformant to the metadata.xsd.
- Parameters:
provideAndRegisterInputStream -
extract
public ProvideAndRegisterDocumentSetType extract()
throws MetadataExtractionException
- Renders a ProvideAndRegisterDocumentSetType object from a InputStream containing a single instance of
a ProvideAndRegisterDocumentSetType conformant to the metadata.xsd.
- Specified by:
extract in interface ProvideAndRegisterDocumentSetExtractor
- Throws:
MetadataExtractionException- See Also:
ProvideAndRegisterDocumentSetExtractor.extract()