org.base.apps.xml.pool
Class XmlUtil

java.lang.Object
  extended by org.base.apps.xml.pool.XmlUtil

public class XmlUtil
extends Object

Utilities for XML-related activities.

Author:
Kevan Simpson

Method Summary
static String convertSourceToXml(Source source)
          Converts the given Source to a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.

Please visit Base Apps, hosted on Sourceforge.net.

Copyright 2011, Blue Agate Software Entity (BASE)