com.dynalivery.printservice
Class SaffronPrintService

java.lang.Object
  extended bycom.dynalivery.printservice.SaffronPrintService
All Implemented Interfaces:
javax.print.MultiDocPrintService, javax.print.PrintService

public class SaffronPrintService
extends java.lang.Object
implements javax.print.MultiDocPrintService


Field Summary
static java.lang.Class destinationCategoryClass
           
static java.lang.Class htmlImageTypeCategoryClass
           
static java.lang.Class htmlUseFramesCategoryClass
           
static java.lang.Class mediaCategoryClass
           
static java.lang.Class mediaPrintableAreaCategoryClass
           
static java.lang.Class orientationRequestedCategoryClass
           
static java.lang.Class pdfFontEmbeddingCategoryClass
           
static java.lang.Class pdfLinearizedCategoryClass
           
static java.lang.Class pdfTextEncodingCategoryClass
           
static java.lang.Class saffronDestinationTypeCategoryClass
           
static java.lang.Class saffronHostCategoryClass
           
static java.lang.Class saffronOutputTypeCategoryClass
           
static java.lang.Class saffronPasswordCategoryClass
           
static java.lang.Class saffronPortCategoryClass
           
static java.lang.Class saffronServerTypeCategoryClass
           
static java.lang.Class saffronUserNameCategoryClass
           
 
Constructor Summary
SaffronPrintService()
           
 
Method Summary
 void addPrintServiceAttributeListener(javax.print.event.PrintServiceAttributeListener listener)
           
 javax.print.MultiDocPrintJob createMultiDocPrintJob()
           
 javax.print.DocPrintJob createPrintJob()
           
 boolean equals(java.lang.Object obj)
           
 javax.print.attribute.PrintServiceAttribute getAttribute(java.lang.Class category)
           
 javax.print.attribute.PrintServiceAttributeSet getAttributes()
           
 java.lang.Object getDefaultAttributeValue(java.lang.Class category)
           
 javax.print.attribute.PrintRequestAttributeSet getLatestPrintRequestAttributeSet()
           
 java.lang.String getName()
           
 javax.print.ServiceUIFactory getServiceUIFactory()
           
 java.lang.Class[] getSupportedAttributeCategories()
           
 java.lang.Object getSupportedAttributeValues(java.lang.Class category, javax.print.DocFlavor flavor, javax.print.attribute.AttributeSet attributes)
           
 javax.print.DocFlavor[] getSupportedDocFlavors()
           
 javax.print.attribute.AttributeSet getUnsupportedAttributes(javax.print.DocFlavor flavor, javax.print.attribute.AttributeSet attributes)
           
 int hashCode()
           
 boolean isAttributeCategorySupported(java.lang.Class category)
           
 boolean isAttributeValueSupported(javax.print.attribute.Attribute attrval, javax.print.DocFlavor flavor, javax.print.attribute.AttributeSet attributes)
           
 boolean isDocFlavorSupported(javax.print.DocFlavor flavor)
           
 void removePrintServiceAttributeListener(javax.print.event.PrintServiceAttributeListener listener)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mediaCategoryClass

public static java.lang.Class mediaCategoryClass

mediaPrintableAreaCategoryClass

public static java.lang.Class mediaPrintableAreaCategoryClass

orientationRequestedCategoryClass

public static java.lang.Class orientationRequestedCategoryClass

saffronServerTypeCategoryClass

public static java.lang.Class saffronServerTypeCategoryClass

saffronHostCategoryClass

public static java.lang.Class saffronHostCategoryClass

saffronPortCategoryClass

public static java.lang.Class saffronPortCategoryClass

saffronUserNameCategoryClass

public static java.lang.Class saffronUserNameCategoryClass

saffronPasswordCategoryClass

public static java.lang.Class saffronPasswordCategoryClass

saffronOutputTypeCategoryClass

public static java.lang.Class saffronOutputTypeCategoryClass

htmlUseFramesCategoryClass

public static java.lang.Class htmlUseFramesCategoryClass

htmlImageTypeCategoryClass

public static java.lang.Class htmlImageTypeCategoryClass

pdfFontEmbeddingCategoryClass

public static java.lang.Class pdfFontEmbeddingCategoryClass

pdfTextEncodingCategoryClass

public static java.lang.Class pdfTextEncodingCategoryClass

pdfLinearizedCategoryClass

public static java.lang.Class pdfLinearizedCategoryClass

destinationCategoryClass

public static java.lang.Class destinationCategoryClass

saffronDestinationTypeCategoryClass

public static java.lang.Class saffronDestinationTypeCategoryClass
Constructor Detail

SaffronPrintService

public SaffronPrintService()
Method Detail

getLatestPrintRequestAttributeSet

public javax.print.attribute.PrintRequestAttributeSet getLatestPrintRequestAttributeSet()

createPrintJob

public javax.print.DocPrintJob createPrintJob()
Specified by:
createPrintJob in interface javax.print.PrintService

createMultiDocPrintJob

public javax.print.MultiDocPrintJob createMultiDocPrintJob()
Specified by:
createMultiDocPrintJob in interface javax.print.MultiDocPrintService

getName

public java.lang.String getName()
Specified by:
getName in interface javax.print.PrintService

getServiceUIFactory

public javax.print.ServiceUIFactory getServiceUIFactory()
Specified by:
getServiceUIFactory in interface javax.print.PrintService

getDefaultAttributeValue

public java.lang.Object getDefaultAttributeValue(java.lang.Class category)
Specified by:
getDefaultAttributeValue in interface javax.print.PrintService

getSupportedAttributeCategories

public java.lang.Class[] getSupportedAttributeCategories()
Specified by:
getSupportedAttributeCategories in interface javax.print.PrintService

getSupportedAttributeValues

public java.lang.Object getSupportedAttributeValues(java.lang.Class category,
                                                    javax.print.DocFlavor flavor,
                                                    javax.print.attribute.AttributeSet attributes)
Specified by:
getSupportedAttributeValues in interface javax.print.PrintService

isAttributeCategorySupported

public boolean isAttributeCategorySupported(java.lang.Class category)
Specified by:
isAttributeCategorySupported in interface javax.print.PrintService

isAttributeValueSupported

public boolean isAttributeValueSupported(javax.print.attribute.Attribute attrval,
                                         javax.print.DocFlavor flavor,
                                         javax.print.attribute.AttributeSet attributes)
Specified by:
isAttributeValueSupported in interface javax.print.PrintService

getUnsupportedAttributes

public javax.print.attribute.AttributeSet getUnsupportedAttributes(javax.print.DocFlavor flavor,
                                                                   javax.print.attribute.AttributeSet attributes)
Specified by:
getUnsupportedAttributes in interface javax.print.PrintService

addPrintServiceAttributeListener

public void addPrintServiceAttributeListener(javax.print.event.PrintServiceAttributeListener listener)
Specified by:
addPrintServiceAttributeListener in interface javax.print.PrintService

removePrintServiceAttributeListener

public void removePrintServiceAttributeListener(javax.print.event.PrintServiceAttributeListener listener)
Specified by:
removePrintServiceAttributeListener in interface javax.print.PrintService

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface javax.print.PrintService

hashCode

public int hashCode()
Specified by:
hashCode in interface javax.print.PrintService

getAttribute

public javax.print.attribute.PrintServiceAttribute getAttribute(java.lang.Class category)
Specified by:
getAttribute in interface javax.print.PrintService

getAttributes

public javax.print.attribute.PrintServiceAttributeSet getAttributes()
Specified by:
getAttributes in interface javax.print.PrintService

getSupportedDocFlavors

public javax.print.DocFlavor[] getSupportedDocFlavors()
Specified by:
getSupportedDocFlavors in interface javax.print.PrintService

isDocFlavorSupported

public boolean isDocFlavorSupported(javax.print.DocFlavor flavor)
Specified by:
isDocFlavorSupported in interface javax.print.PrintService