Package org.hl7.fhir.dstu2016may.formats
Class RdfGenerator
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.formats.RdfGenerator
-
public class RdfGenerator extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classRdfGenerator.Complexprotected classRdfGenerator.LineOutputStreamWriterclassRdfGenerator.SectionclassRdfGenerator.StringTypeclassRdfGenerator.SubjectclassRdfGenerator.Triple
-
Constructor Summary
Constructors Constructor Description RdfGenerator(OutputStream destination)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckPrefix(String pname)voidcommit(boolean header)protected RdfGenerator.Complexcomplex()static Stringescape(String s, boolean string)protected booleanhasSection(String sn)protected RdfGenerator.StringTypeliteral(String s)protected Stringmatches(String url, String prefixUri, String prefix)protected StringpctEncode(String s)voidprefix(String code, String url)RdfGenerator.Sectionsection(String sn)protected List<String>sorted(Set<String> keys)
-
-
-
Constructor Detail
-
RdfGenerator
public RdfGenerator(OutputStream destination)
-
-
Method Detail
-
hasSection
protected boolean hasSection(String sn)
-
section
public RdfGenerator.Section section(String sn)
-
complex
protected RdfGenerator.Complex complex()
-
checkPrefix
protected void checkPrefix(String pname)
-
literal
protected RdfGenerator.StringType literal(String s)
-
-