public class PrintTalkParser extends org.cip4.lib.xjdf.xml.internal.AbstractXmlParser<PrintTalk>
| Modifier and Type | Method and Description |
|---|---|
static PrintTalkParser |
newInstance()
Factory method for getting a new XJdfParser instance.
|
void |
parsePrintTalk(PrintTalk printTalk,
OutputStream os)
Parse a PrintTalk Object Tree to a binary output stream.
|
void |
parsePrintTalk(PrintTalk printTalk,
OutputStream os,
boolean skipValidation)
Parse a PrintTalk Object Tree to a binary output stream.
|
PrintTalk |
parseStream(InputStream is)
Parse a binary input stream to a PrintTalk Object Tree.
|
public static PrintTalkParser newInstance()
public void parsePrintTalk(PrintTalk printTalk, OutputStream os) throws Exception
printTalk - PrintTalk Object Tree for parsing.os - Target OutputStream where PrintTalk Document is being parsed.ValidationException - Is thrown in case PrintTalk is not valid and validation process is not being skipped.Exception - Is thrown in case an exception occurs.public void parsePrintTalk(PrintTalk printTalk, OutputStream os, boolean skipValidation) throws Exception
printTalk - PrintTalk Object Tree for parsing.os - Target OutputStream where PrintTalk Document is being parsed.skipValidation - Indicates whether or not validation has to be skipped.ValidationException - Is thrown in case PrintTalk is not valid and validation process is not being skipped.Exception - Is thrown in case an exception occurs.public PrintTalk parseStream(InputStream is) throws Exception
Copyright © 2012. All Rights Reserved.