|
|||||||||
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.XMLElementNode
public class XMLElementNode
Adapts a W3C DOM element (Element
) to a CAF tree node (INode
),
auto-generating a unique id for each element in the tree.
If the tree's content changes frequently,
you should use a XMLDOMNode
instead,
using a xpath expression to specify node ids.
Field Summary | |
---|---|
protected List |
m_children
Deprecated. Lazily created by XMLElementNode.getChildren() . |
protected Element |
m_element
Deprecated. |
protected String |
m_id
Deprecated. Auto-generated id. |
protected INode |
m_parent
Deprecated. Null if root. |
Constructor Summary | |
---|---|
XMLElementNode(Element element)
Deprecated. Adapts W3C DOM element (and element 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 Element m_element
protected String m_id
protected INode m_parent
protected List m_children
XMLElementNode.getChildren()
.
Constructor Detail |
---|
public XMLElementNode(Element element)
element
- W3C DOM element to adapt.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 |