net.sf.okapi.common.annotation

## Class XLIFFToolAnnotation

- java.lang.Object
- - net.sf.okapi.common.annotation.XLIFFToolAnnotation

- All Implemented Interfaces:
    IAnnotation

      public class XLIFFToolAnnotation
      extends java.lang.Object
      implements IAnnotation

  Annotation containing the set of elements in an XLIFF

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XLIFFToolAnnotation()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(XLIFFTool tool, StartSubDocument startSubDoc)`
    `XLIFFTool` | `get(java.lang.String toolId)`
    `java.lang.String` | `toXML()`
    `void` | `updateToolProperty(StartSubDocument startSubDoc)` Synchronize the value of the tool property on the StartSubDocument event with the XML representation of this annotation.

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

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

    - ### Methods inherited from interface net.sf.okapi.common.annotation.IAnnotation

      `toString`

- - ### Constructor Detail

    - #### XLIFFToolAnnotation

          public XLIFFToolAnnotation()

  - ### Method Detail

    - #### add

          public void add(XLIFFTool tool,
                 StartSubDocument startSubDoc)

    - #### get

          public XLIFFTool get(java.lang.String toolId)

    - #### updateToolProperty

          public void updateToolProperty(StartSubDocument startSubDoc)

      Synchronize the value of the tool property on the StartSubDocument event with the XML representation of this annotation.
      Parameters:
        `startSubDoc` -

    - #### toXML

          public java.lang.String toXML()