aicas logoJamaica 3.2 release 62

javax.print.attribute.standard
Class PrinterMoreInfo

java.lang.Object
  extended by javax.print.attribute.URISyntax
      extended by javax.print.attribute.standard.PrinterMoreInfo
All Implemented Interfaces:
Serializable, Cloneable, Attribute, PrintServiceAttribute

public final class PrinterMoreInfo
extends URISyntax
implements PrintServiceAttribute

The PrinterMoreInfo attribute provides a URI that can be used to obtain more information about the printer.

The URI may for example contain a reference to a HTML page with information. The information is normally intended for end users.

IPP Compatibility: PrinterMoreInfo is an IPP 1.1 attribute.

See Also:
Serialized Form

Constructor Summary
PrinterMoreInfo(URI uri)
          Constructs a PrinterMoreInfo object.
 
Method Summary
 boolean equals(Object obj)
          Tests if the given object is equal to this object.
 Class getCategory()
          Returns category of this class.
 String getName()
          Returns the name of this attribute.
 
Methods inherited from class javax.print.attribute.URISyntax
getURI, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrinterMoreInfo

public PrinterMoreInfo(URI uri)
Constructs a PrinterMoreInfo object.

Parameters:
uri - the URI of the information.
Throws:
NullPointerException - if the given uri is null.
Method Detail

equals

public boolean equals(Object obj)
Tests if the given object is equal to this object.

Overrides:
equals in class URISyntax
Parameters:
obj - the object to test
Returns:
true if both objects are equal, false otherwise.

getCategory

public Class getCategory()
Returns category of this class.

Specified by:
getCategory in interface Attribute
Returns:
The class PrinterMoreInfo itself.

getName

public String getName()
Returns the name of this attribute.

Specified by:
getName in interface Attribute
Returns:
The name "printer-more-info".

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.