|
Oracle Security Developer Tools XML Security Java API Reference 11g (11.1.1) E10680-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.NodeIterator
public class NodeIterator
Filtering iterator that returns only instances of org.w3c.dom.Node
.
Nested Class Summary | |
---|---|
static class |
NodeIterator.ElementFilter Filter that matches element nodes having a given namespace URI and local name. |
static class |
NodeIterator.NodeFilter Abstract base class for filters used to match nodes for a NodeIterator. |
static class |
NodeIterator.NodeTypeFilter Filter that matches nodes of a given node type. |
Field Summary | |
---|---|
protected org.w3c.dom.Node |
nextNode |
Constructor Summary | |
---|---|
NodeIterator(java.util.Collection c) Creates a new iterator will return only objects from the given given collection that implement the org.w3c.dom.Node interface. |
|
NodeIterator(java.util.Collection c, NodeIterator.NodeFilter filter) Creates a new iterator will return only objects from the given given collection that implement the org.w3c.dom.Node interface and are matched by the given NodeFilter . |
|
NodeIterator(java.util.Collection c, short nodeType) Creates a new iterator will return only objects from the given given collection that implement the org.w3c.dom.Node interface and are of the given node type. |
|
NodeIterator(java.util.Collection c, java.lang.String nsURI, java.lang.String localName) Creates a new iterator will return only objects from the given given collection that implement the org.w3c.dom.Element interface and have the given namespace URI and local name. |
Method Summary | |
---|---|
boolean |
hasNext() |
java.lang.Object |
next() |
void |
remove() Operation not supported. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.w3c.dom.Node nextNode
Constructor Detail |
---|
public NodeIterator(java.util.Collection c)
org.w3c.dom.Node
interface.public NodeIterator(java.util.Collection c, NodeIterator.NodeFilter filter)
org.w3c.dom.Node
interface and are matched by the given NodeFilter
.public NodeIterator(java.util.Collection c, short nodeType)
org.w3c.dom.Node
interface and are of the given node type.
c
- The collection to be iterated over.nodeType
- The node type code of the nodes to be returned by the iterator.Node
, NodeIterator.NodeTypeFilter
public NodeIterator(java.util.Collection c, java.lang.String nsURI, java.lang.String localName)
org.w3c.dom.Element
interface and have the given namespace URI and local name.
c
- The collection to be iterated over.nsURI
- The namespace URI of the elements to be returned by the iterator.localName
- The local name of the elements to be returned by the iterator.NodeIterator.ElementFilter
, XMLUtils.getNamespaceURI(org.w3c.dom.Node)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
|
Oracle Security Developer Tools XML Security Java API Reference 11g (11.1.1) E10680-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |