public final class ISOLatin1XmlWriter extends EncodingXmlWriter
EncodingXmlWriter used when output
is to be encoded using ISO-8859-1, aka ISO-Latin1 encoding.
Regarding surrogate pair handling: most of the checks are in the base
class, and here we only need to worry about writeRaw
methods.
mOutputBuffer, mOutputPtr, mSurrogateDEFAULT_QUOTE_CHAR, mAttrValueWriter, mAutoCloseOutput, mCheckContent, mCheckNames, mCheckStructure, mConfig, mEncoding, mFixContent, mLocPastChars, mLocRowNr, mLocRowStartOffset, mNsAware, mRawWrapper, mTextWrapper, mTextWriter, mXml11, SURR1_FIRST, SURR1_LAST, SURR2_FIRST, SURR2_LAST| Constructor and Description |
|---|
ISOLatin1XmlWriter(OutputStream out,
WriterConfig cfg,
boolean autoclose) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleInvalidLatinChar(int c) |
protected void |
writeAttrValue(char[] data,
int offset,
int len) |
protected void |
writeAttrValue(String data) |
protected int |
writeCDataContent(char[] cbuf,
int start,
int len) |
protected int |
writeCDataContent(String data) |
protected int |
writeCommentContent(String data) |
protected int |
writePIData(String data) |
void |
writeRaw(char[] cbuf,
int offset,
int len) |
void |
writeRaw(String str,
int offset,
int len) |
protected void |
writeTextContent(char[] cbuf,
int offset,
int len) |
protected void |
writeTextContent(String data) |
calcSurrogate, close, flush, flushBuffer, getOutputPtr, getOutputStream, getWriter, throwUnpairedSurrogate, throwUnpairedSurrogate, writeAscii, writeAscii, writeAscii, writeAsEntity, writeAttribute, writeAttribute, writeAttribute, writeAttribute, writeCData, writeCData, writeCDataEnd, writeCDataStart, writeCharacters, writeCharacters, writeComment, writeCommentEnd, writeCommentStart, writeDTD, writeDTD, writeEndTag, writeEndTag, writeEntityReference, writeName, writeNameUnchecked, writePI, writePIEnd, writePIStart, writeRawAscii, writeStartTagEmptyEnd, writeStartTagEnd, writeStartTagStart, writeStartTagStart, writeTypedAttribute, writeTypedAttribute, writeTypedAttribute, writeTypedElement, writeTypedElement, writeXmlDeclarationenableXml11, getAbsOffset, getColumn, getRow, handleInvalidChar, reportNwfContent, reportNwfName, reportNwfName, throwOutputError, throwOutputError, verifyNameValidity, wrapAsRawWriter, wrapAsTextWriter, writeRawpublic ISOLatin1XmlWriter(OutputStream out, WriterConfig cfg, boolean autoclose) throws IOException
IOExceptionpublic void writeRaw(char[] cbuf,
int offset,
int len)
throws IOException
writeRaw in class EncodingXmlWriterIOExceptionpublic void writeRaw(String str, int offset, int len) throws IOException
writeRaw in class EncodingXmlWriterIOExceptionprotected void writeAttrValue(String data) throws IOException
writeAttrValue in class EncodingXmlWriterIOExceptionprotected void writeAttrValue(char[] data,
int offset,
int len)
throws IOException
writeAttrValue in class EncodingXmlWriterIOExceptionprotected int writeCDataContent(String data) throws IOException
writeCDataContent in class EncodingXmlWriterIOExceptionprotected int writeCDataContent(char[] cbuf,
int start,
int len)
throws IOException
writeCDataContent in class EncodingXmlWriterIOExceptionprotected int writeCommentContent(String data) throws IOException
writeCommentContent in class EncodingXmlWriterIOExceptionprotected int writePIData(String data) throws IOException, XMLStreamException
writePIData in class EncodingXmlWriterIOExceptionXMLStreamExceptionprotected void writeTextContent(String data) throws IOException
writeTextContent in class EncodingXmlWriterIOExceptionprotected void writeTextContent(char[] cbuf,
int offset,
int len)
throws IOException
writeTextContent in class EncodingXmlWriterIOExceptionprotected void handleInvalidLatinChar(int c)
throws IOException
IOExceptionCopyright © 2012–2015 FasterXML. All rights reserved.