public class OWLLiteralImplNoCompression extends OWLObjectImpl implements org.semanticweb.owlapi.model.OWLLiteral
NO_ANNOTATIONS, OWL_THING| Constructor and Description |
|---|
OWLLiteralImplNoCompression(byte[] bytes,
String lang,
org.semanticweb.owlapi.model.OWLDatatype datatype) |
OWLLiteralImplNoCompression(String literal,
String lang,
org.semanticweb.owlapi.model.OWLDatatype datatype) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(org.semanticweb.owlapi.model.OWLAnnotationValueVisitor visitor) |
<O> O |
accept(org.semanticweb.owlapi.model.OWLAnnotationValueVisitorEx<O> visitor) |
void |
accept(org.semanticweb.owlapi.model.OWLDataVisitor visitor) |
<O> O |
accept(org.semanticweb.owlapi.model.OWLDataVisitorEx<O> visitor) |
void |
accept(org.semanticweb.owlapi.model.OWLObjectVisitor visitor) |
<O> O |
accept(org.semanticweb.owlapi.model.OWLObjectVisitorEx<O> visitor) |
protected int |
compareObjectOfSameType(org.semanticweb.owlapi.model.OWLObject object) |
boolean |
equals(Object obj) |
org.semanticweb.owlapi.model.OWLDatatype |
getDatatype() |
String |
getLang() |
String |
getLiteral() |
int |
hashCode() |
boolean |
hasLang() |
boolean |
hasLang(String l) |
boolean |
isBoolean() |
boolean |
isDouble() |
boolean |
isFloat() |
boolean |
isInteger() |
boolean |
isRDFPlainLiteral() |
boolean |
parseBoolean() |
double |
parseDouble() |
float |
parseFloat() |
int |
parseInteger() |
compareLists, compareSets, compareTo, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntitycompareTopublic OWLLiteralImplNoCompression(String literal, String lang, org.semanticweb.owlapi.model.OWLDatatype datatype)
literal - the lexical formlang - the language; can be null or an empty string, in which case
datatype can be any datatype but not nulldatatype - the datatype; if lang is null or the empty string, it can be
null or it MUST be RDFPlainLiteralpublic OWLLiteralImplNoCompression(byte[] bytes,
String lang,
org.semanticweb.owlapi.model.OWLDatatype datatype)
bytes - actual literal formlang - language for literal, can be nulldatatype - datatype for literalpublic String getLiteral()
getLiteral in interface org.semanticweb.owlapi.model.OWLLiteralpublic boolean hasLang()
hasLang in interface org.semanticweb.owlapi.model.OWLLiteralpublic int parseInteger()
throws NumberFormatException
parseInteger in interface org.semanticweb.owlapi.model.OWLLiteralNumberFormatExceptionpublic boolean isRDFPlainLiteral()
isRDFPlainLiteral in interface org.semanticweb.owlapi.model.OWLLiteralpublic boolean isInteger()
isInteger in interface org.semanticweb.owlapi.model.OWLLiteralpublic boolean isBoolean()
isBoolean in interface org.semanticweb.owlapi.model.OWLLiteralpublic boolean isDouble()
isDouble in interface org.semanticweb.owlapi.model.OWLLiteralpublic boolean isFloat()
isFloat in interface org.semanticweb.owlapi.model.OWLLiteralpublic boolean parseBoolean()
throws NumberFormatException
parseBoolean in interface org.semanticweb.owlapi.model.OWLLiteralNumberFormatExceptionpublic double parseDouble()
throws NumberFormatException
parseDouble in interface org.semanticweb.owlapi.model.OWLLiteralNumberFormatExceptionpublic float parseFloat()
throws NumberFormatException
parseFloat in interface org.semanticweb.owlapi.model.OWLLiteralNumberFormatExceptionpublic String getLang()
getLang in interface org.semanticweb.owlapi.model.OWLLiteralpublic boolean hasLang(String l)
hasLang in interface org.semanticweb.owlapi.model.OWLLiteralpublic org.semanticweb.owlapi.model.OWLDatatype getDatatype()
getDatatype in interface org.semanticweb.owlapi.model.OWLLiteralpublic int hashCode()
hashCode in class OWLObjectImplpublic boolean equals(Object obj)
equals in class OWLObjectImplpublic void accept(org.semanticweb.owlapi.model.OWLDataVisitor visitor)
accept in interface org.semanticweb.owlapi.model.OWLLiteralpublic <O> O accept(org.semanticweb.owlapi.model.OWLDataVisitorEx<O> visitor)
accept in interface org.semanticweb.owlapi.model.OWLLiteralpublic void accept(org.semanticweb.owlapi.model.OWLAnnotationValueVisitor visitor)
accept in interface org.semanticweb.owlapi.model.OWLAnnotationValuepublic <O> O accept(org.semanticweb.owlapi.model.OWLAnnotationValueVisitorEx<O> visitor)
accept in interface org.semanticweb.owlapi.model.OWLAnnotationValueprotected int compareObjectOfSameType(org.semanticweb.owlapi.model.OWLObject object)
compareObjectOfSameType in class OWLObjectImplpublic void accept(org.semanticweb.owlapi.model.OWLObjectVisitor visitor)
accept in interface org.semanticweb.owlapi.model.OWLObjectpublic <O> O accept(org.semanticweb.owlapi.model.OWLObjectVisitorEx<O> visitor)
accept in interface org.semanticweb.owlapi.model.OWLObjectCopyright © 2014 The University of Manchester. All Rights Reserved.