public class BasicMarker extends java.lang.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(java.lang.String name)
This method is mainly used with Expression Evaluators.
|
boolean |
equals(java.lang.Object obj)
Markers are considered equal if they have the same name.
|
java.lang.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?
|
java.util.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.
|
java.lang.String |
toString() |
public java.lang.String getName()
Markerpublic void add(Marker reference)
Markerpublic boolean hasReferences()
MarkerhasReferences in interface Markerpublic boolean hasChildren()
hasChildren in interface Markerpublic java.util.Iterator<Marker> iterator()
Markerpublic boolean remove(Marker referenceToRemove)
Markerpublic boolean contains(Marker other)
Markerpublic boolean contains(java.lang.String name)
public boolean equals(java.lang.Object obj)
Markerpublic int hashCode()
Markerpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved