net.sf.saxon.event
public final class UTF8Writer extends Writer
Field Summary | |
---|---|
static int | SURR1_FIRST |
static int | SURR1_LAST |
static int | SURR2_FIRST |
static int | SURR2_LAST |
protected OutputStream | _out |
protected byte[] | _outBuffer |
protected int | _outBufferLast |
protected int | _outPtr |
int | _surrogate
When outputting chars from BMP, surrogate pairs need to be coalesced.
|
Constructor Summary | |
---|---|
UTF8Writer(OutputStream out) | |
UTF8Writer(OutputStream out, int bufferLength) |
Method Summary | |
---|---|
void | close() |
void | flush() |
void | write(char[] cbuf) |
void | write(char[] cbuf, int off, int len) |
void | write(int c) |
void | write(String str) |
void | write(String str, int off, int len) |