// Javadoc inherited
public XDIMEResult callOpenOnProtocol(XDIMEContextInternal context, XDIMEAttributes attributes)
throws XDIMEException {
try {
ElementRenderer renderer = getElementRenderer(context);
if (null == renderer){
// Do fallback if ticker is not supported by the protocol
return doFallbackOpen(context, attributes);
}
renderer.renderOpen(getProtocol(context), protocolAttributes);
if (!renderer.shouldRenderContents(getProtocol(context), protocolAttributes)) {
return XDIMEResult.SKIP_ELEMENT_BODY;
}
} catch (ProtocolException e) {
LOGGER.error("rendering-error", getTagName(), e);