|
||||||||||
| 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 Iterator<Triple> |
calcTriples(List<Triple> triples,
Iterator<Binding> bindings)
Substitute into triple patterns |
static Quad |
subst(Quad quad,
Binding b,
Map<Node,Node> bNodeMap)
Substitute into a quad, with rewriting of bNodes |
static Triple |
subst(Triple triple,
Binding b,
Map<Node,Node> bNodeMap)
Substitute into a triple, with rewriting of bNodes |
static Iterator<Quad> |
template(List<Quad> quads,
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 results from applying the template to the bindings. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateLib()
| Method Detail |
|---|
public static Iterator<Quad> template(List<Quad> quads,
Node dftGraph,
Iterator<Binding> bindings)
public static Iterator<Triple> calcTriples(List<Triple> triples,
Iterator<Binding> bindings)
public static Iterator<Quad> calcQuads(List<Quad> quads,
Iterator<Binding> bindings)
public static Quad subst(Quad quad,
Binding b,
Map<Node,Node> bNodeMap)
public static Triple subst(Triple triple,
Binding b,
Map<Node,Node> bNodeMap)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||