SerializableArtifact (Apache OpenNLP Tools 2.5.9 API)
Description: declaration: package: opennlp.tools.util.model, interface: SerializableArtifact

# Interface SerializableArtifact

All Known Implementing Classes:
  `AncoraSpanishHeadRules, BrownCluster, Dictionary, HeadRules, POSDictionary, POSModel, WordClusterDictionary`

public interface SerializableArtifact
A marker interface so that implementing classes can refer to the corresponding `ArtifactSerializer` implementation.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Class<?>`
  `getArtifactSerializerClass()`
  Retrieves the class which can serialize and recreate this artifact.

- ## Method Details

  - ### getArtifactSerializerClass

    Class<?> getArtifactSerializerClass()
    Retrieves the class which can serialize and recreate this artifact.

    Note: The serializer class must have a `public zero argument constructor` or an exception is thrown during model serialization/loading.

    Returns:
      The corresponding `ArtifactSerializer` class.