public abstract class URISyntax extends java.lang.Object implements java.lang.Cloneable, java.io.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(java.net.URI uri)
Creates a
URISyntax object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests if the given object is equal to this object.
|
java.net.URI |
getURI()
Returns the URI value of this syntax object.
|
int |
hashCode()
Returns the hashcode for this object.
|
java.lang.String |
toString()
Returns the string representation for this object.
|
protected URISyntax(java.net.URI uri)
URISyntax object.uri - the URI value for the syntaxjava.lang.NullPointerException - if uri is nullpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to testtrue if both objects are equal,
false otherwise.Object.hashCode()public java.net.URI getURI()
public int hashCode()
hashCode in class java.lang.ObjectObject.equals(Object),
System.identityHashCode(Object)public java.lang.String toString()
toString in class java.lang.ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)