org.apache.pdfbox.util.operator
Class SetStrokingColorSpace

java.lang.Object
  extended by org.apache.pdfbox.util.operator.OperatorProcessor
      extended by org.apache.pdfbox.util.operator.SetStrokingColorSpace

public class SetStrokingColorSpace
extends OperatorProcessor

Structal modification of the PDFEngine class : the long sequence of conditions in processOperator is remplaced by this strategy pattern.

Version:
$Revision: 1.5 $
Author:
Ben Litchfield

Field Summary
 
Fields inherited from class org.apache.pdfbox.util.operator.OperatorProcessor
context
 
Constructor Summary
SetStrokingColorSpace()
           
 
Method Summary
 void process(PDFOperator operator, List<COSBase> arguments)
          CS Set color space for stroking operations.
 
Methods inherited from class org.apache.pdfbox.util.operator.OperatorProcessor
getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetStrokingColorSpace

public SetStrokingColorSpace()
Method Detail

process

public void process(PDFOperator operator,
                    List<COSBase> arguments)
             throws IOException
CS Set color space for stroking operations.

Specified by:
process in class OperatorProcessor
Parameters:
operator - The operator that is being executed.
arguments - List
Throws:
IOException - If an error occurs while processing the font.


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.