public class PrefixDeclProcessor extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
PrefixDeclProcessor.Options |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
defaultDecls |
| Constructor and Description |
|---|
PrefixDeclProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
process(ASTOperationContainer qc)
Processes prefix declarations in queries.
|
static void |
processAdditionalDecls()
Static helper method to process the
PrefixDeclProcessor.Options.ADDTIONAL_DECLS_FILE
property if present and add the decls. |
public static Map<String,String> process(ASTOperationContainer qc) throws org.openrdf.query.MalformedQueryException
ASTQName nodes in the query
with equivalent ASTIRI nodes.qc - The query that needs to be processed.org.openrdf.query.MalformedQueryException - If the query contains redefined prefixes or qnames that use
undefined prefixes.public static void processAdditionalDecls()
PrefixDeclProcessor.Options.ADDTIONAL_DECLS_FILE
property if present and add the decls. It ignores IO errors, etc. and
provides a warning.
BLZG-1773Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.