public class Marker extends Object
Constructor and Description |
---|
Marker(String name,
String value)
Create a new Marker with the given name and value.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name of this Marker.
|
String |
getValue()
Get the value of this Marker
|
public Marker(String name, String value)
Create a new Marker with the given name and value.
Marker names are used when finding references for e.g. headers and footers and are generally not unique. Instead, think of marker names as "type" or "class".
name
- the name of the Markervalue
- the Marker value