throws ProtocolException {
AnchorAttributes a = new AnchorAttributes();
// Initialise the anchor attributes.
a.copy(attributes);
a.setShortcut(new LiteralTextAssetReference(attributes.getShortcut()));
a.setContent(attributes.getLinkText());
a.setHref(attributes.getHref());