Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/Release/2.4.0/JAXB RI Extensions/Character Escape Handler"
Line 10: | Line 10: | ||
This document will outline the design for an EclipseLink equivalent to this extension. | This document will outline the design for an EclipseLink equivalent to this extension. | ||
+ | |||
+ | |||
+ | = Requirements = | ||
+ | |||
+ | * Provide an interface that the user can implement, and use this implementation when escaping characters during marshal. | ||
+ | * Provide drop-in-replacement support, so that users already using the Sun implementation will not need to change their code when switching to EclipseLink. |
Revision as of 12:15, 22 February 2012
Design Documentation: CharacterEscapeHandler
In the current JAXB RI, developed by Sun, there are a series of "proprietary" JAXB extensions that are available to provide advanced JAXB functionality outside of the JAXB spec (these extension classes reside in the com.sun.xml.bind package).
The CharacterEscapeHandler interface provided in the Sun JAXB implementation allows users to write their own character escaping code, to be used when marshalling.
This document will outline the design for an EclipseLink equivalent to this extension.
Requirements
- Provide an interface that the user can implement, and use this implementation when escaping characters during marshal.
- Provide drop-in-replacement support, so that users already using the Sun implementation will not need to change their code when switching to EclipseLink.