org.utgenome.gwt.utgb.client.track.lib.old
Class Utilities

java.lang.Object
  extended by org.utgenome.gwt.utgb.client.track.lib.old.Utilities

public final class Utilities
extends Object

Utilitiy methods. No constructor is provided for the class.

Since:
GWT1.4
Version:
0.1
Author:
ssksn

Method Summary
static String convertTrackGroupPropertyToXML(TrackGroupProperty trackGroupProperty)
           
static String convertTrackGroupPropertyToXML(TrackGroupProperty trackGroupProperty, Set<String> outputKeySet)
           
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 String getKeyAndValueString(String key, String value)
          Gets the key and value string
static String getKeyAndValueString(String key, String connector, String value)
          Gets the key and value string
static String getPropertyXMLTag(String key, String value)
           
static com.google.gwt.xml.client.NodeList getTagChildNodes(com.google.gwt.xml.client.Node parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getKeyAndValueString

public static final String getKeyAndValueString(String key,
                                                String connector,
                                                String value)
Gets the key and value string

Parameters:
key - key
connector -
value - value
Returns:
key + connector + value

getKeyAndValueString

public static final String getKeyAndValueString(String key,
                                                String value)
Gets the key and value string

Parameters:
key - key
value - value
Returns:
"key=value"
See Also:
getKeyAndValueString(String, String, String)

getAttributeValue

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

getAttributeValue

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

getTagChildNodes

public static final com.google.gwt.xml.client.NodeList getTagChildNodes(com.google.gwt.xml.client.Node parent)

getPropertyXMLTag

public static final String getPropertyXMLTag(String key,
                                             String value)

convertTrackGroupPropertyToXML

public static final String convertTrackGroupPropertyToXML(TrackGroupProperty trackGroupProperty)

convertTrackGroupPropertyToXML

public static final String convertTrackGroupPropertyToXML(TrackGroupProperty trackGroupProperty,
                                                          Set<String> outputKeySet)


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