public class SSE extends Object
Modifier and Type | Field and Description |
---|---|
static PrefixMapping |
defaultPrefixMapRead |
static PrefixMapping |
defaultPrefixMapWrite |
Modifier and Type | Method and Description |
---|---|
static String |
format(Node node) |
static String |
format(Node node,
PrefixMapping pmap) |
static PrefixMapping |
getDefaultPrefixMapRead() |
static PrefixMapping |
getDefaultPrefixMapWrite() |
static Item |
parse(InputStream in)
Parse from an input stream and obtain an SSE item expression
|
static Item |
parse(InputStream in,
PrefixMapping pmap)
Parse from an input stream and obtain an SSE item expression
|
static Item |
parse(String str)
Parse a string and obtain an SSE item expression
|
static Item |
parse(String str,
PrefixMapping pmap)
Parse a string and obtain an SSE item expression
|
static BasicPattern |
parseBGP(String s)
Parse a string and obtain a SPARQL algebra basic graph pattern
|
static BasicPattern |
parseBGP(String s,
PrefixMapping pmap)
Parse a string and obtain a SPARQL algebra basic graph pattern, given a prefix mapping
|
static Expr |
parseExpr(String s)
Parse a string to obtain a SPARQL expression
|
static Expr |
parseExpr(String s,
PrefixMapping pmap)
Parse a string to obtain a SPARQL expression
|
static Graph |
parseGraph(String string)
Parse a string, and obtain a graph
|
static Graph |
parseGraph(String string,
PrefixMapping pmap)
Parse a string, and obtain a graph
|
static Item |
parseItem(String str) |
static Item |
parseItem(String str,
PrefixMapping pmap) |
static Node |
parseNode(String str)
Parse a string to obtain a Node (see NodeFactory.parse()
|
static Node |
parseNode(String str,
PrefixMapping pmap)
Parse a string to obtain a Node
|
static Op |
parseOp(String s)
Parse a string and obtain a SPARQL algebra op
|
static Op |
parseOp(String s,
PrefixMapping pmap)
Parse a string and obtain a SPARQL algebra op, given a prefix mapping
|
static Path |
parsePath(String str)
Parse a string to obtain a path
|
static Path |
parsePath(String str,
PrefixMapping pmap)
Parse a string to obtain a path
|
static Quad |
parseQuad(String s)
Parse a string to obtain a Quad
|
static Quad |
parseQuad(String s,
PrefixMapping pmap)
Parse a string to obtain a Quad
|
static Item |
parseRaw(String str)
Parse a string and obtain an SSE item expression (no additional prefix mappings)
|
static Table |
parseTable(String s)
Parse a string and obtain a SPARQL algebra table
|
static Table |
parseTable(String s,
PrefixMapping pmap)
Parse a string and obtain a SPARQL algebra table
|
static Triple |
parseTriple(String str)
Parse a string to obtain a Triple
|
static Triple |
parseTriple(String str,
PrefixMapping pmap)
Parse a string to obtain a Triple
|
static BasicPattern |
readBGP(String filename)
Read in a file, parse, and obtain a SPARQL algebra basic graph pattern
|
static Item |
readFile(String filename)
Read a file and obtain an SSE item expression
|
static Item |
readFile(String filename,
PrefixMapping pmap)
Read a file and obtain an SSE item expression
|
static void |
readGraph(Graph graph,
String filename)
Read in a file, parse, and obtain a graph
|
static void |
readGraph(Graph graph,
String filename,
PrefixMapping pmap)
Read in a file, parse, and obtain a graph
|
static Graph |
readGraph(String filename)
Read in a file, parse, and obtain a graph
|
static Graph |
readGraph(String filename,
PrefixMapping pmap)
Read in a file, parse, and obtain a graph
|
static Op |
readOp(String filename)
Read in a file, parse, and obtain a SPARQL algebra op
|
static Table |
readTable(String filename)
Read a file and obtain a SPARQL algebra table
|
static Table |
readTable(String filename,
PrefixMapping pmap)
Read a file and obtain a SPARQL algebra table
|
static SerializationContext |
sCxt(Graph graph)
Return a SerializationContext appropriate for the graph
|
static SerializationContext |
sCxt(PrefixMapping pmap)
Return a SerializationContext appropriate for the prfix mapping
|
static void |
setDefaultPrefixMapRead(PrefixMapping pmap) |
static void |
setDefaultPrefixMapWrite(PrefixMapping pmap) |
static void |
setUseResolver(boolean flag) |
static void |
write(BasicPattern pattern) |
static void |
write(Dataset dataset) |
static void |
write(DatasetGraph dataset) |
static void |
write(Graph graph) |
static void |
write(IndentedWriter out,
BasicPattern pattern) |
static void |
write(IndentedWriter out,
BasicPattern pattern,
PrefixMapping pMap) |
static void |
write(IndentedWriter out,
Dataset dataset) |
static void |
write(IndentedWriter out,
DatasetGraph dataset) |
static void |
write(IndentedWriter out,
Graph graph) |
static void |
write(IndentedWriter out,
Model model) |
static void |
write(IndentedWriter out,
Node node) |
static void |
write(IndentedWriter out,
Op op) |
static void |
write(IndentedWriter out,
Quad quad) |
static void |
write(IndentedWriter out,
Triple triple) |
static void |
write(Model model) |
static void |
write(Node node) |
static void |
write(Op op) |
static void |
write(OutputStream out,
Dataset dataset) |
static void |
write(OutputStream out,
DatasetGraph dataset) |
static void |
write(OutputStream out,
Graph graph) |
static void |
write(OutputStream out,
Model model) |
static void |
write(OutputStream out,
Node node) |
static void |
write(OutputStream out,
Op op) |
static void |
write(OutputStream out,
Quad quad) |
static void |
write(OutputStream out,
Triple triple) |
static void |
write(Quad quad) |
static void |
write(Triple triple) |
public static PrefixMapping defaultPrefixMapRead
public static PrefixMapping defaultPrefixMapWrite
public static PrefixMapping getDefaultPrefixMapRead()
public static void setDefaultPrefixMapRead(PrefixMapping pmap)
public static PrefixMapping getDefaultPrefixMapWrite()
public static void setDefaultPrefixMapWrite(PrefixMapping pmap)
public static Node parseNode(String str)
public static Node parseNode(String str, PrefixMapping pmap)
public static Quad parseQuad(String s, PrefixMapping pmap)
public static Triple parseTriple(String str, PrefixMapping pmap)
public static Path parsePath(String str, PrefixMapping pmap)
public static Expr parseExpr(String s, PrefixMapping pmap)
public static Graph parseGraph(String string, PrefixMapping pmap)
public static Graph readGraph(String filename, PrefixMapping pmap)
public static void readGraph(Graph graph, String filename)
public static void readGraph(Graph graph, String filename, PrefixMapping pmap)
public static Op readOp(String filename)
public static Op parseOp(String s, PrefixMapping pmap)
public static BasicPattern readBGP(String filename)
public static BasicPattern parseBGP(String s)
public static BasicPattern parseBGP(String s, PrefixMapping pmap)
public static Table readTable(String filename)
public static Table readTable(String filename, PrefixMapping pmap)
public static Table parseTable(String s)
public static Table parseTable(String s, PrefixMapping pmap)
public static Item readFile(String filename, PrefixMapping pmap)
public static Item parseRaw(String str)
public static Item parse(String str, PrefixMapping pmap)
public static Item parse(InputStream in)
public static Item parse(InputStream in, PrefixMapping pmap)
public static void setUseResolver(boolean flag)
public static Item parseItem(String str, PrefixMapping pmap)
public static String format(Node node, PrefixMapping pmap)
public static void write(Op op)
public static void write(OutputStream out, Op op)
public static void write(IndentedWriter out, Op op)
public static void write(Graph graph)
public static void write(OutputStream out, Graph graph)
public static void write(IndentedWriter out, Graph graph)
public static void write(Model model)
public static void write(OutputStream out, Model model)
public static void write(IndentedWriter out, Model model)
public static void write(DatasetGraph dataset)
public static void write(OutputStream out, DatasetGraph dataset)
public static void write(IndentedWriter out, DatasetGraph dataset)
public static void write(Dataset dataset)
public static void write(OutputStream out, Dataset dataset)
public static void write(IndentedWriter out, Dataset dataset)
public static void write(BasicPattern pattern)
public static void write(IndentedWriter out, BasicPattern pattern)
public static void write(IndentedWriter out, BasicPattern pattern, PrefixMapping pMap)
public static void write(Triple triple)
public static void write(OutputStream out, Triple triple)
public static void write(IndentedWriter out, Triple triple)
public static void write(Quad quad)
public static void write(OutputStream out, Quad quad)
public static void write(IndentedWriter out, Quad quad)
public static void write(Node node)
public static void write(OutputStream out, Node node)
public static void write(IndentedWriter out, Node node)
public static SerializationContext sCxt(Graph graph)
public static SerializationContext sCxt(PrefixMapping pmap)
Licenced under the Apache License, Version 2.0