01: /*
02: * Copyright (C) 2004 Joe Walnes.
03: * Copyright (C) 2006, 2007 XStream Committers.
04: * All rights reserved.
05: *
06: * The software in this package is published under the terms of the BSD
07: * style license a copy of which has been included with this distribution in
08: * the LICENSE.txt file.
09: *
10: * Created on 06. March 2004 by Joe Walnes
11: */
12: package com.thoughtworks.xstream.converters;
13:
14: public interface MarshallingContext extends DataHolder {
15:
16: /**
17: * Converts another object searching for the default converter
18: * @param nextItem the next item to convert
19: */
20: void convertAnother(Object nextItem);
21:
22: /**
23: * Converts another object using the specified converter
24: * @param nextItem the next item to convert
25: * @param converter the Converter to use
26: * @since 1.2
27: */
28: void convertAnother(Object nextItem, Converter converter);
29:
30: }
|