javax.print.attribute
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.
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.
|
URISyntax
object.
Parameters: uri the URI value for the syntax
Throws: NullPointerException if uri is null
Parameters: obj the object to test
Returns: true
if both objects are equal,
false
otherwise.
Returns: The URI.
Returns: The hashcode.
Returns: The string representation.