Class TaxonMatch

java.lang.Object
org.opensextant.extraction.TextEntity
org.opensextant.extraction.TextMatch
org.opensextant.extractors.xtax.TaxonMatch
All Implemented Interfaces:
Comparable<org.opensextant.extraction.TextMatch>, org.opensextant.data.MatchSchema

public class TaxonMatch extends org.opensextant.extraction.TextMatch
Author:
Marc C. Ubaldino, MITRE, ubaldino at mitre dot org
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
     

    Fields inherited from class org.opensextant.extraction.TextMatch

    pattern_id, producer, type

    Fields inherited from class org.opensextant.extraction.TextEntity

    end, is_duplicate, is_overlap, is_submatch, match_id, postChar, preChar, start, text

    Fields inherited from interface org.opensextant.data.MatchSchema

    VAL_COORD, VAL_COUNTRY, VAL_PLACE, VAL_POSTAL, VAL_TAXON
  • Constructor Summary

    Constructors
    Constructor
    Description
    TaxonMatch(int x1, int x2)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addTaxon(org.opensextant.data.Taxon t)
     
    List<org.opensextant.data.Taxon>
     
    boolean
     
    boolean
     
    void
     

    Methods inherited from class org.opensextant.extraction.TextMatch

    compareTo, copy, defaultMatchId, getContentId, getMatchId, getTextnorm, getType, isFilteredOut, isSame, isSameNorm, setFilteredOut, setType, toString

    Methods inherited from class org.opensextant.extraction.TextEntity

    contains, copy, getContext, getContextAfter, getContextBefore, getLength, getText, isAfter, isASCII, isBefore, isLeftMatch, isLower, isMixedCase, isOverlap, isRightMatch, isSameMatch, isUpper, isWithin, isWithinChars, setContext, setContext, setTextOnly

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • hasDiacritics

      public boolean hasDiacritics
  • Constructor Details

    • TaxonMatch

      public TaxonMatch(int x1, int x2)
  • Method Details

    • setText

      public void setText(String t)
      Overrides:
      setText in class org.opensextant.extraction.TextEntity
    • isDefault

      public boolean isDefault()
      Overrides:
      isDefault in class org.opensextant.extraction.TextMatch
    • getTaxons

      public List<org.opensextant.data.Taxon> getTaxons()
    • addTaxon

      public void addTaxon(org.opensextant.data.Taxon t)
    • hasTaxons

      public boolean hasTaxons()