1 31 package org.pdfbox.util.operator; 32 33 import org.pdfbox.util.PDFOperator; 34 import org.pdfbox.util.PDFStreamEngine; 35 import java.util.List ; 36 import java.io.IOException ; 37 38 49 public abstract class OperatorProcessor 50 { 51 52 55 protected PDFStreamEngine context = null; 56 57 61 protected OperatorProcessor() 62 { 63 } 64 65 70 protected PDFStreamEngine getContext() 71 { 72 return context; 73 } 74 75 80 public void setContext(PDFStreamEngine ctx) 81 { 82 context = ctx; 83 } 84 85 92 public abstract void process(PDFOperator operator, List arguments) throws IOException ; 93 } 94 | Popular Tags |