Class WordEntry

java.lang.Object
games.stendhal.common.parser.WordEntry

public final class WordEntry extends Object
Word list entry, used to categorise words. Nouns and verbs can be associated with their plural form.
Author:
Martin Fuchs
  • Constructor Details

    • WordEntry

      public WordEntry()
  • Method Details

    • print

      public void print(PrintWriter pw, String key)
      Write word entry to the given print writer.
      Parameters:
      pw -
      key -
    • getNormalized

      public String getNormalized()
    • getType

      public ExpressionType getType()
    • getTypeString

      public String getTypeString()
    • getNormalizedWithTypeString

      public String getNormalizedWithTypeString()
    • getPlurSing

      public String getPlurSing()
    • isPlural

      public boolean isPlural()
    • isVerb

      public boolean isVerb()
    • isObject

      public boolean isObject()
    • isSubject

      public boolean isSubject()
    • isName

      public boolean isName()
    • isNumeral

      public boolean isNumeral()
    • isDynamic

      public boolean isDynamic()
    • isPronoun

      public boolean isPronoun()
    • isObsessional

      public boolean isObsessional()
    • getValue

      public Integer getValue()
    • getId

      public int getId()
    • toString

      public String toString()
      Return a simple string representation of the Expression.
      Overrides:
      toString in class Object