public class UserInterfaceBinding extends Object implements InterfaceBinding<UserInterface>
UserInterface
into a JSON stream.Constructor and Description |
---|
UserInterfaceBinding() |
Modifier and Type | Method and Description |
---|---|
void |
writeInterface(com.fasterxml.jackson.core.JsonGenerator generator,
UserInterface userInterface)
Encodes the content of a sentry interface into a JSON stream.
|
public void writeInterface(com.fasterxml.jackson.core.JsonGenerator generator, UserInterface userInterface) throws IOException
InterfaceBinding
writeInterface
in interface InterfaceBinding<UserInterface>
generator
- JSON generator allowing to write JSON content.userInterface
- interface to encode.IOException
- thrown in case of failure during the generation of JSON content.Copyright © 2012–2017. All rights reserved.