org.base.apps.xml.pool
Class XmlUtil
java.lang.Object
org.base.apps.xml.pool.XmlUtil
public class XmlUtil
- extends Object
Utilities for XML-related activities.
- Author:
- Kevan Simpson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
convertSourceToXml
public static String convertSourceToXml(Source source)
throws TransformerException
- Converts the given
Source to a String.
- Parameters:
source - The given Source to convert.
- Returns:
- An XML String.
- Throws:
TransformerException - if an error occurs during conversion.
Copyright 2011, Blue Agate Software Entity (BASE)