public final class Markers
extends java.lang.Object
Constructor and Description |
---|
Markers() |
Modifier and Type | Method and Description |
---|---|
void |
dump()
Dumps the current marker data to the logger.
|
void |
register(java.util.Map<java.lang.String,Marker> marks,
boolean starting,
boolean isfirst,
boolean islast)
Registers a marker with the position traits set.
|
Marker |
resolve(AbstractRetrieveMarker arm)
Retrieves the best candidate marker for the given position.
|
public void register(java.util.Map<java.lang.String,Marker> marks, boolean starting, boolean isfirst, boolean islast)
marks
- a map of markers to registerstarting
- whether the registration happens at the start (true) or end (false) the the areaisfirst
- whether it is the first area of the parent LMislast
- whether it is the last area of the parent LMpublic Marker resolve(AbstractRetrieveMarker arm)
name
- the key used to register the markerpos
- the retrieval scope positionpublic void dump()
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.