Class CharacterLevelAnnotations


  • public class CharacterLevelAnnotations
    extends java.lang.Object
    Character level annotations, contains information about each character in the document.
    • Constructor Detail

      • CharacterLevelAnnotations

        public CharacterLevelAnnotations​(java.util.List<CharacterLevelAnnotation> annotations,
                                         java.lang.String apiVersion)
        Constructs CharacterLevelAnnotations with the given params.
        Parameters:
        annotations - List of character level annotations.
        apiVersion - Version of the model and code used to generate the annotations.
    • Method Detail

      • getAnnotations

        public java.util.List<CharacterLevelAnnotation> getAnnotations()
        Getter for annotations field. See constructor documentation for more information about the field.
        Returns:
        annotations
      • getApiVersion

        public java.lang.String getApiVersion()
        Getter for apiVersion field. See constructor documentation for more information about the field.
        Returns:
        apiVersion