net.sf.okapi.lib.xliff2.document

## Class GroupOrUnitNode

- java.lang.Object
- - net.sf.okapi.lib.xliff2.document.GroupOrUnitNode

- Direct Known Subclasses:
    GroupNode, UnitNode

      public abstract class GroupOrUnitNode
      extends java.lang.Object

  Represents a node that is either a group or a unit.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GroupOrUnitNode()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(InsingnificantPartData data, boolean placeBefore)`
    `boolean` | `isUnit()` Indicates if this node is a UnitNode.

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

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

- - ### Constructor Detail

    - #### GroupOrUnitNode

          public GroupOrUnitNode()

  - ### Method Detail

    - #### isUnit

          public boolean isUnit()

      Indicates if this node is a UnitNode.
      Returns:
        true if it is a UnitNode, false if it is a GroupNode.

    - #### add

          public void add(InsingnificantPartData data,
                 boolean placeBefore)