Class AttributeCodingRegistry

java.lang.Object
de.rpgframework.genericrpg.data.AttributeCodingRegistry

public class AttributeCodingRegistry extends Object
The point of this registry is to store converters that decode a string (from XML) to a object value and reverse.
  • Constructor Details

    • AttributeCodingRegistry

      public AttributeCodingRegistry()
  • Method Details

    • addConverter

      public static void addConverter(de.rpgframework.core.RoleplayingSystem rules, ModifiedObjectType type, String attrib, org.prelle.simplepersist.StringValueConverter<?> conv)
    • getConverter

      public static org.prelle.simplepersist.StringValueConverter<?> getConverter(de.rpgframework.core.RoleplayingSystem rules, ModifiedObjectType type, String attrib)