com.atlassian.confluence.content.render.xhtml.transformers
Interface FragmentTransformationErrorHandler
- All Known Implementing Classes:
- ThrowExceptionOnFragmentTransformationError, TransformErrorToHtmlPlaceholder
public interface FragmentTransformationErrorHandler
Handler that responds to problems in fragment transformation.
- Since:
- 4.0
Method Summary |
java.lang.String |
handle(javax.xml.stream.XMLEventReader erroneousFragment,
java.lang.Exception transformationException)
Handles fragment transformation problem. |
handle
java.lang.String handle(javax.xml.stream.XMLEventReader erroneousFragment,
java.lang.Exception transformationException)
- Handles fragment transformation problem.
- Parameters:
erroneousFragment
- reader over fragment that caused a transformation problemtransformationException
- 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)
Copyright © 2003-2014 Atlassian. All Rights Reserved.