Package ca.uhn.fhir.tinder.parser
Class BaseStructureParser
java.lang.Object
ca.uhn.fhir.tinder.parser.BaseStructureParser
- Direct Known Subclasses:
BaseStructureSpreadsheetParser,ResourceGeneratorUsingModel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResource(BaseRootType theResource) voidbindValueSets(ValueSetGenerator theVsp) voidcombineContentMaps(BaseStructureParser theStructureParser) protected ca.uhn.fhir.context.FhirVersionEnumstatic ca.uhn.fhir.context.FhirVersionEnumdetermineVersionEnum(String version) ca.uhn.fhir.context.FhirContextgetCtx()protected Stringprotected Stringprotected Stringprotected Fileprotected Stringprotected booleanisSpreadsheet(String theFileName) static voidvoidprotected voidscanForSimpleSetters(Child theElem) voidsetExtensions(ArrayList<Extension> theExtensions) voidsetFilenamePrefix(String theFilenamePrefix) voidsetFilenameSuffix(String theFilenameSuffix) voidsetTemplate(String theTemplate) voidsetTemplateFile(File theTemplateFile) voidsetVelocityPath(String theVelocityPath) voidsetVelocityProperties(String theVelocityProperties) voidwriteAll(TargetType theTarget, File theOutputDirectory, File theResourceOutputDirectory, String thePackageBase) void
-
Field Details
-
myResources
-
-
Constructor Details
-
Method Details
-
addResource
-
bindValueSets
-
combineContentMaps
-
determineVersionEnum
protected ca.uhn.fhir.context.FhirVersionEnum determineVersionEnum() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-
getCtx
public ca.uhn.fhir.context.FhirContext getCtx() -
getFilenamePrefix
-
setFilenamePrefix
-
getFilenameSuffix
-
setFilenameSuffix
-
getLocalImports
-
getNameToDatatypeClass
-
getResources
-
getTemplate
-
setTemplate
-
getTemplateFile
-
setTemplateFile
-
getVelocityPath
-
setVelocityPath
-
getVersion
-
isSpreadsheet
-
markResourcesForImports
public void markResourcesForImports() -
scanForSimpleSetters
-
setExtensions
-
setVelocityProperties
-
writeAll
public void writeAll(File theOutputDirectory, File theResourceOutputDirectory, String thePackageBase) throws org.apache.maven.plugin.MojoFailureException - Throws:
org.apache.maven.plugin.MojoFailureException
-
writeAll
public void writeAll(TargetType theTarget, File theOutputDirectory, File theResourceOutputDirectory, String thePackageBase) throws org.apache.maven.plugin.MojoFailureException - Throws:
org.apache.maven.plugin.MojoFailureException
-
determineVersionEnum
-
main
- Throws:
Exception
-