Marker interface.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final String | |
| private static final String | |
| private final List | |
| private static final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | contains(Marker other)
Implements org. Does this marker contain a reference to the 'other' marker? |
| public boolean | contains(String name)
Implements org. This method is mainly used with Expression Evaluators. |
| public boolean | equals(Object obj)
Overrides java. Implements org. Markers are considered equal if they have the same name. |
| public String | |
| public boolean | |
| public int | hashCode()
Overrides java. Implements org. Compute the hash code based on the name of this marker. |
| public boolean | |
| public Iterator | iterator()
Implements org. Returns an Iterator which can be used to iterate over the references of this marker. |
| public boolean | |
| public String |
| CLOSE | back to summary |
|---|---|
| private static final String CLOSE | |
| name | back to summary |
|---|---|
| private final String name | |
| OPEN | back to summary |
|---|---|
| private static final String OPEN | |
| referenceList | back to summary |
|---|---|
| private final List<Marker> referenceList | |
| SEP | back to summary |
|---|---|
| private static final String SEP | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| BasicMarker | back to summary |
|---|---|
| pack-priv BasicMarker(String name) | |
| add | back to summary |
|---|---|
| public void add(Marker reference) Implements org. Doc from org. Add a reference to another Marker. Note that the fluent API allows adding multiple markers to a logging statement. It is often preferable to use multiple markers instead of nested markers. | |
| contains | back to summary |
|---|---|
| public boolean contains(Marker other) Implements org. Doc from org. Does this marker contain a reference to the 'other' marker? Marker A is defined to contain marker B, if A == B or if B is referenced by A, or if B is referenced by any one of A's references (recursively). | |
| contains | back to summary |
|---|---|
| public boolean contains(String name) Implements org. This method is mainly used with Expression Evaluators. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Implements org. Doc from org. Markers are considered equal if they have the same name. | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Get the name of this Marker. | |
| hasChildren | back to summary |
|---|---|
| public boolean hasChildren() Implements org. Deprecated
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements org. Doc from org. Compute the hash code based on the name of this marker. Note that markers are considered equal if they have the same name. | |
| hasReferences | back to summary |
|---|---|
| public boolean hasReferences() Implements org. Doc from org. Does this marker have any references? | |
| iterator | back to summary |
|---|---|
| public Iterator Implements org. Doc from org. Returns an Iterator which can be used to iterate over the references of this marker. An empty iterator is returned when this marker has no references. | |
| remove | back to summary |
|---|---|
| public boolean remove(Marker referenceToRemove) Implements org. Doc from org. Remove a marker reference. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |