getChildrenList

getChildrenList

java.util.ArrayList getChildrenList(short[] nodeTypes)

Gets all the child nodes of the given types.

Parameters:

nodeTypes - the types of nodes to be retrieved. Notes:
(1) Only ELEMENT_NODE, TEXT_NODE, and
CDATA_SECTION_NODE are currently supported.
(2) The order in which node types are listed
has no effect, even on performance.

Returns:

Returns the child ArrayList.

getChildrenList

java.util.ArrayList getChildrenList(java.lang.String childName)

Gets the child elements of the given node name.

Parameters:

childName - the node name of the child - null indicates all names.

Returns:

Returns the child ArrayList.

getChildrenList

nodeTypes - the types of nodes to be retrieved. Notes:
(1) Only ELEMENT_NODE, TEXT_NODE, and
CDATA_SECTION_NODE are currently supported.
(2) The order in which node types are listed
has no effect, even on performance.

childName - the node name of the child - null indicates all names.

Returns:

Returns the child ArrayList.

getSimilarChildren

java.util.Vector getSimilarChildren(java.lang.String childName)

Gets the child elements with node names "similar to" the given node name
(i.e. whose node names contain the given node name as a substring).