|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slf4j.helpers.BasicMarker
public class BasicMarker
A simple implementation of the Marker interface.
| Field Summary |
|---|
| Fields inherited from interface org.slf4j.Marker |
|---|
ANY_MARKER, ANY_NON_NULL_MARKER |
| Method Summary | |
|---|---|
void |
add(Marker reference)
Add a reference to another Marker. |
boolean |
contains(Marker other)
Does this marker contain a reference to the 'other' marker? |
boolean |
contains(String name)
This method is mainly used with Expression Evaluators. |
boolean |
equals(Object obj)
Markers are considered equal if they have the same name. |
String |
getName()
Get the name of this Marker. |
boolean |
hasChildren()
|
int |
hashCode()
Compute the hash code based on the name of this marker. |
boolean |
hasReferences()
Does this marker have any references? |
Iterator<Marker> |
iterator()
Returns an Iterator which can be used to iterate over the references of this marker. |
boolean |
remove(Marker referenceToRemove)
Remove a marker reference. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getName()
Marker
getName in interface Markerpublic void add(Marker reference)
Marker
add in interface Markerreference - a reference to another markerpublic boolean hasReferences()
Marker
hasReferences in interface Markerpublic boolean hasChildren()
hasChildren in interface Markerpublic Iterator<Marker> iterator()
Marker
iterator in interface Markerpublic boolean remove(Marker referenceToRemove)
Marker
remove in interface MarkerreferenceToRemove - the marker reference to remove
public boolean contains(Marker other)
Marker
contains in interface Markerother - The marker to test for inclusion.
public boolean contains(String name)
contains in interface Markername - The marker name to test for inclusion.
public boolean equals(Object obj)
Marker
equals in interface Markerequals in class Objectpublic int hashCode()
Marker
hashCode in interface MarkerhashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||