| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract int | getHighestEncodable()
Implements abstract com. |
| protected final void | |
| protected final int | outputMultiByteChar(int ch, char[] cbuf, int inputOffset, int inputLen)
Implements abstract com. |
| protected final int | outputStrictMultiByteChar(int ch, char[] cbuf, int inputOffset, int inputLen)
Implements abstract com. |
| protected final void | outputSurrogates(int surr1, int surr2)
Implements abstract com. |
| public abstract void | writeRaw(char[] cbuf, int offset, int len)
Implements abstract com. |
| SingleByteXmlWriter | back to summary |
|---|---|
| public SingleByteXmlWriter(WriterConfig cfg, OutputStream out, XmlCharTypes charTypes) | |
| getHighestEncodable | back to summary |
|---|---|
| public abstract int getHighestEncodable() Implements abstract com. Doc from com. Method called by error reporting code, to figure out if a given character is encodable (without using character entities) with the current encoding or not.
| |
| output2ByteChar | back to summary |
|---|---|
| protected final void output2ByteChar(int ch) throws IOException, XMLStreamException Implements abstract com.
| |
| outputMultiByteChar | back to summary |
|---|---|
| protected final int outputMultiByteChar(int ch, char[] cbuf, int inputOffset, int inputLen) throws IOException, XMLStreamException Implements abstract com. This can be done, although only by using character entities.
| |
| outputStrictMultiByteChar | back to summary |
|---|---|
| protected final int outputStrictMultiByteChar(int ch, char[] cbuf, int inputOffset, int inputLen) throws IOException, XMLStreamException Implements abstract com. With single byte encodings, there's no way to express these characters without character entities. So, this always leads to an exception
| |
| outputSurrogates | back to summary |
|---|---|
| protected final void outputSurrogates(int surr1, int surr2) throws IOException, XMLStreamException Implements abstract com. Doc from com. Method called to output a composite character, result of combining 2 surrogate characters.
| |
| writeRaw | back to summary |
|---|---|
| public abstract void writeRaw(char[] cbuf, int offset, int len) throws IOException, XMLStreamException Implements abstract com. Doc from com. This method is heavily encoding-dependant, so it needs to be deferred to sub-classes
| |