Package org.forgerock.i18n.slf4j
Class LocalizedMarker
java.lang.Object
org.forgerock.i18n.slf4j.LocalizedMarker
- All Implemented Interfaces:
Serializable,org.slf4j.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
ConstructorsConstructorDescriptionLocalizedMarker(org.forgerock.i18n.LocalizableMessage message) Create a marker with provided localizable message. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(org.slf4j.Marker reference) booleanbooleancontains(org.slf4j.Marker other) org.forgerock.i18n.LocalizableMessageReturns the message embedded into this marker.getName()booleanbooleanIterator<org.slf4j.Marker>iterator()booleanremove(org.slf4j.Marker reference) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.slf4j.Marker
equals, hashCode
-
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
- Specified by:
getNamein interfaceorg.slf4j.Marker
-
add
- Specified by:
addin interfaceorg.slf4j.Marker
-
remove
- Specified by:
removein interfaceorg.slf4j.Marker
-
hasChildren
- Specified by:
hasChildrenin interfaceorg.slf4j.Marker
-
hasReferences
- Specified by:
hasReferencesin interfaceorg.slf4j.Marker
-
iterator
- Specified by:
iteratorin interfaceorg.slf4j.Marker
-
contains
- Specified by:
containsin interfaceorg.slf4j.Marker
-
contains
- Specified by:
containsin interfaceorg.slf4j.Marker
-