public class BasicMarker extends Object implements Marker
Marker
interface.ANY_MARKER, ANY_NON_NULL_MARKER
Modifier and Type | Method and Description |
---|---|
void |
add(Marker reference)
Add a reference to another Marker.
|
boolean |
contains(Marker other)
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).
|
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 |
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() |
public String getName()
Marker
public void add(Marker reference)
Marker
public boolean hasReferences()
Marker
hasReferences
in interface Marker
public boolean hasChildren()
hasChildren
in interface Marker
public Iterator iterator()
Marker
public boolean remove(Marker referenceToRemove)
Marker
public boolean contains(Marker other)
Marker
public boolean contains(String name)
public boolean equals(Object obj)
Marker
public int hashCode()
Marker
Copyright © 2018 JBoss by Red Hat. All rights reserved.