/** @since 3.0 **/
private void write(IMarkupWriter writer, boolean nextIsClose, OpenToken token)
{
IComponent component = getInspectedComponent();
IEngineService service = getPage().getEngine().getService(Tapestry.DIRECT_SERVICE);
String[] context = new String[1];
// Each id references a component embedded in the inspected component.
// Get that component.
String id = token.getId();
IComponent embedded = component.getComponent(id);
context[0] = embedded.getIdPath();
// Build a URL to select that component, as if by the captive
// component itself (it's a Direct).
ILink link = service.getLink(getPage().getRequestCycle(), this, context);
writer.begin("span");
writer.attribute("class", "jwc-tag");
writer.print("<");