@Override public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { super.marshal(((Hash)source).core,writer,context); } }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedMap sortedMap = (SortedMap) source; marshalComparator(sortedMap.comparator(), writer, context); super.marshal(source, writer, context); }
@Override public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { MetaData metaData = (MetaData) source; if (!metaData.isEmpty()) { super.marshal(new HashMap<>(metaData), writer, context); } }
public void marshal( Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedMap sortedMap = (SortedMap) source; marshalComparator(mapper(), sortedMap.comparator(), writer, context); super.marshal(source, writer, context); }
@Override public void marshal( Object source, HierarchicalStreamWriter writer, MarshallingContext context) { writer.startNode("map"); super.marshal(source, writer, context); writer.endNode(); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { Class type = (Class) Fields.read(typeField, source); String attributeName = mapper().aliasForSystemAttribute("enum-type"); if (attributeName != null) { writer.addAttribute(attributeName, mapper().serializedClass(type)); } super.marshal(source, writer, context); }
@Override public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { super.marshal(((Hash)source).core,writer,context); } }
@Override public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { super.marshal(((Hash)source).core,writer,context); } }
@Override public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { super.marshal(((Hash) source).core, writer, context); } }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedMap sortedMap = (SortedMap) source; marshalComparator(sortedMap.comparator(), writer, context); super.marshal(source, writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedMap sortedMap = (SortedMap) source; marshalComparator(sortedMap.comparator(), writer, context); super.marshal(source, writer, context); }
@Override public void marshal(final Object source, final HierarchicalStreamWriter writer, final MarshallingContext context) { final SortedMap<?, ?> sortedMap = (SortedMap<?, ?>)source; marshalComparator(sortedMap.comparator(), writer, context); super.marshal(source, writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedMap sortedMap = (SortedMap) source; marshalComparator(sortedMap.comparator(), writer, context); super.marshal(source, writer, context); }
@Override public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { MetaData metaData = (MetaData) source; if (!metaData.isEmpty()) { super.marshal(new HashMap<>(metaData), writer, context); } }
public void marshal( Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedMap sortedMap = (SortedMap) source; marshalComparator(mapper(), sortedMap.comparator(), writer, context); super.marshal(source, writer, context); }
@Override public void marshal(final Object source, final HierarchicalStreamWriter writer, final MarshallingContext context) { final Class<?> type = (Class<?>)Fields.read(typeField, source); final String attributeName = mapper().aliasForSystemAttribute("enum-type"); if (attributeName != null) { writer.addAttribute(attributeName, mapper().serializedClass(type)); } super.marshal(source, writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { Class type = (Class) Fields.read(typeField, source); String attributeName = mapper().aliasForSystemAttribute("enum-type"); if (attributeName != null) { writer.addAttribute(attributeName, mapper().serializedClass(type)); } super.marshal(source, writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { Class type = (Class) Fields.read(typeField, source); String attributeName = mapper().aliasForSystemAttribute("enum-type"); if (attributeName != null) { writer.addAttribute(attributeName, mapper().serializedClass(type)); } super.marshal(source, writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { Class type = (Class) Fields.read(typeField, source); String attributeName = mapper().aliasForSystemAttribute("enum-type"); if (attributeName != null) { writer.addAttribute(attributeName, mapper().serializedClass(type)); } super.marshal(source, writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { Class type = (Class) Fields.read(typeField, source); String attributeName = mapper().aliasForSystemAttribute("enum-type"); if (attributeName != null) { writer.addAttribute(attributeName, mapper().serializedClass(type)); } super.marshal(source, writer, context); }