Package org.apache.synapse.mediators.bsf.utils

# Class ScriptUtils

java.lang.Object
org.apache.synapse.mediators.bsf.utils.ScriptUtils

public class ScriptUtils extends Object
This class contains secure utility methods to handle XML payloads for the script mediator.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ScriptUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Document`
  `parseXml(String text)`

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

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

- ## Constructor Details

  - ### ScriptUtils

    public ScriptUtils()

- ## Method Details

  - ### parseXml

    public static Document parseXml(String text) throws IOException, SAXException
    Throws:
      `IOException`
      `SAXException`