AbstractModelResource (Apache OpenNLP UIMA Annotators 1.9.5 API)
Date: 2026-06-18

opennlp.uima.util

## Class AbstractModelResource<T>

- java.lang.Object
- - opennlp.uima.util.AbstractModelResource<T>

- All Implemented Interfaces:
    org.apache.uima.resource.SharedResourceObject
  Direct Known Subclasses:
    ChunkerModelResourceImpl, DictionaryResourceImpl, DoccatModelResourceImpl, ParserModelResourceImpl, POSModelResourceImpl, SentenceModelResourceImpl, TokenizerModelResourceImpl, TokenNameFinderModelResourceImpl

      public abstract class AbstractModelResource<T>
      extends Object
      implements org.apache.uima.resource.SharedResourceObject

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractModelResource()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `load(org.apache.uima.resource.DataResource resource)`

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

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

- - ### Constructor Detail

    - #### AbstractModelResource

          public AbstractModelResource()

  - ### Method Detail

    - #### load

          public void load(org.apache.uima.resource.DataResource resource)
                    throws org.apache.uima.resource.ResourceInitializationException

      Specified by:
        `load` in interface `org.apache.uima.resource.SharedResourceObject`
      Throws:
        `org.apache.uima.resource.ResourceInitializationException`

Copyright © 2026 The Apache Software Foundation. All rights reserved.