* into this one at the current anchor, link it in.
*/
private class AnchorHandler extends ProcessorHandler {
public short handle(UAElement element, String id) {
if (element instanceof Anchor) {
Anchor anchor = (Anchor)element;
UAElement parent = anchor.getParentElement();
if (parent != null) {
String anchorId = anchor.getId();
if (anchorId != null) {
// add to set of known anchors
if (anchorsByContributionId == null) {
anchorsByContributionId = new HashMap();
}