public class SimpleTreeStrategy extends TreeStrategy
| Constructor and Description |
|---|
SimpleTreeStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
write(Type type,
Object value,
NodeMap node,
Map map)
This is used to attach a attribute to the provided element
that is used to identify the class.
|
readpublic boolean write(Type type, Object value, NodeMap node, Map map)
TreeStrategywrite in interface Strategywrite in class TreeStrategytype - this is the declared class for the field usedvalue - this is the instance variable being serializednode - this is the element used to represent the valuemap - this is used to maintain contextual informationCopyright © 2022 Alibaba Cloud Computing. All rights reserved.