javax.print.attribute.standard
Class PrinterMoreInfoManufacturer

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

public final class PrinterMoreInfoManufacturer
extends URISyntax
implements PrintServiceAttribute

The PrinterMoreInfoManufacturer attribute provides a URI that can be used to obtain more information about the printer device type and its manufacturer.

The URI may for example contain a reference to a website of the manufacturer, containing informations and links to the latest firmware, printer drivers, manual etc. The information is normally intended for end users.

IPP Compatibility: PrinterMoreInfoManufacturer is an IPP 1.1 attribute.

See Also:
Serialized Form

Constructor Summary
PrinterMoreInfoManufacturer(URI uri)
          Constructs a PrinterMoreInfoManufacturer object.
 
Method Summary
 boolean equals(Object obj)
          Tests if the given object is equal to this object.
 Class<? extends Attribute> 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

PrinterMoreInfoManufacturer

public PrinterMoreInfoManufacturer(URI uri)
Constructs a PrinterMoreInfoManufacturer 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.
See Also:
Object.hashCode()

getCategory

public Class<? extends Attribute> getCategory()
Returns category of this class.

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

getName

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

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