org.apache.uima.fit.validation

## Class Validator

- java.lang.Object
- - org.apache.uima.fit.validation.Validator

-     public class Validator
      extends Object

  Validate a (J)CAS.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Validator.Builder`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Validator(Collection<ValidationCheck> checks)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ValidationSummary` | `check(CAS cas)`
    `ValidationSummary` | `check(JCas aJCas)`
    `Collection<ValidationCheck>` | `getChecks()`

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

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

- - ### Constructor Detail

    - #### Validator

          public Validator(Collection<ValidationCheck> checks)

  - ### Method Detail

    - #### check

          public ValidationSummary check(JCas aJCas)
                                  throws ValidationException

      Throws:
        `ValidationException`

    - #### check

          public ValidationSummary check(CAS cas)
                                  throws ValidationException

      Throws:
        `ValidationException`

    - #### getChecks

          public Collection<ValidationCheck> getChecks()

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