|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Locator
Immutable representation of an IRI.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
Returns true if the other object is equal to this one. |
java.lang.String |
getReference()
Returns the IRI |
int |
hashCode()
Returns a hash code value. |
Locator |
resolve(java.lang.String reference)
Resolves the reference against this locator. |
java.lang.String |
toExternalForm()
Returns the external form of the IRI. |
Method Detail |
---|
java.lang.String getReference()
java.lang.String toExternalForm()
Locator resolve(java.lang.String reference) throws MalformedIRIException
reference
- The reference which should be resolved against this locator.
java.lang.IllegalArgumentException
- If reference is null.
MalformedIRIException
- If the provided string cannot be resolved against this locator.boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- The object to compare this object against.
int hashCode()
getReference()
property.
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |