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()
Markerpublic void add(Marker reference)
Markerpublic boolean hasReferences()
MarkerhasReferences in interface Markerpublic boolean hasChildren()
hasChildren in interface Markerpublic Iterator iterator()
Markerpublic boolean remove(Marker referenceToRemove)
Markerpublic boolean contains(Marker other)
Markerpublic boolean contains(String name)
public boolean equals(Object obj)
Markerpublic int hashCode()
MarkerCopyright © 2018 JBoss by Red Hat. All rights reserved.