Class XMLDOMNode

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

public class XMLDOMNode extends Object implements INode
Deprecated.
use for better performance
Adapts a W3C DOM Node to a CAF tree INode. Nodes without an id are ignored.
  • Field Details

    • m_domNode

      protected Node m_domNode
      Deprecated.
    • m_rowIdXPath

      protected String m_rowIdXPath
      Deprecated.
    • m_id

      protected String m_id
      Deprecated.
      Lazily created by getId().
    • m_parent

      protected INode m_parent
      Deprecated.
      Null if root.
    • m_children

      protected List<INode> m_children
      Deprecated.
      Lazily created by getChildren().
  • Constructor Details

    • 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 Details

    • 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<INode> 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