|
Sun Message Library for HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.hl7.installer.XSDOtdLibInstaller
public class XSDOtdLibInstaller
XSDOtdLibInstaller installs an OTD Library into the SeeBeyond Repository. Each OTD is stored as a xsdObjectTypeDefinition The OTDs are referenced in a Project called OTDs with the Project path defined by the directory path in the SAR file.
Constructor Summary | |
---|---|
XSDOtdLibInstaller()
Constructs an empty XSDOtdLibInstaller |
Method Summary | |
---|---|
protected java.util.Set |
buildXsdBuilderSpecs(XSDFileSet fileSet)
Creates XSDBuilderSpec for each XSDFile |
protected void |
buildXSDOTD(com.stc.otd.xsd.builder.XsdBuilderSpec aSpec)
Builds XSD OTDs |
void |
execute(java.io.File tmpDir,
org.apache.tools.ant.Project antProject,
java.lang.String projectPath,
java.util.List fileSets)
Create otds for the xsds and installs them into Repository |
protected com.stc.model.common.Project |
generateDirectoryStructure(java.lang.String otdPath)
Creates the project directory structure |
protected java.util.Vector |
mergeTopNodeNames(java.lang.String baseFileName,
java.lang.String baseTopNames,
java.lang.String specificTopNames)
Merges Top Node Names of XSDFileSet and XSDFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSDOtdLibInstaller()
Method Detail |
---|
public void execute(java.io.File tmpDir, org.apache.tools.ant.Project antProject, java.lang.String projectPath, java.util.List fileSets) throws org.apache.tools.ant.BuildException
tmpDir
- A temporary directory on the file systemantProject
- A reference to ant projectprojectPath
- A string representing the project pathfileSets
- A set of XSDFiles
org.apache.tools.ant.BuildException
- exception upon errorprotected void buildXSDOTD(com.stc.otd.xsd.builder.XsdBuilderSpec aSpec) throws java.lang.Exception
aSpec
- OtdBuilderspecification for XsdOtdBuilder
java.lang.Exception
- exception upon errorprotected com.stc.model.common.Project generateDirectoryStructure(java.lang.String otdPath) throws java.lang.Exception
otdPath
- otdPath
java.lang.Exception
- exception upon errorprotected java.util.Set buildXsdBuilderSpecs(XSDFileSet fileSet) throws java.lang.Exception
fileSet
- A set of XSDFile objects
java.lang.Exception
- exception upon errorprotected java.util.Vector mergeTopNodeNames(java.lang.String baseFileName, java.lang.String baseTopNames, java.lang.String specificTopNames)
baseFileName
- A string representing the base file namebaseTopNames
- XSDFileSet top namesspecificTopNames
- XSDFile top names
|
Sun Message Library for HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |