Fix changes from Lloyd's commit
This commit is contained in:
parent
24b7d2db39
commit
55ca736768
|
@ -3701,6 +3701,14 @@ public class NarrativeGenerator implements INarrativeGenerator {
|
|||
return null;
|
||||
}
|
||||
|
||||
public boolean generate(ResourceContext rcontext, StructureDefinition sd, java.util.Set<String> outputTracker) throws EOperationOutcome, FHIRException, IOException {
|
||||
ProfileUtilities pu = new ProfileUtilities(context, null, pkp);
|
||||
XhtmlNode x = new XhtmlNode(NodeType.Element, "div");
|
||||
x.getChildNodes().add(pu.generateTable(definitionsTarget, sd, true, destDir, false, sd.getId(), false, corePath, "", false, false, outputTracker));
|
||||
inject(sd, x, NarrativeStatus.GENERATED);
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean generate(ResourceContext rcontext, ImplementationGuide ig) throws EOperationOutcome, FHIRException, IOException {
|
||||
XhtmlNode x = new XhtmlNode(NodeType.Element, "div");
|
||||
x.h2().addText(ig.getName());
|
||||
|
|
|
@ -631,6 +631,11 @@ public class HierarchicalTableGenerator {
|
|||
private TableGenerationMode mode;
|
||||
private RenderingI18nContext i18n;
|
||||
|
||||
public HierarchicalTableGenerator(RenderingI18nContext i18n) {
|
||||
super();
|
||||
this.i18n = i18n;
|
||||
}
|
||||
|
||||
public HierarchicalTableGenerator(RenderingI18nContext i18n, String dest, boolean inlineGraphics) {
|
||||
super();
|
||||
this.i18n = i18n;
|
||||
|
|
Loading…
Reference in New Issue