Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.print.ipp.attribute.printer
Class PrinterCurrentTime  view PrinterCurrentTime download PrinterCurrentTime.java

java.lang.Object
  extended byjavax.print.attribute.DateTimeSyntax
      extended bygnu.javax.print.ipp.attribute.printer.PrinterCurrentTime
All Implemented Interfaces:
javax.print.attribute.Attribute, java.lang.Cloneable, javax.print.attribute.PrintServiceAttribute, java.io.Serializable

public final class PrinterCurrentTime
extends javax.print.attribute.DateTimeSyntax
implements javax.print.attribute.PrintServiceAttribute

PrinterCurrentTime attribute as described in RFC 2911 section 4.4.30 provides the current time of the print service. Its to be used by other attributes like the date-time-at-xxx attributes in the creation process.


Field Summary
 
Fields inherited from class javax.print.attribute.DateTimeSyntax
 
Constructor Summary
PrinterCurrentTime(java.util.Date value)
          Creates a PrinterCurrentTime object.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Tests if the given object is equal to this object.
 java.lang.Class getCategory()
          Returns category of this class.
 java.lang.String getName()
          Returns the name of this attribute.
 
Methods inherited from class javax.print.attribute.DateTimeSyntax
getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrinterCurrentTime

public PrinterCurrentTime(java.util.Date value)
Creates a PrinterCurrentTime object.

Method Detail

equals

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


getCategory

public java.lang.Class getCategory()
Returns category of this class.

Specified by:
getCategory in interface javax.print.attribute.Attribute

getName

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

Specified by:
getName in interface javax.print.attribute.Attribute