| Constructor and Description |
|---|
PrologHandler(Query query)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(PrologHandler pfxHandler)
Add the settings from the prolog handler argument.
|
void |
addPrefix(String pfx,
String uri)
Add a prefix to the prefix mapping.
|
void |
addPrefixes(Map<String,String> prefixes)
Add the map of prefixes to the query prefixes.
|
void |
addPrefixes(PrefixMapping prefixes)
Add prefixes from a prefix mapping.
|
void |
build()
Called by the build process for this handler to perform any adjustments to the query before
the build completes.
|
void |
clearPrefixes()
Clear the prefix mapping.
|
ExprFactory |
getExprFactory() |
PrefixMapping |
getPrefixes() |
void |
setBase(IRIResolver resolver)
Set the base for the query.
|
void |
setBase(String base)
Set the base for the query.
|
void |
setVars(Map<Var,Node> values)
Set the values for variables managed by the handler implementation.
|
public PrologHandler(Query query)
query - The query to handle.public void setBase(IRIResolver resolver)
resolver - The IRIResolver to set the base from.public void setBase(String base)
base - The string to set the base from.public void addPrefix(String pfx, String uri)
pfx - The prefix to add.uri - The uri to resolve the prefix to.public void clearPrefixes()
public void addPrefixes(Map<String,String> prefixes)
prefixes - The map of prefixes to URIs.public PrefixMapping getPrefixes()
public ExprFactory getExprFactory()
public void addPrefixes(PrefixMapping prefixes)
prefixes - THe prefix mapping to add from.public void addAll(PrologHandler pfxHandler)
pfxHandler - The PrologHandler to read frompublic void setVars(Map<Var,Node> values)
HandlerLicensed under the Apache License, Version 2.0