com.ibm.xml.enc.dom
Class TreeNodeSetData
java.lang.Object
com.ibm.xml.enc.dom.TreeNodeSetData
- All Implemented Interfaces:
- Data, NodeSetData
public class TreeNodeSetData
- extends java.lang.Object
- implements NodeSetData
Field Summary |
(package private) boolean |
comments
|
(package private) java.util.List |
list
|
static java.lang.String |
NS_XML
|
static java.lang.String |
NS_XMLNS
|
(package private) org.w3c.dom.Node |
omitted
|
(package private) org.w3c.dom.Node |
top
|
Constructor Summary |
TreeNodeSetData(org.w3c.dom.Node t,
boolean wc,
org.w3c.dom.Node o)
|
Method Summary |
org.w3c.dom.Node |
getOmittedNode()
|
org.w3c.dom.Node |
getTopNode()
|
boolean |
isWithComments()
|
java.util.Iterator |
iterator()
Returns a read-only iterator over the nodes contained in this
NodeSetData in
document order. |
(package private) static java.util.List |
toList(org.w3c.dom.Node top,
boolean comments,
org.w3c.dom.Node omitted)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NS_XML
public static final java.lang.String NS_XML
- See Also:
- Constant Field Values
NS_XMLNS
public static final java.lang.String NS_XMLNS
- See Also:
- Constant Field Values
top
org.w3c.dom.Node top
comments
boolean comments
omitted
org.w3c.dom.Node omitted
list
java.util.List list
TreeNodeSetData
TreeNodeSetData(org.w3c.dom.Node t,
boolean wc,
org.w3c.dom.Node o)
- Parameters:
o
- can be null.
getTopNode
public org.w3c.dom.Node getTopNode()
isWithComments
public boolean isWithComments()
getOmittedNode
public org.w3c.dom.Node getOmittedNode()
iterator
public java.util.Iterator iterator()
- Description copied from interface:
NodeSetData
- Returns a read-only iterator over the nodes contained in this
NodeSetData
in
document order. Attempts to modify the returned iterator
via the remove
method throw
UnsupportedOperationException
.
- Specified by:
iterator
in interface NodeSetData
- Returns:
- an
Iterator
over the nodes in this
NodeSetData
in document order
toList
static java.util.List toList(org.w3c.dom.Node top,
boolean comments,
org.w3c.dom.Node omitted)
Portions Copyright 2003, 2012 IBM Corporation.
Portions Copyright 2003, 2012 Oracle and/or its affiliates.