Package org.forgerock.i18n.slf4j
Class LocalizedMarker
- java.lang.Object
 - 
- org.forgerock.i18n.slf4j.LocalizedMarker
 
 
- 
- All Implemented Interfaces:
 Serializable,org.slf4j.Marker
public final class LocalizedMarker extends Object implements org.slf4j.Marker
An implementation of SLF4J marker that contains aLocalizableMessageand does not allow to manage references to other markers.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description LocalizedMarker(LocalizableMessage message)Create a marker with provided localizable message. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(org.slf4j.Marker reference)booleancontains(String name)booleancontains(org.slf4j.Marker other)LocalizableMessagegetMessage()Returns the message embedded into this marker.StringgetName()booleanhasChildren()booleanhasReferences()Iterator<org.slf4j.Marker>iterator()booleanremove(org.slf4j.Marker reference) 
 - 
 
- 
- 
Constructor Detail
- 
LocalizedMarker
public LocalizedMarker(LocalizableMessage message)
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 Detail
- 
getMessage
public LocalizableMessage getMessage()
Returns the message embedded into this marker.- Returns:
 - the localizable message.
 
 
- 
getName
public String getName()
- Specified by:
 getNamein interfaceorg.slf4j.Marker
 
- 
add
public void add(org.slf4j.Marker reference)
- Specified by:
 addin interfaceorg.slf4j.Marker
 
- 
remove
public boolean remove(org.slf4j.Marker reference)
- Specified by:
 removein interfaceorg.slf4j.Marker
 
- 
hasChildren
public boolean hasChildren()
- Specified by:
 hasChildrenin interfaceorg.slf4j.Marker
 
- 
hasReferences
public boolean hasReferences()
- Specified by:
 hasReferencesin interfaceorg.slf4j.Marker
 
- 
iterator
public Iterator<org.slf4j.Marker> iterator()
- Specified by:
 iteratorin interfaceorg.slf4j.Marker
 
- 
contains
public boolean contains(org.slf4j.Marker other)
- Specified by:
 containsin interfaceorg.slf4j.Marker
 
- 
contains
public boolean contains(String name)
- Specified by:
 containsin interfaceorg.slf4j.Marker
 
 - 
 
 -