public class SparqlPrefix extends SparqlEndpoint
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
prefixID
The prefix ID
|
uri
Constructor and Description |
---|
SparqlPrefix()
Create a new instance of SparqlPrefix
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
formatPrefix(java.lang.String queryStr)
Add the prefix id to the query string and return.
|
java.lang.String |
getPrefixID()
Get the prefix ID.
|
java.lang.String |
getValue()
Get a string-based value for this element.
|
java.lang.String |
partToString()
Get a string-based description of this query component for info purposes only.
|
java.lang.String |
queryString()
Get a string-based description of this query component.
|
void |
reset()
Reset the values
|
void |
setPrefixID(java.lang.String thisPrefixID)
Set the prefix ID.
|
getElement, getUri, setUri
getType, getUuid, setFilter, setFunction, setNot, setType, setUuid, setValue
public void reset()
reset
in class SparqlEndpoint
public void setPrefixID(java.lang.String thisPrefixID)
thisPrefixID
- the prefix id.public java.lang.String getPrefixID()
protected java.lang.String formatPrefix(java.lang.String queryStr)
queryStr
- the query string to format.public java.lang.String getValue()
getValue
in class SparqlElement
public java.lang.String partToString()
partToString
in class SparqlEndpoint
public java.lang.String queryString()
queryString
in class SparqlEndpoint