public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedSet sortedSet = (SortedSet) source; treeMapConverter.marshalComparator(sortedSet.comparator(), writer, context); super.marshal(source, writer, context); }
public void marshal( Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedSet sortedSet = (SortedSet) source; TreeMapConverter.marshalComparator(mapper(), sortedSet.comparator(), writer, context); super.marshal(source, writer, context); }
@Override public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { PersistentSet ps = (PersistentSet) source; super.marshal(new HashSet(ps), writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { source = new ArrayList((PersistentBag)source); super.marshal(source, writer, context); }
@Override public void marshal(final Object source, final HierarchicalStreamWriter writer, final MarshallingContext context) { final SortedSet<?> sortedSet = (SortedSet<?>)source; treeMapConverter.marshalComparator(sortedSet.comparator(), writer, context); super.marshal(source, writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedSet sortedSet = (SortedSet) source; treeMapConverter.marshalComparator(sortedSet.comparator(), writer, context); super.marshal(source, writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedSet sortedSet = (SortedSet) source; treeMapConverter.marshalComparator(sortedSet.comparator(), writer, context); super.marshal(source, writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedSet sortedSet = (SortedSet) source; treeMapConverter.marshalComparator(sortedSet.comparator(), writer, context); super.marshal(source, writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedSet sortedSet = (SortedSet) source; treeMapConverter.marshalComparator(sortedSet.comparator(), writer, context); super.marshal(source, writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedSet sortedSet = (SortedSet) source; treeMapConverter.marshalComparator(sortedSet.comparator(), writer, context); super.marshal(source, writer, context); }
public void marshal( Object source, HierarchicalStreamWriter writer, MarshallingContext context) { SortedSet sortedSet = (SortedSet) source; TreeMapConverter.marshalComparator(mapper(), sortedSet.comparator(), writer, context); super.marshal(source, writer, context); }
@Override public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { ComponentList list = (ComponentList) source; writer.addAttribute("id", list.getFragmentId()); super.marshal(list, writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { TreeSet treeSet = (TreeSet) source; Comparator comparator = treeSet.comparator(); if (comparator == null) { writer.startNode("no-comparator"); writer.endNode(); } else { writer.startNode("comparator"); writer.addAttribute("class", mapper().serializedClass(comparator.getClass())); context.convertAnother(comparator); writer.endNode(); } super.marshal(source, writer, context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { TreeSet treeSet = (TreeSet) source; Comparator comparator = treeSet.comparator(); if (comparator == null) { writer.startNode("no-comparator"); writer.endNode(); } else { writer.startNode("comparator"); writer.addAttribute("class", mapper().serializedClass(comparator.getClass())); context.convertAnother(comparator); writer.endNode(); } super.marshal(source, writer, context); }