Skip navigation links


com.essbase.eas.essbase.net.xml
Class XmlUtil

java.lang.Object
  extended by com.essbase.eas.essbase.net.xml.XmlUtil


public class XmlUtil
extends java.lang.Object

Constructor Summary
XmlUtil()
           

 

Method Summary
 java.lang.String getChildNodeValue(org.w3c.dom.NodeList childNodes, java.lang.String childNodeTagName)
          Searches for and returns the textnode value of an XML child node contained in a list of child nodes.
static java.lang.String getDV(java.lang.String value)
           
static java.lang.String getEV(java.lang.String value)
           

 

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

getChildNodeValue

public java.lang.String getChildNodeValue(org.w3c.dom.NodeList childNodes,
                                          java.lang.String childNodeTagName)
Searches for and returns the textnode value of an XML child node contained in a list of child nodes. The list of nodes must be one from the leaf-level. Example: if the NodeList contains (in XML format): <record> <logId>1001</logId> <userName>jfernand</userName> <machineName>box2</machineName> </record> So, requesting the value for childNodeTagName "userName" will return "jfernand" Note: in XML, "jfernand" in the example above is considered a child node of the "userName" node
Parameters:
childNodes:List - of children from a parent node. In the example above, a list from the "record" node.
childNodeTagName: - Tag name of the node whose value you want to retrieve. In the example above, "userName".

getEV

public static java.lang.String getEV(java.lang.String value)

getDV

public static java.lang.String getDV(java.lang.String value)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.