redora.generator
Class Internationalizer
java.lang.Object
redora.generator.Internationalizer
public class Internationalizer
- extends Object
Fixes the caption elements on model and attributes. The default language captions are created from the model and
attribute names. And the optional table caption attributes are set from the form attribute.
- Author:
- Nanjing RedOrange (http://www.red-orange.cn)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Internationalizer
public Internationalizer(@NotNull
String defaultLanguage)
- Parameters:
defaultLanguage - (Mandatory) From maven pom settings or Redora default 'en'.
internationalize
public void internationalize(@NotNull
Document doc,
@NotNull
String modelName)
throws ModelGenerationException
- Throws:
ModelGenerationException
Copyright © 2012 Nanjing RedOrange Co. ltd. All Rights Reserved.