org.xmlmatchers.transform
Class StringSource
java.lang.Object
javax.xml.transform.dom.DOMSource
org.xmlmatchers.transform.StringSource
- All Implemented Interfaces:
- Source
public class StringSource
- extends DOMSource
A convenience class for creating Source objects from a String.
- Author:
- David Ehringer
- See Also:
DOMSource
toSource
public static DOMSource toSource(String xml)
throws RuntimeException
- Throws:
RuntimeException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010-2011. All Rights Reserved.