|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.sparql.modify.TemplateLib
public class TemplateLib
| Constructor Summary | |
|---|---|
TemplateLib()
|
|
| Method Summary | |
|---|---|
static Iterator<Quad> |
calcQuads(List<Quad> quads,
Iterator<Binding> bindings)
Substitute into quad patterns |
static MultiMap<com.hp.hpl.jena.graph.Node,com.hp.hpl.jena.graph.Triple> |
calcTriples(List<Quad> quads,
List<Binding> bindings)
Substitute into quad patterns, and build a map of graph name to lists of triples |
static Quad |
subst(Quad quad,
Binding b,
Map<com.hp.hpl.jena.graph.Node,com.hp.hpl.jena.graph.Node> bNodeMap)
Substitute into a quad, with rewriting of bNodes |
static com.hp.hpl.jena.graph.Triple |
subst(com.hp.hpl.jena.graph.Triple triple,
Binding b,
Map<com.hp.hpl.jena.graph.Node,com.hp.hpl.jena.graph.Node> bNodeMap)
Substitute into a triple, with rewriting of bNodes |
static Iterator<Quad> |
template(List<Quad> quads,
com.hp.hpl.jena.graph.Node dftGraph,
Iterator<Binding> bindings)
Take a template, as a list of quad patterns, a default graph, and an iterator of bindings, and produce an iterator of quads that result from applying the template to the bindings. |
static MultiMap<com.hp.hpl.jena.graph.Node,com.hp.hpl.jena.graph.Triple> |
template(List<Quad> quads,
com.hp.hpl.jena.graph.Node dftGraph,
List<Binding> bindings)
Take a template, as a list of quad patterns, a default graph, and a list of bindings, and produce a map of graph name to lists of triples. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateLib()
| Method Detail |
|---|
public static MultiMap<com.hp.hpl.jena.graph.Node,com.hp.hpl.jena.graph.Triple> template(List<Quad> quads,
com.hp.hpl.jena.graph.Node dftGraph,
List<Binding> bindings)
public static Iterator<Quad> template(List<Quad> quads,
com.hp.hpl.jena.graph.Node dftGraph,
Iterator<Binding> bindings)
public static MultiMap<com.hp.hpl.jena.graph.Node,com.hp.hpl.jena.graph.Triple> calcTriples(List<Quad> quads,
List<Binding> bindings)
public static Iterator<Quad> calcQuads(List<Quad> quads,
Iterator<Binding> bindings)
public static Quad subst(Quad quad,
Binding b,
Map<com.hp.hpl.jena.graph.Node,com.hp.hpl.jena.graph.Node> bNodeMap)
public static com.hp.hpl.jena.graph.Triple subst(com.hp.hpl.jena.graph.Triple triple,
Binding b,
Map<com.hp.hpl.jena.graph.Node,com.hp.hpl.jena.graph.Node> bNodeMap)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||