static OwnerContext find(MarshallingContext context) { OwnerContext c = (OwnerContext) context.get(OwnerContext.class); if (c == null) { c = new OwnerContext(); context.put(OwnerContext.class, c); } return c; } private void startVisiting(HierarchicalStreamWriter writer, String owner) {
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { if (context.get(IN_NESTED)==null) { context.put(IN_NESTED,true); try { super.marshal(source,writer,context); } finally { context.put(IN_NESTED,false); } } else leafLabelConverter.marshal(source,writer,context); }
Object source, HierarchicalStreamWriter writer, MarshallingContext context) { Set<String> encryptionFields = (Set<String>) context.get(ENCRYPTED_FIELDS_KEY); if (encryptionFields == null) { encryptionFields = Collections.emptySet();
static String getCurrentPropertyName(MarshallingContext context) { return (String) context.get(XStreamBeanConverter.class); } }
@Override public Object get(Object key) { return _marshallingContext.get(key); }
static OwnerContext find(MarshallingContext context) { OwnerContext c = (OwnerContext) context.get(OwnerContext.class); if (c == null) { c = new OwnerContext(); context.put(OwnerContext.class, c); } return c; } private void startVisiting(HierarchicalStreamWriter writer, String owner) {
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { if (context.get(IN_NESTED) == null) { context.put(IN_NESTED, true); try { super.marshal(source, writer, context); } finally { context.put(IN_NESTED, false); } } else { leafLabelConverter.marshal(source, writer, context); } }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { if (context.get(IN_NESTED)==null) { context.put(IN_NESTED,true); try { super.marshal(source,writer,context); } finally { context.put(IN_NESTED,false); } } else leafLabelConverter.marshal(source,writer,context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { if (context.get(IN_NESTED)==null) { context.put(IN_NESTED,true); try { super.marshal(source,writer,context); } finally { context.put(IN_NESTED,false); } } else leafLabelConverter.marshal(source,writer,context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { if (context.get(IN_NESTED)==null) { context.put(IN_NESTED,true); try { super.marshal(source,writer,context); } finally { context.put(IN_NESTED,false); } } else leafLabelConverter.marshal(source,writer,context); }
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { if (context.get(IN_NESTED)==null) { context.put(IN_NESTED,true); try { super.marshal(source,writer,context); } finally { context.put(IN_NESTED,false); } } else leafLabelConverter.marshal(source,writer,context); }
writer.addAttribute(ATT_ALL_THRDS, String.valueOf(res.getAllThreads())); SampleEvent event = (SampleEvent) context.get(SaveService.SAMPLE_EVENT_OBJECT); if (event != null) { if (save.saveHostname()){