public class LocalizedMarker extends Object implements Marker
LocalizableMessage
and does not allow to manage references to other markers.ANY_MARKER, ANY_NON_NULL_MARKER
Constructor and Description |
---|
LocalizedMarker(LocalizableMessage message)
Create a marker with provided localizable message.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Marker reference) |
boolean |
contains(Marker other) |
boolean |
contains(String name) |
LocalizableMessage |
getMessage()
Returns the message embedded into this marker.
|
String |
getName() |
boolean |
hasChildren() |
boolean |
hasReferences() |
Iterator<?> |
iterator() |
boolean |
remove(Marker reference) |
public LocalizedMarker(LocalizableMessage message)
Name of the marker is the resource name provided by the message.
message
- Message embedded into this marker.public LocalizableMessage getMessage()
public boolean hasChildren()
hasChildren
in interface Marker
public boolean hasReferences()
hasReferences
in interface Marker
Copyright 2010-2022 ForgeRock AS.