com.ptc.hli.util
Class XMLHelper

java.lang.Object
  extended bycom.ptc.hli.util.XMLHelper

public class XMLHelper
extends Object


Constructor Summary
XMLHelper()
           
 
Method Summary
static HashMap getAttributes(Node elementNode)
           
static String getAttributeValue(Node elementNode, String attributeName, String defaultValue)
           
static List getChildrenByTagName(Node elementNode, String tagName)
           
static Element getFirstChild(Node elementNode, String tagName)
           
 
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

getAttributes

public static HashMap getAttributes(Node elementNode)

getAttributeValue

public static String getAttributeValue(Node elementNode,
                                       String attributeName,
                                       String defaultValue)

getChildrenByTagName

public static List getChildrenByTagName(Node elementNode,
                                        String tagName)

getFirstChild

public static Element getFirstChild(Node elementNode,
                                    String tagName)