|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.marshaller.NioEscapeHandler
public class NioEscapeHandler
Uses JDK1.4 NIO functionality to escape characters smartly.
Constructor Summary | |
---|---|
NioEscapeHandler(java.lang.String charsetName)
|
Method Summary | |
---|---|
void |
escape(char[] ch,
int start,
int length,
boolean isAttVal,
java.io.Writer out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NioEscapeHandler(java.lang.String charsetName)
Method Detail |
---|
public void escape(char[] ch, int start, int length, boolean isAttVal, java.io.Writer out) throws java.io.IOException
escape
in interface CharacterEscapeHandler
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.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |