Class DataKeys

java.lang.Object
ch.stegmaier.java2tex.genealogytree.DataKeys

public class DataKeys extends Object
  • Constructor Details

    • DataKeys

      public DataKeys()
  • Method Details

    • sex

      public static DataKey sex(DataKeys.Sex sex)
      This key holds the ⟨sex⟩ of a person. Feasible (but unchecked) values are male and female. neuter is an additional feasible default value, if the sex is unknown, e.g. for a stillborn child without further data.
    • male

      public static DataKey male()
      shortcute for sex = male
    • female

      public static DataKey female()
      shortcute for sex = female
    • neuter

      public static DataKey neuter()
      shortcute for sex = neuter
    • name

      public static DataKey name(String name)
      This key holds the ⟨full name⟩ of a person presumably with markup. For customization, the markup should be done with \pref, \surn, \nick instead of common LATEX font settings.
    • name

      public static DataKey name(ch.stegmaier.java2tex.core.BaseCommand name)
    • shortname

      public static DataKey shortname(String shortname)
      This key holds an optional ⟨short name⟩ of a person presumably with markup. For customization, the markup should be done with \pref, \surn, \nick instead of common LATEX font settings.
    • shortname

      public static DataKey shortname(ch.stegmaier.java2tex.core.BaseCommand shortname)
    • comment

      public static DataKey comment(String comment)
      This key holds some comment ⟨text⟩ about a person, e.g. occupation or a very concise life description.
    • comment

      public static DataKey comment(ch.stegmaier.java2tex.core.BaseCommand comment)
    • profession

      public static DataKey profession(String profession)
      This key holds some ⟨text⟩ about the profession a person.
    • profession

      public static DataKey profession(ch.stegmaier.java2tex.core.BaseCommand profession)
    • image

      public static DataKey image(String image)
      This key holds an image ⟨file name⟩ of a person’s portrait.
    • uuid

      public static DataKey uuid(String uuid)
      This key holds an universally unique identifier (UUID) ⟨text⟩ of a person. In contrast to id, the UUID should be globally constant. It may be used for interlinking beyond the scope of a genealogy tree diagram.
    • uuid

      public static DataKey uuid(UUID uuid)
    • kekule

      public static DataKey kekule(Integer kekule)
      This key holds the Kekulé number of a person.
    • generic

      public static DataKey generic(String key, String... value)
      A generic datakey given with key
    • generic

      public static DataKey generic(String key, ch.stegmaier.java2tex.core.BaseCommand... value)
    • birth

      public static EventDataKey birth()
      This key holds a birth event with given date, place and modifier
    • baptism

      public static EventDataKey baptism()
      This key holds a baptism event with given date, place and modifier
    • engagement

      public static EventDataKey engagement()
      This key holds a engagement event with given date, place and modifier
    • marriage

      public static EventDataKey marriage()
      This key holds a marriage event with given date, place and modifier
    • divorce

      public static EventDataKey divorce()
      This key holds a divorce event with given date, place and modifier
    • floruit

      public static EventDataKey floruit()
      This key holds a floruit event with given date, place and modifier
    • death

      public static EventDataKey death()
      This key holds a death event with given date, place and modifier
    • burial

      public static EventDataKey burial()
      This key holds a death event with given date, place and modifier