net.sourceforge.xwing.dom
Class NodeListModel
java.lang.Object
javax.swing.AbstractListModel
net.sourceforge.xwing.dom.NodeListModel
- All Implemented Interfaces:
- ListModel, Serializable
- public class NodeListModel
- extends AbstractListModel
Represents a read-only connection to a list of Nodes that is interested
in the text content of each node. Only the first child of each node is
considered. The connection is specified via a Node and an DOMXPath expression
that selects a list of nodes in the context of that Node.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeListModel
public NodeListModel(Node node,
org.jaxen.dom.DOMXPath select)
throws Exception
setNode
public void setNode(Node node)
throws Exception
- Throws:
Exception
setSelect
public void setSelect(org.jaxen.dom.DOMXPath select)
throws Exception
- Throws:
Exception
getSize
public int getSize()
getElementAt
public Object getElementAt(int index)
Copyright © 2003 The Xwing Project. All Rights Reserved.