public class LongTranslator extends java.lang.Object implements Translator
| Constructor and Description |
|---|
LongTranslator() |
LongTranslator(java.lang.String initializer)
Initializers:
default: default value for empty or invalid input
min: minimum acceptible value
max: maximum acceptible value
|
public LongTranslator()
public LongTranslator(java.lang.String initializer)
public java.lang.Object translate(Module contributingModule, java.lang.Class propertyType, java.lang.String inputValue, Location location)
translate in interface TranslatorcontributingModule - the module from which the input value originatespropertyType - the type of the property to be assigned by this translator; smart translators may
be able to automatically convert from string to the correct typeinputValue - the value to be translated, either an attribute value or the content of the elementlocation - the location of the inputValue; used to set the location of created objects,
or when reporting errors