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.
|
Method Summary |
void |
emitIRI(int line,
int column,
java.lang.String iriStr)
|
void |
emitPName(int line,
int column,
java.lang.String pname)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParseHandlerResolver
public ParseHandlerResolver(Prologue p)
emitIRI
public void emitIRI(int line,
int column,
java.lang.String iriStr)
- Specified by:
emitIRI in interface ParseHandler- Overrides:
emitIRI in class ParseHandlerPlain
emitPName
public void emitPName(int line,
int column,
java.lang.String pname)
- Specified by:
emitPName in interface ParseHandler- Overrides:
emitPName in class ParseHandlerPlain
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.