public class SPARQLParser
extends java.lang.Object
| Constructor and Description |
|---|
SPARQLParser(java.lang.String schema)
Create a new SPARQLParser.
|
SPARQLParser(java.lang.String schema,
boolean parsePrefix)
Create a new SPARQLParser.
|
SPARQLParser(java.lang.String schema,
SparqlPrefixDeclarations prefixDecl)
Create a new SPARQLParser.
|
| Modifier and Type | Method and Description |
|---|---|
SparqlPrefixDeclarations |
getPrefixDeclarations() |
SparqlRequest |
parseQuery(java.lang.String queryStr)
Parse a query.
|
void |
setPrefixDeclarations(SparqlPrefixDeclarations prefixDecl) |
public SPARQLParser(java.lang.String schema)
schema - the schemapublic SPARQLParser(java.lang.String schema,
boolean parsePrefix)
schema - the schemaparsePrefix - true if the prefixes found in the SPARQL content must be keptpublic SPARQLParser(java.lang.String schema,
SparqlPrefixDeclarations prefixDecl)
schema - the schemaprefixDecl - the prefix declarationspublic void setPrefixDeclarations(SparqlPrefixDeclarations prefixDecl)
public SparqlPrefixDeclarations getPrefixDeclarations()
public SparqlRequest parseQuery(java.lang.String queryStr) throws MalformedQueryException
queryStr - the query as a StringMalformedQueryExceptionCopyright © 2025 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence