org.semanticweb.elk.owlapi.wrapper
Class ElkLiteralWrap<T extends org.semanticweb.owlapi.model.OWLLiteral>

java.lang.Object
  extended by org.semanticweb.elk.owlapi.wrapper.ElkObjectWrap<T>
      extended by org.semanticweb.elk.owlapi.wrapper.ElkLiteralWrap<T>
Type Parameters:
T - the type of the wrapped object
All Implemented Interfaces:
ElkAnnotationValue, ElkLiteral, ElkObject

public class ElkLiteralWrap<T extends org.semanticweb.owlapi.model.OWLLiteral>
extends ElkObjectWrap<T>
implements ElkLiteral

Implements the ElkLiteral interface by wrapping instances of OWLLiteral

Author:
"Yevgeny Kazakov"

Field Summary
 
Fields inherited from class org.semanticweb.elk.owlapi.wrapper.ElkObjectWrap
converter, owlObject
 
Constructor Summary
ElkLiteralWrap(T owlLiteral)
           
 
Method Summary
<O> O
accept(ElkLiteralVisitor<O> visitor)
           
<O> O
accept(ElkObjectVisitor<O> visitor)
           
 ElkDatatype getDatatype()
           
 String getLexicalForm()
           
 
Methods inherited from class org.semanticweb.elk.owlapi.wrapper.ElkObjectWrap
hashCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElkLiteralWrap

public ElkLiteralWrap(T owlLiteral)
Method Detail

getLexicalForm

public String getLexicalForm()
Specified by:
getLexicalForm in interface ElkLiteral

getDatatype

public ElkDatatype getDatatype()
Specified by:
getDatatype in interface ElkLiteral

accept

public <O> O accept(ElkObjectVisitor<O> visitor)
Specified by:
accept in interface ElkObject

accept

public <O> O accept(ElkLiteralVisitor<O> visitor)
Specified by:
accept in interface ElkLiteral


Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.