org.xenei.jena.entities.impl.handlers
Class VoidHandler

java.lang.Object
  extended by org.xenei.jena.entities.impl.handlers.VoidHandler
All Implemented Interfaces:
ObjectHandler

public class VoidHandler
extends Object
implements ObjectHandler

An ObjectHandler that always returns null.


Constructor Summary
VoidHandler()
           
 
Method Summary
 com.hp.hpl.jena.rdf.model.RDFNode createRDFNode(Object obj)
          Convert the object to null
 boolean equals(Object o)
           
 int hashCode()
           
 Object parseObject(com.hp.hpl.jena.rdf.model.RDFNode node)
          convert the node to a null
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VoidHandler

public VoidHandler()
Method Detail

createRDFNode

public com.hp.hpl.jena.rdf.model.RDFNode createRDFNode(Object obj)
Convert the object to null

Specified by:
createRDFNode in interface ObjectHandler
Parameters:
obj - The object to convert
Returns:
null

parseObject

public Object parseObject(com.hp.hpl.jena.rdf.model.RDFNode node)
convert the node to a null

Specified by:
parseObject in interface ObjectHandler
Parameters:
node - The node to convert.
Returns:
null.

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012 XENEI.com. All Rights Reserved.