@NotThreadSafe
public final class StreamedMessagesConverter
extends Object
Constructor and Description |
---|
StreamedMessagesConverter() |
Modifier and Type | Method and Description |
---|---|
Optional<Serializable> |
fromXMLChars(char[] xml)
Converts from XML characters.
|
Optional<Serializable> |
fromXMLString(String xml)
Converts from a XML string.
|
boolean |
setUp(Optional<KeyedGroups> configProperties,
Optional<KeyedValues> moduleProperties)
Sets up this.
|
void |
tearDown()
Tears down what has been set up.
|
char[] |
toXMLChars(Serializable message)
Converts to XML characters.
|
String |
toXMLString(Serializable message)
Converts to a XML string.
|
@CheckReturnValue public Optional<Serializable> fromXMLChars(@Nonnull char[] xml)
xml
- The XML characters.@Nonnull @CheckReturnValue public Optional<Serializable> fromXMLString(@Nonnull String xml)
xml
- The XML string.public void tearDown()
@Nullable @CheckReturnValue public char[] toXMLChars(@Nonnull Serializable message)
message
- The message.@Nullable @CheckReturnValue public String toXMLString(@Nonnull Serializable message)
message
- The message.@CheckReturnValue public boolean setUp(@Nonnull Optional<KeyedGroups> configProperties, @Nonnull Optional<KeyedValues> moduleProperties)
configProperties
- The optional configuration properties.moduleProperties
- The optional module properties.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.