Package org.apache.xml.security.utils
Class HelperNodeList
- java.lang.Object
-
- org.apache.xml.security.utils.HelperNodeList
-
- All Implemented Interfaces:
org.w3c.dom.NodeList
public class HelperNodeList extends java.lang.Object implements org.w3c.dom.NodeList
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
allNodesMustHaveSameParent
(package private) java.util.List<org.w3c.dom.Node>
nodes
Field nodes
-
Constructor Summary
Constructors Constructor Description HelperNodeList()
HelperNodeList(boolean allNodesMustHaveSameParent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendChild(org.w3c.dom.Node node)
Method appendChildint
getLength()
Method getLengthorg.w3c.dom.Document
getOwnerDocument()
org.w3c.dom.Node
item(int index)
Method item
-
-
-
Method Detail
-
item
public org.w3c.dom.Node item(int index)
Method item- Specified by:
item
in interfaceorg.w3c.dom.NodeList
- Parameters:
index
-- Returns:
- node with index i
-
getLength
public int getLength()
Method getLength- Specified by:
getLength
in interfaceorg.w3c.dom.NodeList
- Returns:
- length of the list
-
appendChild
public void appendChild(org.w3c.dom.Node node) throws java.lang.IllegalArgumentException
Method appendChild- Parameters:
node
-- Throws:
java.lang.IllegalArgumentException
-
getOwnerDocument
public org.w3c.dom.Document getOwnerDocument()
- Returns:
- the document that contains this nodelist
-
-