|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.larkc.jactr.scripting.sparql.SPARQLQueryInstantiation
public class SPARQLQueryInstantiation
Constructor Summary | |
---|---|
SPARQLQueryInstantiation(String script,
String autoCompleteType)
|
Method Summary | |
---|---|
void |
addPrefixes(Map<String,String> prefixes)
Adds the given prefixes. |
String |
getBoundQuery(VariableBindings variableBindings)
Returns the query-string, but replaces the variables with the objects from the bindings. |
String |
getBufferName()
Returns the buffername, that was found in the script. |
Map<String,String> |
getPrefixes()
Returns all the prefixes that were set. |
String |
getQuery()
Returns the auto-completed query-string. |
boolean |
isConstruct()
Checks if the auto-complete type is "Construct". |
boolean |
isSelect()
Checks if the auto-complete type is "Select". |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SPARQLQueryInstantiation(String script, String autoCompleteType)
Method Detail |
---|
public boolean isSelect()
public boolean isConstruct()
public Map<String,String> getPrefixes()
public void addPrefixes(Map<String,String> prefixes)
prefixes
- the prefixes that should be added.public String getBufferName()
public String getQuery()
public String getBoundQuery(VariableBindings variableBindings)
variableBindings
- the variable values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |