Package org.codehaus.groovy.control

# Class XStreamUtils

java.lang.Object
org.codehaus.groovy.control.XStreamUtils

public abstract class XStreamUtils extends Object
Serializes AST structures to XML for debugging.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `XStreamUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `serialize(String name, Object ast)`
  Serializes the supplied AST object to an XML file next to the named source.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### XStreamUtils

    public XStreamUtils()

- ## Method Details

  - ### serialize

    public static void serialize(String name, Object ast)
    Serializes the supplied AST object to an XML file next to the named source.
    Parameters:
      `name` - the source name or URI used to derive the XML file name
      `ast` - the AST object to serialize