|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.print.attribute.URISyntax
public abstract class URISyntax
URISyntax
is the abstract base class of all attribute
classes having an Uniform Resource Identifier URI as value.
Constructor Summary | |
---|---|
protected |
URISyntax(URI uri)
Creates a URISyntax object. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected URISyntax(URI uri)
URISyntax
object.
uri
- the URI value for the syntax
NullPointerException
- if uri is nullMethod Detail |
---|
public boolean equals(Object obj)
equals
in class Object
obj
- the object to test
true
if both objects are equal,
false
otherwise.Object.hashCode()
public URI getURI()
public int hashCode()
hashCode
in class Object
Object.equals(Object)
,
System.identityHashCode(Object)
public String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |