public abstract class URISyntax extends Object implements Cloneable, Serializable
URISyntax is the abstract base class of all attribute
classes having an Uniform Resource Identifier URI as value.| Modifier | Constructor and Description |
|---|---|
protected |
URISyntax(URI uri)
Creates a
URISyntax object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Tests if the given object is equal to this object.
|
URI |
getURI()
Returns the URI value of this syntax object.
|
int |
hashCode()
Returns the hashcode for this object.
|
String |
toString()
Returns the string representation for this object.
|
protected URISyntax(URI uri)
URISyntax object.uri - the URI value for the syntaxNullPointerException - if uri is nullpublic boolean equals(Object obj)
equals in class Objectobj - the object to testtrue if both objects are equal,
false otherwise.Object.hashCode()public int hashCode()
hashCode in class ObjectObject.equals(Object),
System.identityHashCode(Object)public String toString()
toString in class ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)