Typical escaping writers replace characters like '<' and '&', as well as some additional characters depending on context. Custom implementations may choose to escape additional characters, for example to make it easier to manually view or edit resulting serialized XML document.
Note about implementing escaping writers: writers need to obey normal Writer semantics, and specifically they should pass calls to flush()
and close()
to the underlying Writer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|