public class CharacterEscapeHandlerWrapper extends Object implements CharacterEscapeHandler
This class provides an implementation of CharacterEscapeHandler that wraps a CharacterEscapeHandler from the Sun JAXB Implementation.
Constructor and Description |
---|
CharacterEscapeHandlerWrapper(Object sunHandler) |
Modifier and Type | Method and Description |
---|---|
void |
escape(char[] buffer,
int start,
int length,
boolean isAttributeValue,
Writer out)
Perform character escaping and write the result to the output.
|
Object |
getHandler() |
public CharacterEscapeHandlerWrapper(Object sunHandler)
public void escape(char[] buffer, int start, int length, boolean isAttributeValue, Writer out) throws IOException
CharacterEscapeHandler
Perform character escaping and write the result to the output.
Note: This feature is not supported when marshalling to the following targets:
escape
in interface CharacterEscapeHandler
buffer
- Array of characters to be escapedstart
- The starting positionlength
- The number of characters being escapedisAttributeValue
- A value of 'true' indicates this is an attribute valueout
- The resulting escaped characters will be written to this WriterIOException
- In an error condition, IOException can be thrown to stop the marshalling processpublic Object getHandler()
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference