org.apache.shindig.protocol.conversion.xstream
Interface XStreamConfiguration


public interface XStreamConfiguration

The configuration for the XStream converter, this class encapsulates the lists and maps that define the how xstream converts the model.


Nested Class Summary
static class XStreamConfiguration.ConverterConfig
           
static class XStreamConfiguration.ConverterSet
           
 
Method Summary
 XStreamConfiguration.ConverterConfig getConverterConfig(XStreamConfiguration.ConverterSet c, com.thoughtworks.xstream.converters.reflection.ReflectionProvider rp, com.thoughtworks.xstream.mapper.Mapper dmapper, com.thoughtworks.xstream.io.HierarchicalStreamDriver driver, WriterStack writerStack)
          Generate the converter config.
 Map<String,NamespaceSet> getNameSpaces()
           
 

Method Detail

getConverterConfig

XStreamConfiguration.ConverterConfig getConverterConfig(XStreamConfiguration.ConverterSet c,
                                                        com.thoughtworks.xstream.converters.reflection.ReflectionProvider rp,
                                                        com.thoughtworks.xstream.mapper.Mapper dmapper,
                                                        com.thoughtworks.xstream.io.HierarchicalStreamDriver driver,
                                                        WriterStack writerStack)
Generate the converter config.

Parameters:
c - which converter set.
rp - an XStream reflection provider.
dmapper - the XStream mapper.
driver - the XStream driver
writerStack - a hirachical stack recorder.
Returns:
the converter config, used for serialization.

getNameSpaces

Map<String,NamespaceSet> getNameSpaces()
Returns:
get the namespace mappings used by the driver.


Copyright © 2007-2012. All Rights Reserved.