Package org.hl7.fhir.r4.utils.formats
Class Turtle
java.lang.Object
org.hl7.fhir.r4.utils.formats.Turtle
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassstatic enumprotected classclassclassclassclassclassclassclassclassclass -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasHtml()protected voidcheckPrefix(String pname) voidcommit(OutputStream destination, boolean header) protected Turtle.Complexcomplex()static Stringprotected booleanhasSection(String sn) protected Turtle.StringTypeprotected Turtle.StringTypeliteralTyped(String s, String t) protected Stringvoidprotected Stringvoidbooleanwrite(Turtle.Complex complex, StringBuilder b, int indent) booleanwrite(Turtle.Complex complex, Turtle.LineOutputStreamWriter writer, int indent)
-
Field Details
-
GOOD_IRI_CHAR
- See Also:
-
IRI_URL
- See Also:
-
LANG_REGEX
- See Also:
-
subjectSet
-
predicateSet
-
objectSet
-
prefixes
-
-
Constructor Details
-
Turtle
public Turtle()
-
-
Method Details
-
prefix
-
hasSection
-
section
-
matches
-
complex
-
checkPrefix
-
literal
-
literalTyped
-
escape
-
pctEncode
-
sorted
-
commit
- Throws:
IOException
-
asHtml
- Throws:
Exception
-
write
public boolean write(Turtle.Complex complex, Turtle.LineOutputStreamWriter writer, int indent) throws IOException - Throws:
IOException
-
write
- Throws:
Exception
-
parse
- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
getObjects
-
getObject
-