com.hp.hpl.jena.sparql.sse.lang
Class ParseHandlerResolver
java.lang.Object
com.hp.hpl.jena.sparql.sse.lang.ParseHandlerPlain
com.hp.hpl.jena.sparql.sse.lang.ParseHandlerForm
com.hp.hpl.jena.sparql.sse.lang.ParseHandlerResolver
- All Implemented Interfaces:
- ParseHandler
- Direct Known Subclasses:
- ParseHandlerLink
public class ParseHandlerResolver
- extends ParseHandlerForm
Resolve syntacic forms like (base ...) and (prefix...)
where the syntax modifies the enclosed sub term.
Forms:
(FORM DECL... TERM) => where TERM is the result.
Examples
(prefix (PREFIXES) TERM) => TERM with prefix names expanded
(base IRI TERM) => TERM with IRIs resolved to absolute IRIs
The DECL part can not itself have nested, independent forms
unless a subclass (carefully) manages that.
ParseHandlerResolver
public ParseHandlerResolver(Prologue p)
emitIRI
public void emitIRI(int line,
int column,
String iriStr)
- Specified by:
emitIRI
in interface ParseHandler
- Overrides:
emitIRI
in class ParseHandlerPlain
emitPName
public void emitPName(int line,
int column,
String pname)
- Specified by:
emitPName
in interface ParseHandler
- Overrides:
emitPName
in class ParseHandlerPlain
Licenced under the Apache License, Version 2.0