Package net.sf.okapi.lib.xliff2.walker
Class VisitationContext
- java.lang.Object
-
- net.sf.okapi.lib.xliff2.walker.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 Summary
Constructors Constructor Description VisitationContext(String fileNodeId, FileNode fileNode)VisitationContext(String fileNodeId, FileNode fileNode, UnitNode unitNode)VisitationContext(String fileNodeId, FileNode fileNode, UnitNode unitNode, int segmentIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileNodegetFile()StringgetFileNodeId()IntegergetSegmentIndex()UnitNodegetUnit()
-