@Beta public class ChoiceDispatchSerializer extends Object implements TreeNodeSerializerImplementation
| Modifier and Type | Method and Description | 
|---|---|
static ChoiceDispatchSerializer | 
from(Class<? extends Instantiable<?>> choiceClass)
Prepare instance of serializer from choice class. 
 | 
void | 
serialize(TreeNodeSerializerRegistry reg,
         TreeNode obj,
         BindingStreamEventWriter stream)
Writes stream events for supplied tree node to provided stream. 
 | 
public static final ChoiceDispatchSerializer from(Class<? extends Instantiable<?>> choiceClass)
choiceClass - - class choicepublic void serialize(TreeNodeSerializerRegistry reg, TreeNode obj, BindingStreamEventWriter stream) throws IOException
TreeNodeSerializerImplementationserialize in interface TreeNodeSerializerImplementationIOExceptionCopyright © 2018 OpenDaylight. All rights reserved.