public class OWLLiteralImplBoolean extends OWLObjectImpl implements OWLLiteral
NO_ANNOTATIONS, OWL_THING| Constructor and Description |
|---|
OWLLiteralImplBoolean(boolean literal) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(OWLAnnotationValueVisitor visitor) |
<O> O |
accept(OWLAnnotationValueVisitorEx<O> visitor) |
void |
accept(OWLDataVisitor visitor) |
<O> O |
accept(OWLDataVisitorEx<O> visitor) |
void |
accept(OWLObjectVisitor visitor) |
<O> O |
accept(OWLObjectVisitorEx<O> visitor) |
protected int |
compareObjectOfSameType(OWLObject object) |
boolean |
equals(Object obj) |
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 int hashCode()
hashCode in class OWLObjectImplpublic String getLiteral()
getLiteral in interface OWLLiteralpublic boolean isRDFPlainLiteral()
isRDFPlainLiteral in interface OWLLiteralpublic boolean hasLang()
hasLang in interface OWLLiteralpublic boolean isInteger()
isInteger in interface OWLLiteralpublic int parseInteger()
throws NumberFormatException
parseInteger in interface OWLLiteralNumberFormatExceptionpublic boolean isBoolean()
isBoolean in interface OWLLiteralpublic boolean parseBoolean()
throws NumberFormatException
parseBoolean in interface OWLLiteralNumberFormatExceptionpublic boolean isDouble()
isDouble in interface OWLLiteralpublic double parseDouble()
throws NumberFormatException
parseDouble in interface OWLLiteralNumberFormatExceptionpublic boolean isFloat()
isFloat in interface OWLLiteralpublic float parseFloat()
throws NumberFormatException
parseFloat in interface OWLLiteralNumberFormatExceptionpublic String getLang()
getLang in interface OWLLiteralpublic boolean hasLang(String l)
hasLang in interface OWLLiteralpublic OWLDatatype getDatatype()
getDatatype in interface OWLLiteralpublic boolean equals(Object obj)
equals in class OWLObjectImplpublic void accept(OWLDataVisitor visitor)
accept in interface OWLLiteralpublic <O> O accept(OWLDataVisitorEx<O> visitor)
accept in interface OWLLiteralpublic void accept(OWLAnnotationValueVisitor visitor)
accept in interface OWLAnnotationValuepublic <O> O accept(OWLAnnotationValueVisitorEx<O> visitor)
accept in interface OWLAnnotationValueprotected int compareObjectOfSameType(OWLObject object)
compareObjectOfSameType in class OWLObjectImplpublic void accept(OWLObjectVisitor visitor)
public <O> O accept(OWLObjectVisitorEx<O> visitor)
Copyright © 2013 CSIRO HRPPC. All Rights Reserved.