org.semanticweb.elk.owl.iris
Class ElkAbbreviatedIri
java.lang.Object
org.semanticweb.elk.owl.iris.ElkIri
org.semanticweb.elk.owl.iris.ElkAbbreviatedIri
- All Implemented Interfaces:
- Comparable<ElkIri>, ElkAnnotationSubject, ElkAnnotationValue, ElkObject
public class ElkAbbreviatedIri
- extends ElkIri
Represents an abbreaviated IRI. This class holds enough information to
be able to get the IRI both in the full and the abbreviated form.
- Author:
- Frantisek Simancik
| Fields inherited from class org.semanticweb.elk.owl.iris.ElkIri |
hashCode |
prefix
protected final ElkPrefix prefix
localName
protected final String localName
ElkAbbreviatedIri
public ElkAbbreviatedIri(ElkPrefix prefix,
String localName)
getPrefix
public ElkPrefix getPrefix()
getLocalName
public String getLocalName()
getFullIriAsString
public String getFullIriAsString()
- Specified by:
getFullIriAsString in class ElkIri
- Returns:
- the full IRI as a string
compareTo
public int compareTo(ElkIri arg)
- Specified by:
compareTo in interface Comparable<ElkIri>- Overrides:
compareTo in class ElkIri
concatHashCode
protected static int concatHashCode(String a,
String b)
- Returns (a+b).hashCode() without actually concatenating the strings.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.