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()
Marker
public void add(Marker reference)
Marker
public boolean hasReferences()
Marker
hasReferences
in interface Marker
public boolean hasChildren()
hasChildren
in interface Marker
public java.util.Iterator<Marker> iterator()
Marker
public boolean remove(Marker referenceToRemove)
Marker
public boolean contains(Marker other)
Marker
public boolean contains(java.lang.String name)
public boolean equals(java.lang.Object obj)
Marker
public int hashCode()
Marker
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved