public class SerializationContext extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
contextObjects |
protected int |
currentDepth |
static String |
ROOT_OBJ |
protected Object |
rootObject |
Constructor and Description |
---|
SerializationContext(Object rootObject,
String rootObjectBeanId) |
Modifier and Type | Method and Description |
---|---|
void |
addObject(String name,
Object contextObject) |
void |
decDepth() |
int |
getCurrentDepth() |
Object |
getValue(Getter getter) |
Object |
getValue(String contextObjectName,
Getter getter) |
void |
incDepth() |
Object |
removeObject(String name) |
Copyright © 2024. All rights reserved.