de.fuberlin.wiwiss.d2rq.nodes
Interface NodeSetFilter

All Known Implementing Classes:
NodeConstraintImpl

public interface NodeSetFilter

Defines constraints to a set of RDF Nodes.

Version:
$Id: NodeSetFilter.java,v 1.1 2006/09/16 14:19:20 cyganiak Exp $
Author:
Richard Cyganiak

Method Summary
 void limitTo(com.hp.hpl.jena.graph.Node node)
          Limits this node set to one particular node.
 void limitToBlankNodes()
          Limits this node set to blank nodes.
 void limitToEmptySet()
          Limits the node set to the empty set.
 void limitToLiterals(String language, com.hp.hpl.jena.datatypes.RDFDatatype datatype)
          Limits this node set to literals having a particular language tag and datatype.
 void limitToURIs()
          Limits this node set to URI nodes.
 void limitValuesToAttribute(Attribute attribute)
          Limits this node set to those whose value matches a value in a particular database table column.
 void limitValuesToBlankNodeID(BlankNodeID id)
          Limits this node set to nodes whose value matches the values produced by a blank node ID.
 void limitValuesToPattern(Pattern pattern)
          Limits this node set to nodes whose value matches the values produced by a pattern.
 

Method Detail

limitToEmptySet

void limitToEmptySet()
Limits the node set to the empty set.


limitTo

void limitTo(com.hp.hpl.jena.graph.Node node)
Limits this node set to one particular node.

Parameters:
node - A fixed singleton node

limitToURIs

void limitToURIs()
Limits this node set to URI nodes.


limitToBlankNodes

void limitToBlankNodes()
Limits this node set to blank nodes.


limitToLiterals

void limitToLiterals(String language,
                     com.hp.hpl.jena.datatypes.RDFDatatype datatype)
Limits this node set to literals having a particular language tag and datatype.

Parameters:
language - The language tag of all nodes in the set, or null for plain or datatype literals
datatype - The datatype of all nodes in the set, or null for plain literals

limitValuesToAttribute

void limitValuesToAttribute(Attribute attribute)
Limits this node set to those whose value matches a value in a particular database table column.

Parameters:
attribute - The attribute containing possible values

limitValuesToPattern

void limitValuesToPattern(Pattern pattern)
Limits this node set to nodes whose value matches the values produced by a pattern.

Parameters:
pattern - The pattern producing possible values

limitValuesToBlankNodeID

void limitValuesToBlankNodeID(BlankNodeID id)
Limits this node set to nodes whose value matches the values produced by a blank node ID.

Parameters:
id - The blank node ID producing possible values