| java.lang.Object org.openrdf.query.parser.sparql.BaseDeclProcessor
BaseDeclProcessor | class BaseDeclProcessor (Code) | | Resolves relative URIs in a query model using either an external base URI or
using the base URI specified in the query model itself. The former takes
precedence over the latter.
author: Arjohn Kampman |
Method Summary | |
public static void | process(ASTQueryContainer qc, String externalBaseURI) Resolves relative URIs in the supplied query model using either the
specified externalBaseURI or, if this parameter is
null, the base URI specified in the query model itself. |
process | public static void process(ASTQueryContainer qc, String externalBaseURI) throws MalformedQueryException(Code) | | Resolves relative URIs in the supplied query model using either the
specified externalBaseURI or, if this parameter is
null, the base URI specified in the query model itself.
Parameters: qc - The query model to resolve relative URIs in. Parameters: externalBaseURI - The external base URI to use for resolving relative URIs, ornull if the base URI that is specified in the querymodel should be used. throws: IllegalArgumentException - If an external base URI is specified that is not an absolute URI. throws: MalformedQueryException - If the base URI specified in the query model is not an absoluteURI. |
|
|