Known Direct Subclasses
Destination |
Class Destination is a printing attribute class, a URI, that is used to
indicate an alternate destination for the spooled printer formatted
data. |
PrinterMoreInfo |
Class PrinterMoreInfo is a printing attribute class, a URI, that is used to
obtain more information about this specific printer. |
PrinterMoreInfoManufacturer |
Class PrinterMoreInfoManufacturer is a printing attribute class, a URI,
that is used to obtain more information about this type of device. |
PrinterURI |
Class PrinterURI is a printing attribute class, a URI, that specifies the
globally unique name of a printer. |
|
Class Overview
Class URISyntax is an abstract base class providing the common
implementation of all attributes whose value is a Uniform Resource
Identifier (URI). Once constructed, a URI attribute's value is immutable.
Summary
Protected Constructors |
|
URISyntax(URI uri)
Constructs a URI attribute with the specified URI.
|
Public Methods |
boolean
|
equals(Object object)
Returns whether this URI attribute is equivalent to the passed in
object.
|
URI
|
getURI()
Returns this URI attribute's URI value.
|
int
|
hashCode()
Returns a hashcode for this URI attribute.
|
String
|
toString()
Returns a String identifying this URI attribute.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
Protected Constructors
protected
URISyntax
(URI uri)
Constructs a URI attribute with the specified URI.
Public Methods
public
boolean
equals
(Object object)
Returns whether this URI attribute is equivalent to the passed in
object.
To be equivalent, all of the following conditions must be true:
-
object
is not null.
-
object
is an instance of class URISyntax.
-
This URI attribute's underlying URI and
object
's
underlying URI are equal.
Parameters
object
| Object to compare to. |
Returns
- True if
object
is equivalent to this URI
attribute, false otherwise.
public
URI
getURI
()
Returns this URI attribute's URI value.
public
int
hashCode
()
Returns a hashcode for this URI attribute.
Returns
- A hashcode value for this object.
public
String
toString
()
Returns a String identifying this URI attribute. The String is the
string representation of the attribute's underlying URI.
Returns
- A String identifying this object.