| Modifier and Type | Class and Description |
|---|---|
class |
Turtle.Complex |
class |
Turtle.Lexer |
static class |
Turtle.LexerTokenType |
protected class |
Turtle.LineOutputStreamWriter |
class |
Turtle.Section |
class |
Turtle.StringType |
class |
Turtle.Subject |
class |
Turtle.Triple |
class |
Turtle.TTLComplex |
class |
Turtle.TTLList |
class |
Turtle.TTLLiteral |
class |
Turtle.TTLObject |
class |
Turtle.TTLURL |
| Modifier and Type | Field and Description |
|---|---|
static String |
GOOD_IRI_CHAR |
static String |
IRI_URL |
static String |
LANG_REGEX |
protected Set<String> |
objectSet |
protected Set<String> |
predicateSet |
protected Map<String,String> |
prefixes |
protected Set<String> |
subjectSet |
| Constructor and Description |
|---|
Turtle() |
| Modifier and Type | Method and Description |
|---|---|
String |
asHtml() |
protected void |
checkPrefix(String pname) |
void |
commit(OutputStream destination,
boolean header) |
protected Turtle.Complex |
complex() |
static String |
escape(String s,
boolean string) |
Turtle.TTLComplex |
getObject(String url) |
Map<Turtle.TTLURL,Turtle.TTLComplex> |
getObjects() |
protected boolean |
hasSection(String sn) |
protected Turtle.StringType |
literal(String s) |
protected Turtle.StringType |
literalTyped(String s,
String t) |
protected String |
matches(String url,
String prefixUri,
String prefix) |
void |
parse(String source) |
protected String |
pctEncode(String s) |
void |
prefix(String code,
String url) |
Turtle.Section |
section(String sn) |
protected List<String> |
sorted(Set<String> keys) |
boolean |
write(Turtle.Complex complex,
StringBuilder b,
int indent) |
boolean |
write(Turtle.Complex complex,
Turtle.LineOutputStreamWriter writer,
int indent) |
public static final String GOOD_IRI_CHAR
public static final String IRI_URL
public static final String LANG_REGEX
protected Set<String> subjectSet
protected Set<String> predicateSet
public Turtle()
protected boolean hasSection(String sn)
public Turtle.Section section(String sn)
protected Turtle.Complex complex()
protected void checkPrefix(String pname)
protected Turtle.StringType literal(String s)
protected Turtle.StringType literalTyped(String s, String t)
public void commit(OutputStream destination, boolean header) throws IOException
IOExceptionpublic boolean write(Turtle.Complex complex, Turtle.LineOutputStreamWriter writer, int indent) throws IOException
IOExceptionpublic boolean write(Turtle.Complex complex, StringBuilder b, int indent) throws Exception
Exceptionpublic void parse(String source) throws org.hl7.fhir.exceptions.FHIRFormatError
org.hl7.fhir.exceptions.FHIRFormatErrorpublic Map<Turtle.TTLURL,Turtle.TTLComplex> getObjects()
public Turtle.TTLComplex getObject(String url)
Copyright © 2014–2021 Health Level 7. All rights reserved.