Package org.hl7.fhir.r4.conformance
Class ShExGenerator
- java.lang.Object
-
- org.hl7.fhir.r4.conformance.ShExGenerator
-
public class ShExGenerator extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShExGenerator.HTMLLinkPolicyclassShExGenerator.SortById
-
Field Summary
Fields Modifier and Type Field Description booleancompleteModelbooleandoDatatypesbooleanwithComments
-
Constructor Summary
Constructors Constructor Description ShExGenerator(IWorkerContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringgenerate(ShExGenerator.HTMLLinkPolicy links, List<StructureDefinition> structures)this is called externally to generate a set of structures to a single ShEx file generally, it will be called with a single structure, or a long list of structures (all of them)Stringgenerate(ShExGenerator.HTMLLinkPolicy links, StructureDefinition structure)
-
-
-
Field Detail
-
doDatatypes
public boolean doDatatypes
-
withComments
public boolean withComments
-
completeModel
public boolean completeModel
-
-
Constructor Detail
-
ShExGenerator
public ShExGenerator(IWorkerContext context)
-
-
Method Detail
-
generate
public String generate(ShExGenerator.HTMLLinkPolicy links, StructureDefinition structure)
-
generate
public String generate(ShExGenerator.HTMLLinkPolicy links, List<StructureDefinition> structures)
this is called externally to generate a set of structures to a single ShEx file generally, it will be called with a single structure, or a long list of structures (all of them)- Parameters:
links- HTML link rendering policystructures- list of structure definitions to render- Returns:
- ShEx definition of structures
-
-