1. Okapi Framework
  2. Okapi and localization
  3. XLIFF Toolkit
  4. Pull requests

Pull requests

#7 Merged at dc7f559
Repository
okapiframework
Branch
dev

Concept: ordered execution pipeline of visitors, visit place / path selector aware visitor

Author
  1. Vladyslav Mykhalets
Reviewers
Description

Added 'XliffOrderedWalker' to support ordered execution pipeline of visitors. Visitors will be applied in the order they were added to the walker. It may be useful when next visitor execution depends on the results of execution of the previous visitor, i.e. 'unit visitor' execution may depend on changes done by 'segment visitor'.

Comments (4)

  1. Chase Tingley

    Something about the abstraction here bothers me a little bit. With this change, IXliffWalkerStrategy implementations now need to implement both the "regular" and ordered doWalk methods. Shouldn't that distinction be encapsulated by the strategy itself?