Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.ohf.ihe.xds.metadata.extract
Class EbXML_2_1InputStreamDocumentEntryExtractor

    java.lang.Object
      org.eclipse.ohf.ihe.xds.metadata.extract.EbXML_2_1InputStreamDocumentEntryExtractor

All Implemented Interfaces:
  DocumentEntryExtractor

    public class EbXML_2_1InputStreamDocumentEntryExtractor

extends java.lang.Object
implements DocumentEntryExtractor

Class containing utility methods to extract XDS document entry metadata from ebRIM 2.1 conformant InputStream.

Author:
  Sarah Knoop

Field Summary
`static java.lang.String` | `DESCRIPTOR` Descriptor for Extractor

Constructor Summary
`EbXML_2_1InputStreamDocumentEntryExtractor(java.io.InputStream ebXMLdocumentEntryInputStream)` Creates an extractor for the InputStream given.

Method Summary
`DocumentEntryType` | `extract()` Renders a DocumentEntryType object from a InputStream containing one of the following: A single instance of a ExtrinsicObjectType.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### DESCRIPTOR

    public static final java.lang.String DESCRIPTOR

  Descriptor for Extractor

  See Also:
    Constant Field Values

Constructor Detail

### EbXML_2_1InputStreamDocumentEntryExtractor

    public EbXML_2_1InputStreamDocumentEntryExtractor(java.io.InputStream ebXMLdocumentEntryInputStream)

  Creates an extractor for the InputStream given. InputStream must contain one of the following: A single instance of a ExtrinsicObjectType. Must be conformant to the modified rim.xsd. A single instance of a LeafRegistryObjectListType populated with extactly one ExtrinsicObjectType and one AssociationType (to reference the parent document). Must be conformant to the modified rim.xsd. UUIDs in the InputStream are assumed to match those in `UUIDs`.

  Parameters:
    `ebXMLdocumentEntryInputStream` -

Method Detail

### extract

    public DocumentEntryType extract()
                              throws MetadataExtractionException

  Renders a DocumentEntryType object from a InputStream containing one of the following: A single instance of a ExtrinsicObjectType. Must be conformant to the modified rim.xsd. A single instance of a LeafRegistryObjectListType populated with extactly one ExtrinsicObjectType and one AssociationType (to reference the parent document). Must be conformant to the modified rim.xsd. UUIDs in the InputStream are assumed to match those in `UUIDs`.

  Specified by:
    `extract` in interface `DocumentEntryExtractor`
  Throws:
    `MetadataExtractionException`
  See Also:
    `DocumentEntryExtractor.extract()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD