WorkerContextImpl
public interface WorkerContext
Modifier and Type | Method | Description |
---|---|---|
CustomContext |
get(java.lang.String key) |
|
Tag |
getCurrentTag() |
|
void |
put(java.lang.String contextKey,
CustomContext context) |
Store a customContext for the given key.
|
void |
setCurrentTag(Tag t) |
Contains the current tag.
|
CustomContext get(java.lang.String key) throws NoCustomContextException
key
- the key to find the custom context for. (internally
itextpdf.com uses the pipelines fully qualified klassName, so
when you want to use our pipelines twice in the same 'line'
you have to override it to change the key used)NoCustomContextException
- if no CustomContext is found.void put(java.lang.String contextKey, CustomContext context)
contextKey
- the key to find the given CustomContext with.context
- the CustomContext to set for the given keyvoid setCurrentTag(Tag t)
t
- the TagTag getCurrentTag()
Copyright © 1998–2018. All rights reserved.