org.wdssii.core
Class XMLUtil

java.lang.Object
  extended by org.wdssii.core.XMLUtil

public class XMLUtil
extends Object

Author:
lakshman

Constructor Summary
XMLUtil()
           
 
Method Summary
static boolean getBooleanAttribute(Element vcpel, String name, boolean defaultValue)
           
static int getIntegerAttribute(Element vcpel, String name, int defaultValue)
           
static void writeXmlFile(Document doc, String filename, boolean compress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUtil

public XMLUtil()
Method Detail

getBooleanAttribute

public static boolean getBooleanAttribute(Element vcpel,
                                          String name,
                                          boolean defaultValue)

getIntegerAttribute

public static int getIntegerAttribute(Element vcpel,
                                      String name,
                                      int defaultValue)

writeXmlFile

public static void writeXmlFile(Document doc,
                                String filename,
                                boolean compress)
                         throws IOException
Throws:
IOException