com.hp.hpl.jena.reasoner.dig
Class TripleSubjectFiller

java.lang.Object
  extended by com.hp.hpl.jena.reasoner.dig.TripleSubjectFiller
All Implemented Interfaces:
Map1

public class TripleSubjectFiller
extends Object
implements Map1

Mapper to create triples from a given predicate and object

Version:
CVS $Id: TripleSubjectFiller.java,v 1.2 2004/12/07 09:56:37 andy_seaborne Exp $
Author:
Ian Dickinson, HP Labs (email)

Constructor Summary
TripleSubjectFiller(Node predicate, Node object)
          Construct a mapper to create triples from the given predicate and object, with a subject supplied by the iterator being mapped.
TripleSubjectFiller(Resource predicate, Resource object)
          Construct a mapper to create triples from the given predicate and object, with a subject supplied by the iterator being mapped.
 
Method Summary
 Object map1(Object x)
          Convert an object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TripleSubjectFiller

public TripleSubjectFiller(Resource predicate,
                           Resource object)
Construct a mapper to create triples from the given predicate and object, with a subject supplied by the iterator being mapped.


TripleSubjectFiller

public TripleSubjectFiller(Node predicate,
                           Node object)
Construct a mapper to create triples from the given predicate and object, with a subject supplied by the iterator being mapped.

Method Detail

map1

public Object map1(Object x)
Description copied from interface: Map1
Convert an object.

Specified by:
map1 in interface Map1
Parameters:
x - The thing to be converted.
Returns:
The converted thing.


Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP