code: private EntityDocumentProcessor filterEntityDocumentProcessor(
  			EntityDocumentProcessor processor) {
  		if (this.filter.getPropertyFilter() == null
  				&& this.filter.getSiteLinkFilter() == null
  				&& this.filter.getLanguageFilter() == null) {
  			return processor;
  		} else {
  			return new EntityDocumentProcessorFilter(
  					processor, this.filter);
  		}
  	}
docs: Wraps the given processor into a {@link EntityDocumentProcessorFilter} if
  global filters are configured; otherwise just returns the processor
  unchanged.
  
  @param processor
  the processor to wrap