Package org.forgerock.i18n.slf4j
Class LocalizedMarker
java.lang.Object
org.forgerock.i18n.slf4j.LocalizedMarker
- All Implemented Interfaces:
Serializable
,Marker
An implementation of SLF4J marker that contains a
LocalizableMessage
and does not allow to manage references to other markers.- See Also:
-
Field Summary
Fields inherited from interface org.slf4j.Marker
ANY_MARKER, ANY_NON_NULL_MARKER
-
Constructor Summary
ConstructorDescriptionLocalizedMarker
(LocalizableMessage message) Create a marker with provided localizable message. -
Method Summary
-
Constructor Details
-
LocalizedMarker
Create a marker with provided localizable message.Name of the marker is the resource name provided by the message.
- Parameters:
message
- Message embedded into this marker.
-
-
Method Details
-
getMessage
Returns the message embedded into this marker.- Returns:
- the localizable message.
-
getName
-
add
-
remove
-
hasChildren
public boolean hasChildren()- Specified by:
hasChildren
in interfaceMarker
-
hasReferences
public boolean hasReferences()- Specified by:
hasReferences
in interfaceMarker
-
iterator
-
contains
-
contains
-