Package com.attivio.util.serialization
Class MessageListConverter
- java.lang.Object
-
- com.attivio.util.serialization.AbstractConverter
-
- com.attivio.util.serialization.AbstractPlatformMessageConverter
-
- com.attivio.util.serialization.MessageListConverter
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter,com.thoughtworks.xstream.converters.ConverterMatcher
public class MessageListConverter extends AbstractPlatformMessageConverter
XStream serializer forMessageList.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMESSAGE_LISTXStream Element forMessageList-
Fields inherited from class com.attivio.util.serialization.AbstractPlatformMessageConverter
log
-
Fields inherited from class com.attivio.util.serialization.AbstractConverter
mapper, NULL
-
-
Constructor Summary
Constructors Constructor Description MessageListConverter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanConvert(java.lang.Class clazz)static voidmarshal(MessageList messages, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper)voidmarshal(java.lang.Object value, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)static voidmarshalNode(MessageList messages, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper)MessageListunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)static voidunmarshalMessages(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper, MessageList messages)-
Methods inherited from class com.attivio.util.serialization.AbstractPlatformMessageConverter
marshalMessage, unmarshalMessage
-
Methods inherited from class com.attivio.util.serialization.AbstractConverter
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, getAlias, getAlias, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getClass, getClass, getClassName, marshalArray, marshalArray, marshalArray2D, marshalIntArray, marshalIntArray, marshalList, marshalNode, marshalNode, marshalProperties, marshalProperties, readList, readSubObject, readThrowable, setMapper, unmarshalArray, unmarshalArray2D, unmarshalIntArray, unmarshalList, unmarshalNode, unmarshalNode, unmarshalNode, unmarshalNode, unmarshalProperties, unmarshalProperty, unmarshalPropertyName, unmarshalPropertyValue, writeSubObject, writeSubObject, writeThrowable
-
-
-
-
Field Detail
-
MESSAGE_LIST
public static final java.lang.String MESSAGE_LIST
XStream Element forMessageList- See Also:
- Constant Field Values
-
-
Method Detail
-
canConvert
public boolean canConvert(java.lang.Class clazz)
-
marshal
public void marshal(java.lang.Object value, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
-
unmarshal
public MessageList unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
-
marshalNode
public static void marshalNode(MessageList messages, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper)
-
marshal
public static void marshal(MessageList messages, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper)
-
unmarshalMessages
public static void unmarshalMessages(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper, MessageList messages)
-
-