org.xwiki.logging
Class TranslationMarker
java.lang.Object
org.xwiki.logging.TranslationMarker
- All Implemented Interfaces:
- Serializable, org.slf4j.Marker
public class TranslationMarker
- extends Object
- implements org.slf4j.Marker
Allows associating a translation key to a log.
- Since:
- 5.0M2
- Version:
- $Id: bda6ded54cf0eb657f2e316df15f2c27938420e8 $
- See Also:
- Serialized Form
| Fields inherited from interface org.slf4j.Marker |
ANY_MARKER, ANY_NON_NULL_MARKER |
TranslationMarker
public TranslationMarker(String translationKey)
- Parameters:
translationKey - the translation key to associate to the log
getTranslationKey
public String getTranslationKey()
- Returns:
- the translation key associate to the log
getName
public String getName()
- Specified by:
getName in interface org.slf4j.Marker
add
public void add(org.slf4j.Marker reference)
- Specified by:
add in interface org.slf4j.Marker
remove
public boolean remove(org.slf4j.Marker reference)
- Specified by:
remove in interface org.slf4j.Marker
hasChildren
public boolean hasChildren()
- Specified by:
hasChildren in interface org.slf4j.Marker
hasReferences
public boolean hasReferences()
- Specified by:
hasReferences in interface org.slf4j.Marker
iterator
public Iterator iterator()
- Specified by:
iterator in interface org.slf4j.Marker
contains
public boolean contains(org.slf4j.Marker other)
- Specified by:
contains in interface org.slf4j.Marker
contains
public boolean contains(String name)
- Specified by:
contains in interface org.slf4j.Marker
hashCode
public int hashCode()
- Specified by:
hashCode in interface org.slf4j.Marker- Overrides:
hashCode in class Object
equals
public boolean equals(Object other)
- Specified by:
equals in interface org.slf4j.Marker- Overrides:
equals in class Object
Copyright © 2004-2013 XWiki. All Rights Reserved.