Interface PrintWriter

All Superinterfaces:
com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriter, com.thoughtworks.xstream.io.HierarchicalStreamWriter
All Known Implementing Classes:
EscapingPrintWriter

public interface PrintWriter extends com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriter
PrintWriter writes String values to a Stream for XML output.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get string representation of PrintWriter.
    void
    Write text without any escaping.

    Methods inherited from interface com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriter

    startNode

    Methods inherited from interface com.thoughtworks.xstream.io.HierarchicalStreamWriter

    addAttribute, close, endNode, flush, setValue, startNode, underlyingWriter
  • Method Details

    • setRawValue

      void setRawValue(String text)
      Write text without any escaping.
      Parameters:
      text - the string to this printwriter should write.
    • makeString

      String makeString()
      Get string representation of PrintWriter.
      Returns:
      String the string representation of this PrintWriter.