public class StaticMarkerBinder extends java.lang.Object implements MarkerFactoryBinder
MarkerFactory
class with an actual instance of
IMarkerFactory
is performed using information returned by this class.Modifier and Type | Field and Description |
---|---|
(package private) IMarkerFactory |
markerFactory |
static StaticMarkerBinder |
SINGLETON
The unique instance of this class.
|
Modifier | Constructor and Description |
---|---|
private |
StaticMarkerBinder() |
Modifier and Type | Method and Description |
---|---|
IMarkerFactory |
getMarkerFactory()
Currently this method always returns an instance of
BasicMarkerFactory . |
java.lang.String |
getMarkerFactoryClassStr()
Currently, this method returns the class name of
BasicMarkerFactory . |
static StaticMarkerBinder |
getSingleton()
Return the singleton of this class.
|
public static final StaticMarkerBinder SINGLETON
final IMarkerFactory markerFactory
public static StaticMarkerBinder getSingleton()
public IMarkerFactory getMarkerFactory()
BasicMarkerFactory
.getMarkerFactory
in interface MarkerFactoryBinder
IMarkerFactory
that
MarkerFactory
class should bind to.public java.lang.String getMarkerFactoryClassStr()
BasicMarkerFactory
.getMarkerFactoryClassStr
in interface MarkerFactoryBinder
IMarkerFactory
instance