org.coode.owl.rdfxml.parser
Class OptimisedListTranslator<O extends OWLObject>

java.lang.Object
  extended by org.coode.owl.rdfxml.parser.OptimisedListTranslator<O>

public class OptimisedListTranslator<O extends OWLObject>
extends java.lang.Object

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 08-Jan-2007

Translates an rdf:List into a Java List, or Java Set. The type of list (i.e. the type of objects in the list) are determined by a ListItemTranslator. The translator consumes all triples which are used in the translation.


Method Summary
 java.util.List<O> translateList(java.net.URI mainNode)
           
 java.util.Set<O> translateToSet(java.net.URI mainNode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

translateList

public java.util.List<O> translateList(java.net.URI mainNode)
                                                  throws OWLException
Throws:
OWLException

translateToSet

public java.util.Set<O> translateToSet(java.net.URI mainNode)
                                                  throws OWLException
Throws:
OWLException