org.jbind.xml.dom3.types
Interface IDomNodeList

All Superinterfaces:
IDomObject, org.w3c.dom.NodeList
All Known Implementing Classes:
DomNodeList

public interface IDomNodeList
extends org.w3c.dom.NodeList, IDomObject


Method Summary
 void add(org.w3c.dom.Node aNode)
           
 void addAll(java.util.List aNodeList)
           
 java.util.List cloneNodeList()
           
 int getIndex(org.w3c.dom.Node aNode)
           
 org.w3c.dom.Node getNextNode(org.w3c.dom.Node aNode)
          Gets the node after the specified node.
 org.w3c.dom.Node getNodeByClass(java.lang.Class aClass)
           
 int getNonDefaultedLength()
           
 org.w3c.dom.Node getPreviousNode(org.w3c.dom.Node aNode)
          Gets the node before the specified node.
 void insertNodeAt(int anIndex, org.w3c.dom.Node aNode)
           
 boolean isDefault()
           
 java.util.ListIterator iterNodes()
           
 java.util.ListIterator iterNodes(java.lang.String aNamespace, java.lang.String aName)
          Iterates the specified nodes.
 void removeAll()
           
 void removeNode(org.w3c.dom.Node aNode)
           
 void setDefaultTextContent(java.lang.String aString)
           
 
Methods inherited from interface org.w3c.dom.NodeList
getLength, item
 
Methods inherited from interface org.jbind.xml.dom3.types.IDomObject
getOwnerDocument, isReadOnly
 

Method Detail

getPreviousNode

public org.w3c.dom.Node getPreviousNode(org.w3c.dom.Node aNode)
                                 throws org.w3c.dom.DOMException
Gets the node before the specified node.

Parameters:
aNode - (required).
Returns:
A node (optional).
Throws:
org.w3c.dom.DOMException -
    NOT_FOUND_ERR: raised if the specified node is not contained in this list.

getNextNode

public org.w3c.dom.Node getNextNode(org.w3c.dom.Node aNode)
                             throws org.w3c.dom.DOMException
Gets the node after the specified node.

Parameters:
aNode - (required).
Returns:
A node (optional).
Throws:
org.w3c.dom.DOMException -
    NOT_FOUND_ERR: raised if the specified node is not contained in this list.

removeNode

public void removeNode(org.w3c.dom.Node aNode)

removeAll

public void removeAll()

insertNodeAt

public void insertNodeAt(int anIndex,
                         org.w3c.dom.Node aNode)

add

public void add(org.w3c.dom.Node aNode)

getIndex

public int getIndex(org.w3c.dom.Node aNode)

iterNodes

public java.util.ListIterator iterNodes()

iterNodes

public java.util.ListIterator iterNodes(java.lang.String aNamespace,
                                        java.lang.String aName)
Iterates the specified nodes.

Parameters:
aNamespace - (optional). If null is specified then only nodes with no namespace are returned. If "*" is specified then all nodes of all namespace or with no namespace are returned. Otherwise all nodes with the corresponding namespace are returned.
aName - (required). If "*" is specified then the nodes are returned regardless of their (local) name. Otherwise they must have the corresponding (local) name.
Returns:
(required). An iterator of IDomNodes.

getNodeByClass

public org.w3c.dom.Node getNodeByClass(java.lang.Class aClass)

cloneNodeList

public java.util.List cloneNodeList()

addAll

public void addAll(java.util.List aNodeList)

setDefaultTextContent

public void setDefaultTextContent(java.lang.String aString)

getNonDefaultedLength

public int getNonDefaultedLength()

isDefault

public boolean isDefault()