public final class ConverterContext extends Object
ThreadLocal settings for XStream converters.
It is necessary because XStream doesn't pass it's own context into some converters.| Modifier and Type | Method and Description |
|---|---|
static ConverterContext |
get()
Returns
ConverterContext instance. |
boolean |
isUIResource()
Returns whether or not converter should read it's value as
UIResource. |
void |
setUIResource(boolean uiResource)
Sets whether or not converter should read it's value as
UIResource. |
public static ConverterContext get()
ConverterContext instance.ConverterContext instancepublic boolean isUIResource()
UIResource.true if converter should read it's value as UIResource, false otherwisepublic void setUIResource(boolean uiResource)
UIResource.uiResource - whether or not converter should read it's value as UIResourceCopyright © 2020. All rights reserved.