org.simBio.sim.dm.util
Class NodeHandler

java.lang.Object
  extended by org.simBio.sim.dm.util.NodeHandler

public class NodeHandler
extends Object

The class which handles the value of NODE of the DOM tree.

Version:
$Id: NodeHandler.java,v 1.2 2007/09/10 06:30:00 mikaelwing Exp $
Author:
Shohei Hido

Constructor Summary
NodeHandler()
           
 
Method Summary
static String getAttributeValue(Node node, String name)
           
static Node getChildTextNode(Node node)
           
static org.w3c.dom.traversal.NodeIterator getNodeIterator(Document doc, String xpath)
           
static org.w3c.dom.traversal.NodeIterator getNodeIterator(Node doc, String xpath)
           
static NodeList getNodeList(Node doc, String xpath)
           
static Node getSingleNode(Node targetNode, String xpath)
           
static Node getSingleNode(Node targetNode, String xpath, Node nameSpaceNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeHandler

public NodeHandler()
Method Detail

getAttributeValue

public static String getAttributeValue(Node node,
                                       String name)

getNodeList

public static NodeList getNodeList(Node doc,
                                   String xpath)

getNodeIterator

public static org.w3c.dom.traversal.NodeIterator getNodeIterator(Node doc,
                                                                 String xpath)

getSingleNode

public static Node getSingleNode(Node targetNode,
                                 String xpath)

getNodeIterator

public static org.w3c.dom.traversal.NodeIterator getNodeIterator(Document doc,
                                                                 String xpath)

getSingleNode

public static Node getSingleNode(Node targetNode,
                                 String xpath,
                                 Node nameSpaceNode)

getChildTextNode

public static Node getChildTextNode(Node node)


Copyright © 2005 Cell/Biodinamics simulation project. All Rights Reserved.