|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectExpression
Instruction
InstructionWithContent
PipeFopElement.PipeFopInstruction
private static class PipeFopElement.PipeFopInstruction
Worker class for PipeFopElement
Nested Class Summary | |
---|---|
private static class |
PipeFopElement.PipeFopInstruction.PageInfo
|
Field Summary |
---|
Fields inherited from class InstructionWithContent |
---|
attribs, content, name |
Fields inherited from class Expression |
---|
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties |
Constructor Summary | |
---|---|
PipeFopElement.PipeFopInstruction(Map<String,Expression> attribs,
Expression content)
|
Method Summary | |
---|---|
private FopFactory |
createFopFactory(XPathContext context)
Create a FOP factory and configure it, if we don't already have one. |
private void |
mergeMetadata(HashMap<String,String>[] infos,
PdfWriter pdfWriter,
XPathContext context)
Merge metadata from the FOP-generated PDF and a PDF we're merging into it. |
private void |
mergePdf(XPathContext context,
File origPdfData,
File fileToAppend,
PipeFopElement.MergeMode mergeMode,
PipeFopElement.MergeAt mergeAt,
OutputStream outStream)
Do the work of joining the FOP output and a PDF together. |
TailCall |
processLeavingTail(XPathContext context)
The real workhorse. |
Methods inherited from class InstructionWithContent |
---|
createsNewNodes, display, dynamicError, getAttribBool, getAttribStr, getAttribStr, getCardinality, getInstructionNameCode, getItemType, iterateSubExpressions, optimize, promoteInst, replaceSubExpression, sequenceToString, simplify, typeCheck |
Methods inherited from class Instruction |
---|
appendItem, assembleParams, assembleTunnelParams, computeCardinality, computeSpecialProperties, dynamicError, evaluateAsString, evaluateItem, getImplementationMethod, getInstructionInfo, getSourceLocator, isXSLT, iterate, process, promote |
Methods inherited from class Expression |
---|
adoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, getColumnNumber, getConstructType, getContainingProcedure, getDependencies, getExecutable, getHostLanguage, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, markTailFunctionCalls, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, suppressValidation, typeError |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface SourceLocator |
---|
getColumnNumber, getLineNumber, getPublicId, getSystemId |
Constructor Detail |
---|
public PipeFopElement.PipeFopInstruction(Map<String,Expression> attribs, Expression content)
Method Detail |
---|
public TailCall processLeavingTail(XPathContext context) throws XPathException
processLeavingTail
in interface TailCallReturner
processLeavingTail
in class InstructionWithContent
XPathException
private FopFactory createFopFactory(XPathContext context) throws ConfigurationException, SAXException, IOException, XPathException
ConfigurationException
SAXException
IOException
XPathException
private void mergePdf(XPathContext context, File origPdfData, File fileToAppend, PipeFopElement.MergeMode mergeMode, PipeFopElement.MergeAt mergeAt, OutputStream outStream) throws IOException, DocumentException, BadPdfFormatException, XPathException
IOException
DocumentException
BadPdfFormatException
XPathException
private void mergeMetadata(HashMap<String,String>[] infos, PdfWriter pdfWriter, XPathContext context) throws XPathException
XPathException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |