com.sun.xml.bind.marshaller
Interface CharacterEscapeHandler
- All Known Implementing Classes:
- DumbEscapeHandler, MinimumEscapeHandler, NioEscapeHandler
public interface CharacterEscapeHandler
Performs character escaping and write the result
to the output.
- Since:
- 1.0.1
Method Summary |
void |
escape(char[] ch,
int start,
int length,
boolean isAttVal,
Writer out)
|
escape
void escape(char[] ch,
int start,
int length,
boolean isAttVal,
Writer out)
throws IOException
- Parameters:
ch
- The array of characters.start
- The starting position.length
- The number of characters to use.isAttVal
- true if this is an attribute value literal.
- Throws:
IOException