org.placidus.xml
Class XmlHelper

java.lang.Object
  extended by org.placidus.xml.XmlHelper

public class XmlHelper
extends java.lang.Object


Field Summary
static java.lang.String EMPTY_XML
           
 
Constructor Summary
XmlHelper()
           
 
Method Summary
static javax.xml.transform.Source getEmptyXmlSource()
          to get a source of an empty xml
static javax.xml.transform.Source getSourceFromString(java.lang.String xmlContent)
          To get a Source object for given xml content
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_XML

public static final java.lang.String EMPTY_XML
See Also:
Constant Field Values
Constructor Detail

XmlHelper

public XmlHelper()
Method Detail

getEmptyXmlSource

public static javax.xml.transform.Source getEmptyXmlSource()
to get a source of an empty xml

Returns:
Source object of an empty xml

getSourceFromString

public static javax.xml.transform.Source getSourceFromString(java.lang.String xmlContent)
To get a Source object for given xml content

Parameters:
xmlContent - to create Source object from
Returns:
new Source object for given xml content


Copyright © 2006 DS. All Rights Reserved.