|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.tree.object.XMLDOMNode
public class XMLDOMNode
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 |
---|
protected Node m_domNode
protected String m_rowIdXPath
protected String m_id
XMLDOMNode.getId()
.
protected INode m_parent
protected List m_children
XMLDOMNode.getChildren()
.
Constructor Detail |
---|
public XMLDOMNode(Node domNode, String rowIdXPath)
domNode
- W3C DOM node to adapt.rowIdXPath
- XPath to evaluate to determine each node's id.Method Detail |
---|
public Object getData()
INode
getData
in interface INode
public String getId()
INode
getId
in interface INode
public INode getParent()
INode
getParent
in interface INode
public List getChildren()
INode
INode
children, in order.
Empty list (non-null) for leaf nodes.
getChildren
in interface INode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |