if (refElt instanceof SVGOMAnimationElement) {
SVGOMAnimationElement aelt =
(SVGOMAnimationElement) refElt;
float t = aelt.getHyperlinkBeginTime();
if (Float.isNaN(t)) {
aelt.beginElement();
} else {
doc.getRootElement().setCurrentTime(t);
}
return;
}