Module org.glassfish.jaxb.core
Interface CharacterEscapeHandler
-
- All Known Implementing Classes:
DumbEscapeHandler
,MinimumEscapeHandler
,NoEscapeHandler
public interface CharacterEscapeHandler
Performs character escaping and write the result to the output.- Since:
- 1.0.1
- Author:
- Kohsuke Kawaguchi ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
escape(char[] ch, int start, int length, boolean isAttVal, Writer out)
-
-
-
Method Detail
-
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
-
-