Class AttributeCodingRegistry
java.lang.Object
de.rpgframework.genericrpg.data.AttributeCodingRegistry
The point of this registry is to store converters that decode a string (from XML)
to a object value and reverse.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddConverter(de.rpgframework.core.RoleplayingSystem rules, ModifiedObjectType type, String attrib, org.prelle.simplepersist.StringValueConverter<?> conv) static org.prelle.simplepersist.StringValueConverter<?> getConverter(de.rpgframework.core.RoleplayingSystem rules, ModifiedObjectType type, String attrib)
-
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)
-