|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ontotext.wsmo4j.common.IRIImpl
public class IRIImpl
| Constructor Summary | |
|---|---|
IRIImpl(String iri)
Creates IRI object, does heuristics for namespace/localname split |
|
IRIImpl(String ns,
String ln)
Creates IRI with the knowledge of sepration between namespace and localname. |
|
| Method Summary | |
|---|---|
void |
accept(org.omwg.logicalexpression.terms.Visitor v)
|
boolean |
equals(Object object)
equality check. |
String |
getLocalName()
retrieve the <localname> part of the iri. |
String |
getNamespace()
retrieve the namespace part of iri |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IRIImpl(String iri)
throws IllegalArgumentException
iri - String representation of IRI
IllegalArgumentException - in case no legal IRI is supplied
public IRIImpl(String ns,
String ln)
throws IllegalArgumentException
ns - String containing the part of the IRI that is the Namespaceln - String containing the part of the IRI that is the localname
IllegalArgumentExpression - in case the IRI is not legal according to the IRI spec.
IllegalArgumentException| Method Detail |
|---|
public String getLocalName()
getLocalName in interface org.wsmo.common.IRIpublic String getNamespace()
getNamespace in interface org.wsmo.common.IRIpublic String toString()
toString in class Objectpublic void accept(org.omwg.logicalexpression.terms.Visitor v)
accept in interface org.omwg.logicalexpression.terms.TermTerm.accept(org.omwg.logicalexpression.terms.Visitor)public boolean equals(Object object)
equals in class Objectobject - to compare with
Object.equals(java.lang.Object)public int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||