T - The Builder type that the clause is part of.public interface PrologClause<T extends AbstractQueryBuilder<T>>
| Modifier and Type | Method and Description |
|---|---|
T |
addPrefix(String pfx,
Node uri)
Adds a prefix.
|
T |
addPrefix(String pfx,
Resource uri)
Adds a prefix.
|
T |
addPrefix(String pfx,
String uri)
Adds a prefix.
|
T |
addPrefixes(Map<String,String> prefixes)
Adds prefixes.
|
T |
addPrefixes(PrefixMapping prefixes)
Adds prefixes.
|
ExprFactory |
getExprFactory()
Get the expression factory that works with the prefixes for this builder.
|
PrologHandler |
getPrologHandler()
Get the prolog handler for this clause.
|
T |
setBase(Object uri)
Sets the base URI.
|
T |
setBase(String uri)
Sets the base URI.
|
PrologHandler getPrologHandler()
ExprFactory getExprFactory()
T addPrefix(String pfx, Resource uri)
pfx - The prefix.uri - The URI for the prefixT addPrefix(String pfx, Node uri)
pfx - The prefix.uri - The URI for the prefixT addPrefix(String pfx, String uri)
pfx - The prefix.uri - The URI for the prefixT addPrefixes(Map<String,String> prefixes)
prefixes - A mapping of prefix to URI to add.T addPrefixes(PrefixMapping prefixes)
prefixes - A PrefixMapping instance..T setBase(Object uri)
AbstractQueryBuilder.makeNode(java.lang.Object) for conversion of the uri param. The resulting Node
must be a URI.uri - The base URI to use.Licensed under the Apache License, Version 2.0