public class PrintTalkNavigator
extends org.cip4.lib.xjdf.xml.internal.XPathNavigatorBase
| Modifier and Type | Field and Description |
|---|---|
static String |
BUSINESS_ID
XPath to attribute 'BusinessID' of PurchaseOrder Node in PrintTalk Document.
|
static String |
CURRENCY
XPath to attribute 'Currency' of PurchaseOrder Node in PrintTalk Document.
|
static String |
TIMESTAMP
XPath to attribute 'TimeStamp' in PrintTalk Document.
|
static String |
XJDF
XPath to embedded XJDF Document in PrintTalk Document.
|
| Constructor and Description |
|---|
PrintTalkNavigator(byte[] xPrintTalkBytes)
Custom constructor.
|
PrintTalkNavigator(InputStream xPrintTalkStream)
Custom constructor.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getPtkBytes()
Returns the PrintTalk Document as Byte Array.
|
InputStream |
getPtkStream()
Returns the PrintTalk Document as Stream.
|
String |
readXJdfAttribute(String xPathXJdf)
Read attribute from embedded XJdf Document in PrintTalk.
|
public static final String TIMESTAMP
public static final String BUSINESS_ID
public static final String CURRENCY
public static final String XJDF
public PrintTalkNavigator(InputStream xPrintTalkStream) throws Exception
xPrintTalkStream - The PrintTalk Input Stream.Exceptionpublic byte[] getPtkBytes()
throws Exception
Exception - Is thrown in case an exception occurs.public InputStream getPtkStream() throws Exception
Exception - Is thrown in case an exception occurs.public String readXJdfAttribute(String xPathXJdf) throws XPathExpressionException
xPath - XPath expression of XJDF attribute needed.XPathExpressionException - Is being thrown in case an exception occurs.Copyright © 2013. All Rights Reserved.