org.utgenome.gwt.utgb.client.util.xml
Class DOMUtil

java.lang.Object
  extended by org.utgenome.gwt.utgb.client.util.xml.DOMUtil

public class DOMUtil
extends Object

Utilities to traverse DOM elements

Author:
leo

Method Summary
static String getAttributeValue(com.google.gwt.xml.client.Node node, String attributeName)
           
static String getAttributeValue(com.google.gwt.xml.client.Node node, String attributeName, String defaultValue)
           
static boolean getBooleanAttributeValue(com.google.gwt.xml.client.Node node, String attributeName, boolean defaultValue)
           
static com.google.gwt.xml.client.NodeList getChildNodeList(com.google.gwt.xml.client.Node baseNode, String tagName)
           
static int getIntAttributeValue(com.google.gwt.xml.client.Node node, String attributeName, int defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAttributeValue

public static String getAttributeValue(com.google.gwt.xml.client.Node node,
                                       String attributeName)

getAttributeValue

public static String getAttributeValue(com.google.gwt.xml.client.Node node,
                                       String attributeName,
                                       String defaultValue)

getBooleanAttributeValue

public static boolean getBooleanAttributeValue(com.google.gwt.xml.client.Node node,
                                               String attributeName,
                                               boolean defaultValue)

getIntAttributeValue

public static int getIntAttributeValue(com.google.gwt.xml.client.Node node,
                                       String attributeName,
                                       int defaultValue)

getChildNodeList

public static com.google.gwt.xml.client.NodeList getChildNodeList(com.google.gwt.xml.client.Node baseNode,
                                                                  String tagName)


Copyright © 2007-2012 utgenome.org. All Rights Reserved.