Package overit.geocall.lang
Class NullTeacher
java.lang.Object
overit.geocall.lang.Teacher
overit.geocall.lang.NullTeacher
This class implements a
Teacher that does not make translations-
Field Summary
Fields inherited from class overit.geocall.lang.Teacher
_duty, AVOID, TRY, TRY_OUTPUT -
Constructor Summary
ConstructorsConstructorDescriptionNullTeacher(String name) Deprecated.use teacher.getTeacher instead of explicit instantiationCreates a NullTeacher -
Method Summary
Modifier and TypeMethodDescriptionReturns the string passed as parameter without translationsconvertLabel(String source) Returns the label string passed as parameter without translationsconvertName(String name) Returnsnullvoidreset()Does nothing, there is nothing to resetMethods inherited from class overit.geocall.lang.Teacher
adjust, adjustLabel, getDuty, getTeacher, getTeacher, getTeacher, getTeacher, getTeacher, getTeacher, getType4Legacy, isMarked, mark, translate, translateContent, translateContent, translateContent, translateContent, translateContent, translateLabel, translateName, translateName, translateName, translateName
-
Constructor Details
-
NullTeacher
Creates a NullTeacher- Parameters:
td- TheTeacherDutyused to create the NullTeacher
-
NullTeacher
Deprecated.use teacher.getTeacher instead of explicit instantiation- Parameters:
name- use teacher.getTeacher instead of explicit instantiation
-
-
Method Details
-
convert
Returns the string passed as parameter without translations -
convertLabel
Returns the label string passed as parameter without translations- Specified by:
convertLabelin classTeacher- Parameters:
source- the string to convert- Returns:
- The source string as is
-
convertName
Returnsnull- Specified by:
convertNamein classTeacher- Parameters:
name- The name of a field- Returns:
null
-
reset
public void reset()Does nothing, there is nothing to reset
-