Interface XStreamFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      @NotNull com.thoughtworks.xstream.XStream createCompactXStream()
      Create XStream backed by given classLoader and driver.
      @NotNull com.thoughtworks.xstream.XStream createXStream()
      Create default instance of XStream.
      @NotNull com.thoughtworks.xstream.XStream createXStream​(@Nullable ClassLoader classLoader)
      Create XStream backed by given classLoader.
    • Method Detail

      • createXStream

        @NotNull
        @NotNull com.thoughtworks.xstream.XStream createXStream()
        Create default instance of XStream.
        Returns:
        new XStream instance
      • createXStream

        @NotNull
        @NotNull com.thoughtworks.xstream.XStream createXStream​(@Nullable
                                                                @Nullable ClassLoader classLoader)
        Create XStream backed by given classLoader.
        Parameters:
        classLoader - class loader to use by the created XStream, if null, the default classloader will be used
        Returns:
        new XStream instance
      • createCompactXStream

        @NotNull
        @NotNull com.thoughtworks.xstream.XStream createCompactXStream()
        Create XStream backed by given classLoader and driver.
        Returns:
        new XStream instance
        See Also:
        HierarchicalStreamDriver