public interface

FragmentTransformationErrorHandler

com.atlassian.confluence.content.render.xhtml.transformers.FragmentTransformationErrorHandler
Known Indirect Subclasses

Class Overview

Handler that responds to problems in fragment transformation.

Summary

Public Methods
String handle(XMLEventReader erroneousFragment, Exception transformationException)
Handles fragment transformation problem.

Public Methods

public String handle (XMLEventReader erroneousFragment, Exception transformationException)

Handles fragment transformation problem.

Parameters
erroneousFragment reader over fragment that caused a transformation problem
transformationException the exception thrown during transformation of the erroneous fragment.
Returns
  • an alternate representation of the erroneous fragment in XML (that is more friendly to edit or display)