Package org.hl7.fhir.dstu2016may.utils
Class ShExGenerator
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.utils.ShExGenerator
-
public class ShExGenerator extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShExGenerator.HTMLLinkPolicyclassShExGenerator.SortById
-
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)
-
-
-
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
-
-