Class VisitationContext


  • public class VisitationContext
    extends Object
    Provides the context for visiting the visitee during traversal of the XLIFF tree. The context consists of file, unit, and segment index, of which only the file is required. The other may be null.
    Author:
    Martin Wunderlich
    • Constructor Detail

      • VisitationContext

        public VisitationContext​(String fileNodeId,
                                 FileNode fileNode)
      • VisitationContext

        public VisitationContext​(String fileNodeId,
                                 FileNode fileNode,
                                 UnitNode unitNode,
                                 int segmentIndex)
    • Method Detail

      • getFileNodeId

        public String getFileNodeId()
      • getSegmentIndex

        public Integer getSegmentIndex()