public static class BOT.BOClassesPathCompiler extends java.lang.Object implements L10nPathCompilerI
EMPTY_ARRAY
Constructor and Description |
---|
BOClassesPathCompiler() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
compileParticipantToPathElements(java.lang.Object participant)
Compiles the path elements to use for a participant within the localization (L10n) lookup.
|
boolean |
isValidParticipant(java.lang.Object participant)
Checks if the given participant is a valid input for this path compiler.
|
void |
registerAllClasses(SchemaI schema)
Registers all BO classes and their related classes in the schema.
|
public void registerAllClasses(SchemaI schema)
schema
- The schema containing the entities.public boolean isValidParticipant(java.lang.Object participant)
L10nPathCompilerI
isValidParticipant
in interface L10nPathCompilerI
participant
- The Object
to validate.true
if the participant is valid, false
otherwise.public java.lang.Object[] compileParticipantToPathElements(java.lang.Object participant)
This method transforms a participant Object
into an array of path elements, which are
used to determine the lookup path for L10n resources. The returned elements should not contain
strings, as string processing occurs at the end of the lookup process in
L10n#addStringParticipant
. The order of elements in the returned array is significant
for localization lookup precedence.
compileParticipantToPathElements
in interface L10nPathCompilerI
participant
- The participant Object
to compile.Object
s (typically Class
objects) representing the path elements.
This array is used by the L10n system to search for localized resources.Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.