|
SLF4J 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.slf4j.impl.BasicMarker
An almost trivial implementation of the Marker
interface.
BasicMarker
lets users specify marker
information. However, it does not offer any useful operations on
that information.
Simple logging systems which ignore marker data, just return instances of this class in order to conform to the SLF4J API.
Field Summary |
Fields inherited from interface org.slf4j.Marker |
ANY_MARKER, ANY_NON_NULL_MARKER |
Method Summary | |
void |
add(Marker child)
Add a child Marker to this Marker. |
boolean |
contains(Marker other)
Does this marker contain the 'other' marker? |
boolean |
contains(java.lang.String name)
Does this marker contain the marker named 'name'? |
java.lang.String |
getName()
Get the name of this Marker. |
boolean |
hasChildren()
Does this marker have children? |
java.util.Iterator |
iterator()
Returns an Iterator which can be used to iterate over the children of this marker. |
boolean |
remove(Marker markerToRemove)
Remove a child Marker. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getName()
Marker
getName
in interface Marker
public void add(Marker child)
Marker
add
in interface Marker
child
- a child markerpublic boolean hasChildren()
Marker
hasChildren
in interface Marker
public java.util.Iterator iterator()
Marker
iterator
in interface Marker
public boolean remove(Marker markerToRemove)
Marker
remove
in interface Marker
markerToRemove
- the child Marker to remove
public boolean contains(Marker other)
Marker
contains
in interface Marker
other
- The marker to test for inclusion.
public boolean contains(java.lang.String name)
Marker
contains
in interface Marker
|
Copyright 2004-2006 SLF4J.ORG, QOS.ch | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |