Class StubOperator


  • public class StubOperator
    extends org.apache.pdfbox.contentstream.operator.OperatorProcessor
    This implementation of OperatorProcessor allow the operator validation according PDF/A rules without compute the operator actions.
    • Constructor Summary

      Constructors 
      Constructor Description
      StubOperator​(org.apache.pdfbox.contentstream.PDFStreamEngine context, java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      void process​(org.apache.pdfbox.contentstream.operator.Operator operator, java.util.List<org.apache.pdfbox.cos.COSBase> arguments)  
      • Methods inherited from class org.apache.pdfbox.contentstream.operator.OperatorProcessor

        checkArrayTypesClass, getContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StubOperator

        public StubOperator​(org.apache.pdfbox.contentstream.PDFStreamEngine context,
                            java.lang.String name)
    • Method Detail

      • process

        public void process​(org.apache.pdfbox.contentstream.operator.Operator operator,
                            java.util.List<org.apache.pdfbox.cos.COSBase> arguments)
                     throws java.io.IOException
        Specified by:
        process in class org.apache.pdfbox.contentstream.operator.OperatorProcessor
        Throws:
        java.io.IOException
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class org.apache.pdfbox.contentstream.operator.OperatorProcessor