Package org.semanticweb.owlapi.model
Interface HasLang
- All Known Subinterfaces:
OWLLiteral
- All Known Implementing Classes:
OWLLiteralImpl
,OWLLiteralImplBoolean
,OWLLiteralImplDouble
,OWLLiteralImplFloat
,OWLLiteralImplInteger
,OWLLiteralImplLong
,OWLLiteralImplNoCompression
,OWLLiteralImplPlain
,OWLLiteralImplString
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Author:
- Matthew Horridge, Stanford University, Bio-Medical Informatics Research Group Date: 18/02/2014
-
Method Summary
-
Method Details
-
getLang
String getLang()Gets the language tag of the literal.- Returns:
- A string representing the language tag of a literal. If the literal does not have a
language tag, because it is not of the type
rdf:PlainLiteral
, or because its language tag is empty, then the empty string will be returned.
-