This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.print.attribute
class URISyntax
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- Destination, PrinterMoreInfo, PrinterMoreInfoManufacturer, PrinterURI
public abstract class URISyntax
extends Object
implements Serializable, Cloneable
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.
Constructor Summary |
protected |
Constructs a URI attribute with the specified URI.
|
Method Summary |
boolean |
Returns whether this URI attribute is equivalent to the passed in
object.
|
URI |
Returns this URI attribute's URI value.
|
int |
Returns a hashcode for this URI attribute.
|
String |
Returns a String identifying this URI attribute.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URISyntax
protected URISyntax(URI uri)
-
Constructs a URI attribute with the specified URI.
- Parameters:
uri
- URI.
equals
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.
- Overrides:
equals
in class Object
- Parameters:
object
- Object to compare to.
- Returns:
- True if
object
is equivalent to this URI
attribute, false otherwise.
getURI
public URI getURI()
-
Returns this URI attribute's URI value.
- Returns:
- the URI.
hashCode
public int hashCode()
-
Returns a hashcode for this URI attribute.
- Overrides:
hashCode
in class Object
- Returns:
- A hashcode value for this object.
toString
public String toString()
-
Returns a String identifying this URI attribute. The String is the
string representation of the attribute's underlying URI.
- Overrides:
toString
in class Object
- Returns:
- A String identifying this object.
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.