com.hp.hpl.jena.graph.query
Class QueryNodeFactoryBase

java.lang.Object
  extended by com.hp.hpl.jena.graph.query.QueryNodeFactoryBase
All Implemented Interfaces:
QueryNodeFactory

public class QueryNodeFactoryBase
extends Object
implements QueryNodeFactory

A base-level implementation of the QueryNodeFactory that uses the QueryNode/QueryTriple classes directly.

Author:
kers

Constructor Summary
QueryNodeFactoryBase()
           
 
Method Summary
 QueryNode createAny()
           
 QueryTriple[] createArray(int size)
           
 QueryNode createBind(Node node, int i)
           
 QueryNode createBound(Node node, int i)
           
 QueryNode createFixed(Node n)
           
 QueryNode createJustBound(Node node, int i)
           
 QueryTriple createTriple(QueryNode S, QueryNode P, QueryNode O)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryNodeFactoryBase

public QueryNodeFactoryBase()
Method Detail

createAny

public QueryNode createAny()
Specified by:
createAny in interface QueryNodeFactory

createFixed

public QueryNode createFixed(Node n)
Specified by:
createFixed in interface QueryNodeFactory

createBind

public QueryNode createBind(Node node,
                            int i)
Specified by:
createBind in interface QueryNodeFactory

createJustBound

public QueryNode createJustBound(Node node,
                                 int i)
Specified by:
createJustBound in interface QueryNodeFactory

createBound

public QueryNode createBound(Node node,
                             int i)
Specified by:
createBound in interface QueryNodeFactory

createTriple

public QueryTriple createTriple(QueryNode S,
                                QueryNode P,
                                QueryNode O)
Specified by:
createTriple in interface QueryNodeFactory

createArray

public QueryTriple[] createArray(int size)
Specified by:
createArray in interface QueryNodeFactory


Licenced under the Apache License, Version 2.0