if (pageContext.insideXDIMECPElement()) {
throw new PAPIException(EXCEPTION_LOCALIZER.format(
"element-not-allowed-inside-xdimecp", papiAttributes.getElementName()));
}
PickleAttributes attributes = (PickleAttributes) papiAttributes;
pattributes.setElementName (attributes.getElementName ());
pattributes.setAttributes (attributes.getAttributes ());
VolantisProtocol protocol = pageContext.getProtocol ();
protocol.writeOpenElement (pattributes);
// Push this element.