getChildNodes

Obtain a NodeList enumerating all children of this node. If there
are none, an (initially) empty NodeList is returned.

NodeLists are "live"; as children are added/removed the NodeList
will immediately reflect those changes. Also, the NodeList refers
to the actual nodes, so changes to those nodes made via the DOM tree
will be reflected in the NodeList and vice versa.

In this implementation, Nodes implement the NodeList interface and
provide their own getChildNodes() support. Other DOMs may solve this
differently.

Specified by:

getChildNodes in interface org.w3c.dom.Node

Overrides:

getChildNodes in class org.apache.xerces.dom.ParentNode

cloneNode

public org.w3c.dom.Node cloneNode(boolean deep)

Explicit implementation of cloneNode() to ensure that cache used
for getElements() gets cleared.