org.eclipse.higgins.sts.utilities
Class XMLHelper

java.lang.Object
  extended by org.eclipse.higgins.sts.utilities.XMLHelper

public class XMLHelper
extends java.lang.Object


Constructor Summary
XMLHelper()
           
 
Method Summary
static java.lang.String ElementToString(org.w3c.dom.Element elemRoot)
           
static org.w3c.dom.Element GetElementFromFile(java.lang.String strFileName)
           
static void LogElement(org.w3c.dom.Element elemRoot)
           
static org.w3c.dom.Element ReparseElement(org.w3c.dom.Element elemRoot)
           
static void StripNewLinesFromElement(org.w3c.dom.Element elemRoot)
           
static java.lang.String StripNewLinesFromString(java.lang.String strValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLHelper

public XMLHelper()
Method Detail

StripNewLinesFromString

public static java.lang.String StripNewLinesFromString(java.lang.String strValue)

StripNewLinesFromElement

public static void StripNewLinesFromElement(org.w3c.dom.Element elemRoot)

ElementToString

public static java.lang.String ElementToString(org.w3c.dom.Element elemRoot)
                                        throws java.io.IOException
Throws:
java.io.IOException

LogElement

public static void LogElement(org.w3c.dom.Element elemRoot)
                       throws java.io.IOException
Throws:
java.io.IOException

ReparseElement

public static org.w3c.dom.Element ReparseElement(org.w3c.dom.Element elemRoot)
                                          throws java.io.IOException,
                                                 java.lang.Exception
Throws:
java.io.IOException
java.lang.Exception

GetElementFromFile

public static org.w3c.dom.Element GetElementFromFile(java.lang.String strFileName)
                                              throws java.io.FileNotFoundException,
                                                     java.lang.Exception
Throws:
java.io.FileNotFoundException
java.lang.Exception