Package: org.codehaus.groovy.control

## [Java] Class XStreamUtils

- org.codehaus.groovy.control.XStreamUtils

-     public abstract class XStreamUtils
      extends Object

  Serializes AST structures to XML for debugging.

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public static void` | `serialize(String name, Object ast)` Serializes the supplied AST object to an XML file next to the named source.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### 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