public class SRDocument
extends java.lang.Object
| Constructor and Description |
|---|
SRDocument()
Instantiate Object of SRDocument.
|
| Modifier and Type | Method and Description |
|---|---|
SRNode |
createRoot(SRDocumentContentModule objDocumentContentModule,
EnumRelationshipType enumRelationshipType,
java.lang.String strCodeMeaning,
java.lang.String strCodeValue,
java.lang.String strCodeSchemeDesignator,
EnumContinuityOfContent enumContinuityOfContent)
Creates the root node for SR Document tree with passed information filled in respective attributes
and with ReferencedContentItemIdentifier as 1.
|
SRDocumentContentModule |
getSRDocumentContentModule()
Retrieves the SRDocumentContentModule.
|
boolean |
serializeSRDoc(IDataSet objIDataSet,
java.lang.String strPath)
creates the SR document in the form of doc file.
|
boolean |
serializeXMLSRDoc(IDataSet objIDataSet,
java.lang.String strPath)
Creates the SR document in the form of XML file.
|
public SRDocumentContentModule getSRDocumentContentModule()
public SRNode createRoot(SRDocumentContentModule objDocumentContentModule, EnumRelationshipType enumRelationshipType, java.lang.String strCodeMeaning, java.lang.String strCodeValue, java.lang.String strCodeSchemeDesignator, EnumContinuityOfContent enumContinuityOfContent)
objDocumentContentModule - object of SRDocumentContentModule.enumRelationshipType - String value for Relationship Type.strCodeMeaning - string for CodeMeaning which will be heading for the document.strCodeValue - string for CodeValue.strCodeSchemeDesignator - string value for CodeSchemeDesignator.enumContinuityOfContent - object of EnumContinuityOfContent.public boolean serializeSRDoc(IDataSet objIDataSet, java.lang.String strPath) throws java.io.IOException
objIDataSet - Object of IDataSet.path - path where SR document will be kept.java.io.IOExceptionpublic boolean serializeXMLSRDoc(IDataSet objIDataSet, java.lang.String strPath) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException
objIDataSet - Object of IDataSet.path - Complete path with name where SR document will be kept.java.io.IOExceptionjavax.xml.parsers.ParserConfigurationException