Interface MarshallingContext

All Superinterfaces:
DataHolder
All Known Subinterfaces:
ReferencingMarshallingContext
All Known Implementing Classes:
AbstractReferenceMarshaller, ReferenceByIdMarshaller, ReferenceByXPathMarshaller, TreeMarshaller

public interface MarshallingContext extends DataHolder
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Converts another object searching for the default converter
    void
    convertAnother(Object nextItem, Converter converter)
    Converts another object using the specified converter

    Methods inherited from interface com.thoughtworks.xstream.converters.DataHolder

    get, keys, put
  • Method Details

    • convertAnother

      void convertAnother(Object nextItem)
      Converts another object searching for the default converter
      Parameters:
      nextItem - the next item to convert
    • convertAnother

      void convertAnother(Object nextItem, Converter converter)
      Converts another object using the specified converter
      Parameters:
      nextItem - the next item to convert
      converter - the Converter to use
      Since:
      1.2