Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.hp.hpl.jena.graph.query
Interface PatternCompiler  view PatternCompiler download PatternCompiler.java

All Known Implementing Classes:
PatternStageCompiler

public interface PatternCompiler

A PatternCompiler is some class that knows how to handle fixed Node values, binding and bound occurences of variables, and wildcards.


Method Summary
 Element any()
          Method called to deliver a compiled element from a wildcard ANY.
 Element bind(com.hp.hpl.jena.graph.Node n, int index)
          Method called to deliver a compiled element from a binding occurance of a variable Node allocated at a given index position.
 Element bound(com.hp.hpl.jena.graph.Node n, int index)
          Method called to deliver a compiled element from a bound occurance of a variable Node allocated at a given index position.
 Element fixed(com.hp.hpl.jena.graph.Node value)
          Method called to deliver a compiled Element constructed from a constant Node.
 

Method Detail

fixed

public Element fixed(com.hp.hpl.jena.graph.Node value)
Method called to deliver a compiled Element constructed from a constant Node.


bound

public Element bound(com.hp.hpl.jena.graph.Node n,
                     int index)
Method called to deliver a compiled element from a bound occurance of a variable Node allocated at a given index position.


bind

public Element bind(com.hp.hpl.jena.graph.Node n,
                    int index)
Method called to deliver a compiled element from a binding occurance of a variable Node allocated at a given index position.


any

public Element any()
Method called to deliver a compiled element from a wildcard ANY.