}
private void defineNamespacePrefix(AssemblerContext context)
{
final DefineNamespacePrefixToken token = context.next(DefineNamespacePrefixToken.class);
RenderCommand command = new RenderCommand()
{
public void render(MarkupWriter writer, RenderQueue queue)
{
writer.defineNamespace(token.getNamespaceURI(), token.getNamespacePrefix());
}
@Override
public String toString()
{
return String.format("DefineNamespace[%s %s]", token.getNamespacePrefix(), token.getNamespaceURI());
}
};
context.addComposable(command);
}