Class InformationObjectFactory
java.lang.Object
info.oais.implementation.infomodel.InformationObjectFactory
- All Implemented Interfaces:
- AbstractOaisFactory<InformationObject>
public class InformationObjectFactory extends Object implements AbstractOaisFactory<InformationObject>
An implementation of the AbstractOaisFactory interface to create OAIS information objects.
For example
For example
 ProvenanceInformation pi = (ProvenanceInformation)InformationObjectFactory.create("ProvenanceInformation");
 - Since:
- 06-Sep-2021 15:59:46
- Version:
- 1.0
- Author:
- David
- 
Constructor SummaryConstructors Constructor Description InformationObjectFactory()
- 
Method SummaryModifier and Type Method Description InformationObjectcreate(String infoType)Returns a new InformationObject sub-type depending on the value of infoType.
- 
Constructor Details- 
InformationObjectFactorypublic InformationObjectFactory()
 
- 
- 
Method Details- 
createReturns a new InformationObject sub-type depending on the value of infoType.- Specified by:
- createin interface- AbstractOaisFactory<InformationObject>
- Parameters:
- infoType- String to indicate which InfoObject the create.
- Returns:
- The Object created of the type requested.
 
 
-