org.apache.uima.fit.internal

## Class DescriptionUtils

- java.lang.Object
- - org.apache.uima.fit.internal.DescriptionUtils

-     public final class DescriptionUtils
      extends Object

  INTERNAL API - Helper functions for operatin with descriptions.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static AnalysisEngineDescription` | `consolidate(AnalysisEngineDescription aDesc)` Consolidate duplicate information in the AE description.

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

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

- - ### Method Detail

    - #### consolidate

          public static AnalysisEngineDescription consolidate(AnalysisEngineDescription aDesc)
                                                       throws ResourceInitializationException,
                                                              InvalidXMLException

      Consolidate duplicate information in the AE description.
      Parameters:
        `aDesc` - an AE description
      Returns:
        a consolidated AE description
      Throws:
        `ResourceInitializationException` - if a descriptions could not be aggregated
        `InvalidXMLException` - if import resolution failed

Copyright © 2012–2021 The Apache Software Foundation. All rights reserved.