Adds a post-processor to handle binaries.

@param string                 $name
@param PostProcessorInterface $postProcessor
183696
public function addPostProcessor(string $name, PostProcessorInterface $postProcessor): void
    {
        $this->postProcessors[$name] = $postProcessor;
    }
106755
protected void addConfiguredProcessorParam(final ProcessorParam param) throws NullPointerException, BuildException {
    if (param == null) {
      throw new NullPointerException("param");
    }
    if (isReference()) {
      throw noChildrenAllowed();
    }
    this.processorParams.addElement(param);
  }
362181
protected function loadProcessor($class, $name)
	{
		if (!class_exists($class, false) && !function_exists($class)) {
			try {
				$this->dwoo->getLoader()->loadPlugin($name);
			} catch (Dwoo_Exception $e) {
				throw new Dwoo_Exception('Processor '.$name.' could not be found in your plugin directories, please ensure it is in a file named '.$name.'.php in the plugin directory');
			}
		}

		if (class_exists($class, false)) {
			return array(new $class($this), 'process');
		}

		if (function_exists($class)) {
			return $class;
		}

		throw new Dwoo_Exception('Wrong processor name, when using autoload the processor must be in one of your plugin dir as "name.php" containg a class or function named "Dwoo_Processor_name"');
	}
680077
protected ChainedResourceBundlePostProcessor getCustomProcessorWrapper(ResourceBundlePostProcessor customProcessor,
			String key, boolean isVariantPostProcessor) {
		return new CustomPostProcessorChainWrapper(key, customProcessor, isVariantPostProcessor);
	}
1013716
public void addDefaultProcessor(NodeProcessor processor)
	{
		if (null == processor)
		{
			throw new IllegalArgumentException("Processor should not be null.");
		}
		getActionPool().put(NODE_NAME__DEFAULT, processor);
	}
8686
private static String getBundlePostProcessorsName(ChainedResourceBundlePostProcessor processor) {

		String bundlePostProcessor = "";
		if (processor != null) {
			bundlePostProcessor = processor.getId();
		}

		return bundlePostProcessor;
	}
1364777
function OLE_PPS_File($name)
    {
        $this->_tmp_dir = System::tmpdir();
        $this->OLE_PPS(
            null, 
            $name,
            OLE_PPS_TYPE_FILE,
            null,
            null,
            null,
            null,
            null,
            '',
            array());
    }
1217600
@Override
    protected void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) {
        beanFactory.addBeanPostProcessor(new ServletContextAwareProcessor(servletContext));
        beanFactory.ignoreDependencyInterface(ServletContextAware.class);
        beanFactory.registerResolvableDependency(ServletContext.class, servletContext);

        WebApplicationContextUtils.registerWebApplicationScopes(beanFactory);
    }
907458
public function package(string $name): void
    {
        $files = $this->app->make('files');

        if (\method_exists($this->app, 'vendorPath')) {
            $vendorPath = \rtrim($this->app->vendorPath(), '/');
        } else {
            $basePath = \rtrim($this->app->basePath(), '/');
            $vendorPath = "{$basePath}/vendor";
        }

        $paths = [
            "{$vendorPath}/{$name}/resources/database/migrations/",
            "{$vendorPath}/{$name}/database/migrations/",
            "{$vendorPath}/{$name}/migrations/",
        ];

        foreach ($paths as $path) {
            if ($files->isDirectory($path)) {
                $this->run($path);
            }
        }
    }
870815
protected function processWith($instance, string $name, string $method, ...$parameters)
    {
        $processor = $this->getVersionedResourceClassName('Processors', $name);

        return \app($processor)->{$method}($this, $instance, ...$parameters);
    }
214593
public function find( $name ) {

		if ( ! $this->initialized ) {
			$this->initialized = TRUE;

			/**
			 * Fires right before the first processor is to be registered.
			 *
			 * @param ProcessorsRegistry $processors_registry
			 */
			do_action( self::ACTION_REGISTER, $this );
		}

		if ( is_callable( $name ) && ! is_string( $name ) ) {
			$name = $this->build_name( $name );
		}

		return $this->has_processor( $name ) ? $this->processors[ $name ] : NULL;
	}
330266
public function addPost($name, $value = null)
    {
        if (is_array($name) && $value === null) {
            $this->postParams = array_merge($this->postParams, $name);
        } else {
            $this->postParams[$name] = $value;
        }

        return $this;
    }
216837
public function postParam($name){
        if(isset($this->postParams[$name])){
            return $this->postParams[$name];
        }else{
            return NULL;
        }
    }
706045
@SuppressWarnings("unchecked")
    public void setWriterPostProcessors(Set<String> writerPostProcessors) {
        if (writePostProcessors == null) {
            writePostProcessors = new LinkedList<>();
        }
        for (String writerPostProcessor : writerPostProcessors) {
            try {
                writePostProcessors.add((Class<IPostProcessor>) Class.forName(writerPostProcessor));
            } catch (Exception e) {
                log.debug("Write post process implementation: {} was not found", writerPostProcessor);
            }
        }
    }
342163
private void postProcessOperands(OperatorImpl opImpl, String fullPath)
    throws InvalidXPathSyntaxException  
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      tc.entry(cclass,
               "postProcessOperands",
               "opImpl: " + opImpl + ", fullPath: " + fullPath);        
    // Check for Identifiers with ampersand strings
    for(int i = 0; i< opImpl.operands.length; i++)
    {
      Selector sel = opImpl.operands[i];
      postProcessSelectorTree(sel, fullPath);
    }
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      tc.exit(this,cclass, "postProcessOperands");      
  }
216038
@Override
	public StringBuffer postProcessBundle(BundleProcessingStatus status, StringBuffer bundleData) {
		StringBuffer processedBundle = null;
		try {
			if (LOGGER.isDebugEnabled())
				LOGGER.debug("postprocessing bundle:" + status.getCurrentBundle().getId());
			processedBundle = doPostProcessBundle(status, bundleData);
		} catch (IOException e) {
			throw new BundlingProcessException("Unexpected IOException during execution of a postprocessor.", e);
		}
		if (null != nextProcessor) {
			processedBundle = nextProcessor.postProcessBundle(status, processedBundle);
		}
		return processedBundle;
	}
302354
public static IPostProcessor unwrap(final IPostProcessor postProcessor) {
        if (postProcessor == null) {
            return null;
        }
        if (postProcessor instanceof PostProcessorWrapper) {
            return ((PostProcessorWrapper) postProcessor).unwrap();
        }
        return postProcessor;
    }