com.hp.hpl.jena.sparql.sse.lang
Class ParseHandlerResolver

java.lang.Object
  extended by com.hp.hpl.jena.sparql.sse.lang.ParseHandlerPlain
      extended by com.hp.hpl.jena.sparql.sse.lang.ParseHandlerForm
          extended by 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.


Constructor Summary
ParseHandlerResolver(Prologue p)
           
 
Method Summary
 void emitIRI(int line, int column, String iriStr)
           
 void emitPName(int line, int column, String pname)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.sse.lang.ParseHandlerForm
listFinish, listStart
 
Methods inherited from class com.hp.hpl.jena.sparql.sse.lang.ParseHandlerPlain
emitBNode, emitLiteral, emitSymbol, emitVar, getItem, parseFinish, parseStart
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseHandlerResolver

public ParseHandlerResolver(Prologue p)
Method Detail

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