intarsys PDF library API

de.intarsys.pdf.content
Class CSDeviceBasedInterpreter

java.lang.Object
  extended by de.intarsys.pdf.content.CSInterpreter
      extended by de.intarsys.pdf.content.CSDeviceBasedInterpreter
All Implemented Interfaces:
ICSInterpreter

public class CSDeviceBasedInterpreter
extends CSInterpreter

A content stream interpreter for PDF graphics primitives that delegates execution to an ICSDevice object.


Constructor Summary
CSDeviceBasedInterpreter(Map paramOptions, ICSDevice device)
           
 
Method Summary
 ICSDevice getDevice()
          The ICSDevice currently associated with the interpreter.
 void process(CSContent pContent, PDResources resourceDict)
          Process content using resources if needed.
 
Methods inherited from class de.intarsys.pdf.content.CSInterpreter
getExceptionHandler, getOptions, setExceptionHandler
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSDeviceBasedInterpreter

public CSDeviceBasedInterpreter(Map paramOptions,
                                ICSDevice device)
Method Detail

getDevice

public ICSDevice getDevice()
The ICSDevice currently associated with the interpreter.

Returns:
The ICSDevice currently associated with the interpreter.

process

public void process(CSContent pContent,
                    PDResources resourceDict)
             throws CSException
Description copied from interface: ICSInterpreter
Process content using resources if needed.

This method may be called reentrant when a form XObject is encountered.

Specified by:
process in interface ICSInterpreter
Overrides:
process in class CSInterpreter
Parameters:
pContent - The PDF content stream to be interpreted.
resourceDict - The PDResources repository for the content stream
Throws:
CSException

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.