public class Serializer extends Object
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
static void |
serialize(Query query,
IndentedLineBuffer buff)
Format the query into the buffer
|
static void |
serialize(Query query,
IndentedLineBuffer buff,
Syntax outSyntax)
Format the query
|
static void |
serialize(Query query,
IndentedWriter writer)
Format the query
|
static void |
serialize(Query query,
IndentedWriter writer,
Syntax outSyntax)
Format the query
|
static void |
serialize(Query query,
OutputStream out)
Output the query
|
static void |
serialize(Query query,
OutputStream out,
Syntax syntax)
Output the query
|
static void |
serializeARQ(Query query,
IndentedWriter writer) |
static void |
serializeARQ(Query query,
Prologue p,
IndentedWriter writer) |
static void |
serializeSPARQL_10(Query query,
IndentedWriter writer) |
static void |
serializeSPARQL_11(Query query,
IndentedWriter writer) |
public static void serialize(Query query, OutputStream out)
query
- The queryout
- OutputStreampublic static void serialize(Query query, OutputStream out, Syntax syntax)
query
- The queryout
- OutputStreamsyntax
- Syntax URIpublic static void serialize(Query query, IndentedLineBuffer buff)
query
- The querybuff
- IndentedLineBufferpublic static void serialize(Query query, IndentedLineBuffer buff, Syntax outSyntax)
query
- The querybuff
- IndentedLineBuffer in which to place the unparsed queryoutSyntax
- Syntax URIpublic static void serialize(Query query, IndentedWriter writer)
query
- The querywriter
- IndentedWriterpublic static void serialize(Query query, IndentedWriter writer, Syntax outSyntax)
writer
- IndentedWriteroutSyntax
- Syntax URIpublic static void serializeARQ(Query query, Prologue p, IndentedWriter writer)
public static void serializeARQ(Query query, IndentedWriter writer)
public static void serializeSPARQL_10(Query query, IndentedWriter writer)
public static void serializeSPARQL_11(Query query, IndentedWriter writer)
Licenced under the Apache License, Version 2.0