Class XStreamUtils


  • public final class XStreamUtils
    extends Object
    • Method Detail

      • writeNode

        public static void writeNode​(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                                     String nodeName,
                                     @Nullable
                                     @Nullable String text)
        Writes a node with the supplied text value.
      • readNextChildNodeValue

        public static org.apache.commons.lang3.tuple.Pair<String,​String> readNextChildNodeValue​(com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
        Returns a name-value pair for a child node.
      • getPath

        @Nullable
        public static @Nullable com.thoughtworks.xstream.io.path.Path getPath​(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
      • createEncryptingXStream

        public static com.thoughtworks.xstream.XStream createEncryptingXStream​(@NotNull
                                                                               @NotNull SecureXStreamFactory secureXStreamFactory,
                                                                               @NotNull
                                                                               @NotNull SecretEncryptionService secretEncryptionService)