|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fudgemsg.FudgeContext
org.fudgemsg.ImmutableFudgeContext
public class ImmutableFudgeContext
Immutable wrapper for a FudgeContext
that will be used for the global
"default", or for use with ImmutableFudgeMsg
. It cannot be configured
after construction.
Field Summary |
---|
Fields inherited from class org.fudgemsg.FudgeContext |
---|
EMPTY_MESSAGE, EMPTY_MESSAGE_ENVELOPE, GLOBAL_DEFAULT |
Constructor Summary | |
---|---|
ImmutableFudgeContext(FudgeContext context)
Creates an immutable version of an existing FudgeContext . |
Method Summary | |
---|---|
void |
setObjectDictionary(FudgeObjectDictionary objectDictionary)
Always throws an exception - this is an immutable context. |
void |
setTaxonomyResolver(TaxonomyResolver taxonomyResolver)
Always throws an exception - this is an immutable context. |
void |
setTypeDictionary(FudgeTypeDictionary typeDictionary)
Always throws an exception - this is an immutable context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImmutableFudgeContext(FudgeContext context)
FudgeContext
. Immutable copies of the type and object dictionaries
are taken from the source context.
context
- the FudgeContext
to base this onMethod Detail |
---|
public void setTaxonomyResolver(TaxonomyResolver taxonomyResolver)
setTaxonomyResolver
in class FudgeContext
taxonomyResolver
- the TaxonomyResolver
to setpublic void setTypeDictionary(FudgeTypeDictionary typeDictionary)
setTypeDictionary
in class FudgeContext
typeDictionary
- the new FudgeTypeDictionary
public void setObjectDictionary(FudgeObjectDictionary objectDictionary)
setObjectDictionary
in class FudgeContext
objectDictionary
- the new FudgeObjectDictionary
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |