net.sf.okapi.lib.xliff2.walker

## Class AbstractUnitVisitor

- java.lang.Object
- - net.sf.okapi.lib.xliff2.walker.AbstractUnitVisitor

- All Implemented Interfaces:
    IXliffVisitor<UnitNode>

      public abstract class AbstractUnitVisitor
      extends java.lang.Object
      implements IXliffVisitor<UnitNode>

  Abstract class for Unit visitors to be derived from. This is a bit of a work-around, because it is not possible in Java generics to limit the type of an interface to a set of given interfaces.
  Author:
    Martin Wunderlich

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractUnitVisitor()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | `visit(UnitNode visitee, VisitationContext context)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractUnitVisitor

          public AbstractUnitVisitor()

  - ### Method Detail

    - #### visit

          public abstract void visit(UnitNode visitee,
                   VisitationContext context)

      Specified by:
        `visit` in interface `IXliffVisitor<UnitNode>`