org.apache.xml.security.utils
Class HelperNodeList

java.lang.Object
  extended by org.apache.xml.security.utils.HelperNodeList
All Implemented Interfaces:
NodeList

public class HelperNodeList
extends Object
implements NodeList

Author:
Christian Geuer-Pollmann

Constructor Summary
HelperNodeList()
           
HelperNodeList(boolean allNodesMustHaveSameParent)
           
 
Method Summary
 void appendChild(Node node)
          Method appendChild
 int getLength()
          Method getLength
 Document getOwnerDocument()
           
 Node item(int index)
          Method item
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelperNodeList

public HelperNodeList()

HelperNodeList

public HelperNodeList(boolean allNodesMustHaveSameParent)
Parameters:
allNodesMustHaveSameParent -
Method Detail

item

public Node item(int index)
Method item

Specified by:
item in interface NodeList
Parameters:
index -
Returns:
node with index i

getLength

public int getLength()
Method getLength

Specified by:
getLength in interface NodeList
Returns:
length of the list

appendChild

public void appendChild(Node node)
                 throws IllegalArgumentException
Method appendChild

Parameters:
node -
Throws:
IllegalArgumentException

getOwnerDocument

public Document getOwnerDocument()
Returns:
the document that contains this nodelist


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.