examples
Class OWLSExtensions.OwnerConverter

java.lang.Object
  extended by examples.OWLSExtensions.OwnerConverter
All Implemented Interfaces:
OWLObjectConverter
Enclosing class:
OWLSExtensions

public static class OWLSExtensions.OwnerConverter
extends java.lang.Object
implements OWLObjectConverter

A simple converter that will wrap an existing OWLIndividual as an Actor objects. The individual should have rdf:type Actor triple in order the wrapping work. The convert function will automatically add this triple but should onyl be used if the ontology needs to be updated.


Constructor Summary
OWLSExtensions.OwnerConverter()
           
 
Method Summary
 boolean canCast(OWLObject object)
           
 OWLObject cast(OWLObject object)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLSExtensions.OwnerConverter

public OWLSExtensions.OwnerConverter()
Method Detail

canCast

public boolean canCast(OWLObject object)
Specified by:
canCast in interface OWLObjectConverter

cast

public OWLObject cast(OWLObject object)
Specified by:
cast in interface OWLObjectConverter


Copyright © 2004 Evren Sirin. All Rights Reserved.