public class ZebraCardPrinterFactory
extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static ZebraPrinterZmotif | createZmotifPrinter(ZebraCardPrinter printer)Create a wrapper around a Zebra printer that provides access to ZebraPrinterZmotif object from ZebraCardPrinter. | 
| static ZebraPrinterZxp | createZxpPrinter(ZebraCardPrinter printer)Create a wrapper around a Zebra printer that provides access to ZebraPrinterZxp object from ZebraCardPrinter. | 
| static ZebraCardPrinter | getInstance(Connection connection)Factory method to create the correct ZebraCardPrinter concrete class based on the printer's type. | 
| static ZebraPrinterZmotif | getZmotifPrinter(Connection connection)Create a wrapper around a Zebra printer that provides access to ZebraPrinterZmotif object from Connection. | 
| static ZebraPrinterZxp | getZxpPrinter(Connection connection)Create a wrapper around a Zebra printer that provides access to ZebraPrinterZxp object from Connection. | 
public static ZebraCardPrinter getInstance(Connection connection) throws ConnectionException
connection - an open connection to a printer.ConnectionException - if an I/O error occurs.public static ZebraPrinterZmotif getZmotifPrinter(Connection connection) throws ConnectionException
connection - an open connection to a printer.ConnectionException - if an I/O error occurs.public static ZebraPrinterZmotif createZmotifPrinter(ZebraCardPrinter printer) throws ConnectionException
printer - instance of ZebraCardPrinter.ConnectionException - if an I/O error occurs.public static ZebraPrinterZxp getZxpPrinter(Connection connection) throws ConnectionException
connection - an open connection to a printer.ConnectionException - if an I/O error occurs.public static ZebraPrinterZxp createZxpPrinter(ZebraCardPrinter printer) throws ConnectionException
printer - instance of ZebraCardPrinter.ConnectionException - if an I/O error occurs.
				© 2016 ZIH Corp. All Rights Reserved.