net.java.rdf.sommer
Class SesameMapper.MappingSerialiser.SecondIteration

java.lang.Object
  extended by net.java.rdf.sommer.SesameMapper.MappingSerialiser.SecondIteration
All Implemented Interfaces:
RdfSerialiser
Enclosing class:
SesameMapper.MappingSerialiser

 class SesameMapper.MappingSerialiser.SecondIteration
extends java.lang.Object
implements RdfSerialiser

This second Iteration will go through the fields and add the relations to the database


Constructor Summary
SesameMapper.MappingSerialiser.SecondIteration()
           
 
Method Summary
 boolean isInterestingField(java.lang.reflect.Field fld)
          This is method will usually be called first.
 java.lang.Object processField(java.lang.Object sourceObj, java.lang.reflect.Field fld, java.lang.Object value)
          This method will process the field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SesameMapper.MappingSerialiser.SecondIteration

SesameMapper.MappingSerialiser.SecondIteration()
Method Detail

isInterestingField

public boolean isInterestingField(java.lang.reflect.Field fld)
Description copied from interface: RdfSerialiser
This is method will usually be called first.

Specified by:
isInterestingField in interface RdfSerialiser
Returns:
true if the field one that we want to work with?

processField

public java.lang.Object processField(java.lang.Object sourceObj,
                                     java.lang.reflect.Field fld,
                                     java.lang.Object value)
Description copied from interface: RdfSerialiser
This method will process the field.

Specified by:
processField in interface RdfSerialiser
Returns:
if the field value needs to be changed, this will do it, otherwise it should return null Field values may need to be wrapped around another object.