com.hp.hpl.jena.sparql.sse
Class SSE

java.lang.Object
  extended by com.hp.hpl.jena.sparql.sse.SSE

public class SSE
extends Object


Field Summary
static com.hp.hpl.jena.shared.PrefixMapping defaultPrefixMapRead
           
static com.hp.hpl.jena.shared.PrefixMapping defaultPrefixMapWrite
           
 
Method Summary
static String format(com.hp.hpl.jena.graph.Node node)
           
static String format(com.hp.hpl.jena.graph.Node node, com.hp.hpl.jena.shared.PrefixMapping pmap)
           
static com.hp.hpl.jena.shared.PrefixMapping getDefaultPrefixMapRead()
           
static com.hp.hpl.jena.shared.PrefixMapping getDefaultPrefixMapWrite()
           
static Item parse(InputStream in)
          Parse from an input stream and obtain an SSE item expression
static Item parse(InputStream in, com.hp.hpl.jena.shared.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, com.hp.hpl.jena.shared.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, com.hp.hpl.jena.shared.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, com.hp.hpl.jena.shared.PrefixMapping pmap)
          Parse a string to obtain a SPARQL expression
static com.hp.hpl.jena.graph.Graph parseGraph(String string)
          Parse a string, and obtain a graph
static com.hp.hpl.jena.graph.Graph parseGraph(String string, com.hp.hpl.jena.shared.PrefixMapping pmap)
          Parse a string, and obtain a graph
static Item parseItem(String str)
           
static Item parseItem(String str, com.hp.hpl.jena.shared.PrefixMapping pmap)
           
static com.hp.hpl.jena.graph.Node parseNode(String str)
          Parse a string to obtain a Node (see NodeFactory.parse()
static com.hp.hpl.jena.graph.Node parseNode(String str, com.hp.hpl.jena.shared.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, com.hp.hpl.jena.shared.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, com.hp.hpl.jena.shared.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, com.hp.hpl.jena.shared.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, com.hp.hpl.jena.shared.PrefixMapping pmap)
          Parse a string and obtain a SPARQL algebra table
static com.hp.hpl.jena.graph.Triple parseTriple(String str)
          Parse a string to obtain a Triple
static com.hp.hpl.jena.graph.Triple parseTriple(String str, com.hp.hpl.jena.shared.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, com.hp.hpl.jena.shared.PrefixMapping pmap)
          Read a file and obtain an SSE item expression
static void readGraph(com.hp.hpl.jena.graph.Graph graph, String filename)
          Read in a file, parse, and obtain a graph
static void readGraph(com.hp.hpl.jena.graph.Graph graph, String filename, com.hp.hpl.jena.shared.PrefixMapping pmap)
          Read in a file, parse, and obtain a graph
static com.hp.hpl.jena.graph.Graph readGraph(String filename)
          Read in a file, parse, and obtain a graph
static com.hp.hpl.jena.graph.Graph readGraph(String filename, com.hp.hpl.jena.shared.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, com.hp.hpl.jena.shared.PrefixMapping pmap)
          Read a file and obtain a SPARQL algebra table
static SerializationContext sCxt(com.hp.hpl.jena.graph.Graph graph)
          Return a SerializationContext appropriate for the graph
static SerializationContext sCxt(com.hp.hpl.jena.shared.PrefixMapping pmap)
          Return a SerializationContext appropriate for the prfix mapping
static void setDefaultPrefixMapRead(com.hp.hpl.jena.shared.PrefixMapping pmap)
           
static void setDefaultPrefixMapWrite(com.hp.hpl.jena.shared.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(com.hp.hpl.jena.graph.Graph graph)
           
static void write(IndentedWriter out, BasicPattern pattern)
           
static void write(IndentedWriter out, BasicPattern pattern, com.hp.hpl.jena.shared.PrefixMapping pMap)
           
static void write(IndentedWriter out, Dataset dataset)
           
static void write(IndentedWriter out, DatasetGraph dataset)
           
static void write(IndentedWriter out, com.hp.hpl.jena.graph.Graph graph)
           
static void write(IndentedWriter out, com.hp.hpl.jena.rdf.model.Model model)
           
static void write(IndentedWriter out, com.hp.hpl.jena.graph.Node node)
           
static void write(IndentedWriter out, Op op)
           
static void write(IndentedWriter out, Quad quad)
           
static void write(IndentedWriter out, com.hp.hpl.jena.graph.Triple triple)
           
static void write(com.hp.hpl.jena.rdf.model.Model model)
           
static void write(com.hp.hpl.jena.graph.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, com.hp.hpl.jena.graph.Graph graph)
           
static void write(OutputStream out, com.hp.hpl.jena.rdf.model.Model model)
           
static void write(OutputStream out, com.hp.hpl.jena.graph.Node node)
           
static void write(OutputStream out, Op op)
           
static void write(OutputStream out, Quad quad)
           
static void write(OutputStream out, com.hp.hpl.jena.graph.Triple triple)
           
static void write(Quad quad)
           
static void write(com.hp.hpl.jena.graph.Triple triple)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultPrefixMapRead

public static com.hp.hpl.jena.shared.PrefixMapping defaultPrefixMapRead

defaultPrefixMapWrite

public static com.hp.hpl.jena.shared.PrefixMapping defaultPrefixMapWrite
Method Detail

getDefaultPrefixMapRead

public static com.hp.hpl.jena.shared.PrefixMapping getDefaultPrefixMapRead()

setDefaultPrefixMapRead

public static void setDefaultPrefixMapRead(com.hp.hpl.jena.shared.PrefixMapping pmap)

getDefaultPrefixMapWrite

public static com.hp.hpl.jena.shared.PrefixMapping getDefaultPrefixMapWrite()

setDefaultPrefixMapWrite

public static void setDefaultPrefixMapWrite(com.hp.hpl.jena.shared.PrefixMapping pmap)

parseNode

public static com.hp.hpl.jena.graph.Node parseNode(String str)
Parse a string to obtain a Node (see NodeFactory.parse()


parseNode

public static com.hp.hpl.jena.graph.Node parseNode(String str,
                                                   com.hp.hpl.jena.shared.PrefixMapping pmap)
Parse a string to obtain a Node


parseQuad

public static Quad parseQuad(String s)
Parse a string to obtain a Quad


parseQuad

public static Quad parseQuad(String s,
                             com.hp.hpl.jena.shared.PrefixMapping pmap)
Parse a string to obtain a Quad


parseTriple

public static com.hp.hpl.jena.graph.Triple parseTriple(String str)
Parse a string to obtain a Triple


parseTriple

public static com.hp.hpl.jena.graph.Triple parseTriple(String str,
                                                       com.hp.hpl.jena.shared.PrefixMapping pmap)
Parse a string to obtain a Triple


parsePath

public static Path parsePath(String str)
Parse a string to obtain a path


parsePath

public static Path parsePath(String str,
                             com.hp.hpl.jena.shared.PrefixMapping pmap)
Parse a string to obtain a path


parseExpr

public static Expr parseExpr(String s)
Parse a string to obtain a SPARQL expression


parseExpr

public static Expr parseExpr(String s,
                             com.hp.hpl.jena.shared.PrefixMapping pmap)
Parse a string to obtain a SPARQL expression


parseGraph

public static com.hp.hpl.jena.graph.Graph parseGraph(String string)
Parse a string, and obtain a graph


parseGraph

public static com.hp.hpl.jena.graph.Graph parseGraph(String string,
                                                     com.hp.hpl.jena.shared.PrefixMapping pmap)
Parse a string, and obtain a graph


readGraph

public static com.hp.hpl.jena.graph.Graph readGraph(String filename)
Read in a file, parse, and obtain a graph


readGraph

public static com.hp.hpl.jena.graph.Graph readGraph(String filename,
                                                    com.hp.hpl.jena.shared.PrefixMapping pmap)
Read in a file, parse, and obtain a graph


readGraph

public static void readGraph(com.hp.hpl.jena.graph.Graph graph,
                             String filename)
Read in a file, parse, and obtain a graph


readGraph

public static void readGraph(com.hp.hpl.jena.graph.Graph graph,
                             String filename,
                             com.hp.hpl.jena.shared.PrefixMapping pmap)
Read in a file, parse, and obtain a graph


readOp

public static Op readOp(String filename)
Read in a file, parse, and obtain a SPARQL algebra op


parseOp

public static Op parseOp(String s)
Parse a string and obtain a SPARQL algebra op


parseOp

public static Op parseOp(String s,
                         com.hp.hpl.jena.shared.PrefixMapping pmap)
Parse a string and obtain a SPARQL algebra op, given a prefix mapping


readBGP

public static BasicPattern readBGP(String filename)
Read in a file, parse, and obtain a SPARQL algebra basic graph pattern


parseBGP

public static BasicPattern parseBGP(String s)
Parse a string and obtain a SPARQL algebra basic graph pattern


parseBGP

public static BasicPattern parseBGP(String s,
                                    com.hp.hpl.jena.shared.PrefixMapping pmap)
Parse a string and obtain a SPARQL algebra basic graph pattern, given a prefix mapping


readTable

public static Table readTable(String filename)
Read a file and obtain a SPARQL algebra table


readTable

public static Table readTable(String filename,
                              com.hp.hpl.jena.shared.PrefixMapping pmap)
Read a file and obtain a SPARQL algebra table


parseTable

public static Table parseTable(String s)
Parse a string and obtain a SPARQL algebra table


parseTable

public static Table parseTable(String s,
                               com.hp.hpl.jena.shared.PrefixMapping pmap)
Parse a string and obtain a SPARQL algebra table


readFile

public static Item readFile(String filename)
Read a file and obtain an SSE item expression


readFile

public static Item readFile(String filename,
                            com.hp.hpl.jena.shared.PrefixMapping pmap)
Read a file and obtain an SSE item expression


parseRaw

public static Item parseRaw(String str)
Parse a string and obtain an SSE item expression (no additional prefix mappings)


parse

public static Item parse(String str)
Parse a string and obtain an SSE item expression


parse

public static Item parse(String str,
                         com.hp.hpl.jena.shared.PrefixMapping pmap)
Parse a string and obtain an SSE item expression


parse

public static Item parse(InputStream in)
Parse from an input stream and obtain an SSE item expression


parse

public static Item parse(InputStream in,
                         com.hp.hpl.jena.shared.PrefixMapping pmap)
Parse from an input stream and obtain an SSE item expression


setUseResolver

public static void setUseResolver(boolean flag)

parseItem

public static Item parseItem(String str)

parseItem

public static Item parseItem(String str,
                             com.hp.hpl.jena.shared.PrefixMapping pmap)

format

public static String format(com.hp.hpl.jena.graph.Node node)

format

public static String format(com.hp.hpl.jena.graph.Node node,
                            com.hp.hpl.jena.shared.PrefixMapping pmap)

write

public static void write(Op op)

write

public static void write(OutputStream out,
                         Op op)

write

public static void write(IndentedWriter out,
                         Op op)

write

public static void write(com.hp.hpl.jena.graph.Graph graph)

write

public static void write(OutputStream out,
                         com.hp.hpl.jena.graph.Graph graph)

write

public static void write(IndentedWriter out,
                         com.hp.hpl.jena.graph.Graph graph)

write

public static void write(com.hp.hpl.jena.rdf.model.Model model)

write

public static void write(OutputStream out,
                         com.hp.hpl.jena.rdf.model.Model model)

write

public static void write(IndentedWriter out,
                         com.hp.hpl.jena.rdf.model.Model model)

write

public static void write(DatasetGraph dataset)

write

public static void write(OutputStream out,
                         DatasetGraph dataset)

write

public static void write(IndentedWriter out,
                         DatasetGraph dataset)

write

public static void write(Dataset dataset)

write

public static void write(OutputStream out,
                         Dataset dataset)

write

public static void write(IndentedWriter out,
                         Dataset dataset)

write

public static void write(BasicPattern pattern)

write

public static void write(IndentedWriter out,
                         BasicPattern pattern)

write

public static void write(IndentedWriter out,
                         BasicPattern pattern,
                         com.hp.hpl.jena.shared.PrefixMapping pMap)

write

public static void write(com.hp.hpl.jena.graph.Triple triple)

write

public static void write(OutputStream out,
                         com.hp.hpl.jena.graph.Triple triple)

write

public static void write(IndentedWriter out,
                         com.hp.hpl.jena.graph.Triple triple)

write

public static void write(Quad quad)

write

public static void write(OutputStream out,
                         Quad quad)

write

public static void write(IndentedWriter out,
                         Quad quad)

write

public static void write(com.hp.hpl.jena.graph.Node node)

write

public static void write(OutputStream out,
                         com.hp.hpl.jena.graph.Node node)

write

public static void write(IndentedWriter out,
                         com.hp.hpl.jena.graph.Node node)

sCxt

public static SerializationContext sCxt(com.hp.hpl.jena.graph.Graph graph)
Return a SerializationContext appropriate for the graph


sCxt

public static SerializationContext sCxt(com.hp.hpl.jena.shared.PrefixMapping pmap)
Return a SerializationContext appropriate for the prfix mapping



Licenced under the Apache License, Version 2.0