Class BaseStructureParser

java.lang.Object
ca.uhn.fhir.tinder.parser.BaseStructureParser
Direct Known Subclasses:
BaseStructureSpreadsheetParser, ResourceGeneratorUsingModel

public abstract class BaseStructureParser extends Object
  • Field Details

  • Constructor Details

    • BaseStructureParser

      public BaseStructureParser(String theVersion, String theBaseDir) throws org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoFailureException
  • Method Details

    • addResource

      public void addResource(BaseRootType theResource)
    • bindValueSets

      public void bindValueSets(ValueSetGenerator theVsp)
    • combineContentMaps

      public void combineContentMaps(BaseStructureParser theStructureParser)
    • 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

      protected String getFilenamePrefix()
    • setFilenamePrefix

      public void setFilenamePrefix(String theFilenamePrefix)
    • getFilenameSuffix

      protected String getFilenameSuffix()
    • setFilenameSuffix

      public void setFilenameSuffix(String theFilenameSuffix)
    • getLocalImports

      public Map<String,String> getLocalImports()
    • getNameToDatatypeClass

      public TreeMap<String,String> getNameToDatatypeClass()
    • getResources

      public List<BaseRootType> getResources()
    • getTemplate

      protected String getTemplate()
    • setTemplate

      public void setTemplate(String theTemplate)
    • getTemplateFile

      protected File getTemplateFile()
    • setTemplateFile

      public void setTemplateFile(File theTemplateFile)
    • getVelocityPath

      protected String getVelocityPath()
    • setVelocityPath

      public void setVelocityPath(String theVelocityPath)
    • getVersion

      public String getVersion()
    • isSpreadsheet

      protected boolean isSpreadsheet(String theFileName)
    • markResourcesForImports

      public void markResourcesForImports()
    • scanForSimpleSetters

      protected void scanForSimpleSetters(Child theElem)
    • setExtensions

      public void setExtensions(ArrayList<Extension> theExtensions)
    • setVelocityProperties

      public void setVelocityProperties(String theVelocityProperties)
    • 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

      public static ca.uhn.fhir.context.FhirVersionEnum determineVersionEnum(String version)
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception