com.webmethods.caf.faces.data.tree.object
Class XMLDOMNode

java.lang.Object
  extended by com.webmethods.caf.faces.data.tree.object.XMLDOMNode
All Implemented Interfaces:
INode

Deprecated. use for better performance

public class XMLDOMNode
extends Object
implements INode

Adapts a W3C DOM Node to a CAF tree INode. Nodes without an id are ignored.


Field Summary
protected  List m_children
          Deprecated. Lazily created by XMLDOMNode.getChildren().
protected  Node m_domNode
          Deprecated.  
protected  String m_id
          Deprecated. Lazily created by XMLDOMNode.getId().
protected  INode m_parent
          Deprecated. Null if root.
protected  String m_rowIdXPath
          Deprecated.  
 
Constructor Summary
XMLDOMNode(Node domNode, String rowIdXPath)
          Deprecated. Adapts W3C DOM node (and tree below it) to a CAF tree node.
 
Method Summary
 List getChildren()
          Deprecated. List of INode children, in order.
 Object getData()
          Deprecated. Row data.
 String getId()
          Deprecated. Row id.
 INode getParent()
          Deprecated. Node parent, or null for root.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_domNode

protected Node m_domNode
Deprecated. 

m_rowIdXPath

protected String m_rowIdXPath
Deprecated. 

m_id

protected String m_id
Deprecated. 
Lazily created by XMLDOMNode.getId().


m_parent

protected INode m_parent
Deprecated. 
Null if root.


m_children

protected List m_children
Deprecated. 
Lazily created by XMLDOMNode.getChildren().

Constructor Detail

XMLDOMNode

public XMLDOMNode(Node domNode,
                  String rowIdXPath)
Deprecated. 
Adapts W3C DOM node (and tree below it) to a CAF tree node.

Parameters:
domNode - W3C DOM node to adapt.
rowIdXPath - XPath to evaluate to determine each node's id.
Method Detail

getData

public Object getData()
Deprecated. 
Description copied from interface: INode
Row data.

Specified by:
getData in interface INode

getId

public String getId()
Deprecated. 
Description copied from interface: INode
Row id.

Specified by:
getId in interface INode

getParent

public INode getParent()
Deprecated. 
Description copied from interface: INode
Node parent, or null for root.

Specified by:
getParent in interface INode

getChildren

public List getChildren()
Deprecated. 
Description copied from interface: INode
List of INode children, in order. Empty list (non-null) for leaf nodes.

Specified by:
getChildren in interface INode