DhBaseContainer.replace

Overview | Methods | This Package | All Packages

DhBaseContainer.replace

Replaces a child element with another.

Syntax

protected void replace( DhElement eCur, DhElement eNew )

Parameters

eCur

The element to replace.

eNew

The new element.

Exceptions

DhElementNotFoundException thrown if eCur is not a child of this container.