Class ProcessingVisitor.ExcludeDependenciesVisitor

  • All Implemented Interfaces:
    ClientlibVisitor
    Enclosing class:
    ProcessingVisitor

    protected static class ProcessingVisitor.ExcludeDependenciesVisitor
    extends AbstractClientlibVisitor
    If some files are included in / requested by dependencies of the rendered client library, these must not be included into the cached file, since these would be loaded twice by the page. Thus, all dependencies are processed by this visitor. We need a separate visitor as to note embedded stuff in client libraries that are dependencies of the processed library has to be noted as well, and this cannot easily be distinguished by the visit methods arguments.

    This visitor is necessary since the dependencies have to be processed as well since they might override file versions or exclude stuff from embedding.