public class PrintTalkPackager
extends org.cip4.lib.xjdf.xml.internal.AbstractXmlPackager
| Constructor and Description |
|---|
PrintTalkPackager(OutputStream out)
Create a new PrintTalkPackager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
packagePrintTalk(PrintTalk ptk)
Packages a PrintTalk document to a zipped binary output stream.
|
void |
packagePrintTalk(PrintTalk ptk,
String docName)
Packages a PrintTalk document.
|
protected byte[] |
parseDocument(Object document) |
public PrintTalkPackager(OutputStream out)
out - The underlying OutputStream to write the package to.protected final byte[] parseDocument(Object document) throws Exception
parseDocument in class org.cip4.lib.xjdf.xml.internal.AbstractXmlPackagerExceptionpublic final void packagePrintTalk(PrintTalk ptk) throws Exception
ptk - The PrintTalk document to package.Exception - If packaging fails.public final void packagePrintTalk(PrintTalk ptk, String docName) throws org.cip4.lib.xjdf.xml.internal.PackagerException, XPathExpressionException
ptk - The PrintTalk document to package.docName - Document's name in ZIP Package.org.cip4.lib.xjdf.xml.internal.PackagerException - If the PTK could not be packaged.XPathExpressionException - If the PTK could not be packaged.Copyright © 2016. All rights reserved.