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(RoleplayingSystem rules, ModifiedObjectType type, String attrib, org.prelle.simplepersist.StringValueConverter<?> conv) static org.prelle.simplepersist.StringValueConverter<?> getConverter(RoleplayingSystem rules, ModifiedObjectType type, String attrib)
-
Constructor Details
-
AttributeCodingRegistry
public AttributeCodingRegistry()
-
-
Method Details
-
addConverter
public static void addConverter(RoleplayingSystem rules, ModifiedObjectType type, String attrib, org.prelle.simplepersist.StringValueConverter<?> conv) -
getConverter
public static org.prelle.simplepersist.StringValueConverter<?> getConverter(RoleplayingSystem rules, ModifiedObjectType type, String attrib)
-