// If no image element has been created yet, create one from the
// prototype.
DOM.appendChild(holder, proto.createElement().<Element> cast());
} else {
// Otherwise, simply apply the prototype to the existing element.
proto.applyTo(child.<ImagePrototypeElement> cast());
}
}
private void updateAriaAttributes() {