Constructor and Description |
---|
ContextGenerator(ContextInsertor<T> insert)
Construct with the given insertor.
|
ContextGenerator(String key)
Construct with the given key, which is used to create a
KeyContextInsertor . |
public ContextGenerator(ContextInsertor<T> insert)
insert
- the insertorpublic ContextGenerator(String key)
KeyContextInsertor
.key
- the key to extract (a KeyContextInsertor
is
used)