public final class Latin1XmlWriter extends SingleByteXmlWriter
XmlWriter, used if
the destination is byte-based OutputStream, and
encoding is ISO-8859-1 (aka Latin1)_out, _outputBuffer, _outputBufferLen, _outputPtr, mCharTypes, mCopyBuffer, mCopyBufferLen, mSurrogate_config, _copyBuffer, _xml11, ATTR_MIN_ARRAYCOPY, DEFAULT_COPYBUFFER_LEN, mCfgNsAware, mCheckContent, mCheckNames, MIN_ARRAYCOPY, mLocPastChars, mLocRowNr, mLocRowStartOffset, SURR1_FIRST, SURR1_LAST, SURR2_FIRST, SURR2_LAST| Constructor and Description |
|---|
Latin1XmlWriter(WriterConfig cfg,
OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
protected WName |
doConstructName(String localName) |
protected WName |
doConstructName(String prefix,
String localName) |
int |
getHighestEncodable()
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.
|
void |
writeRaw(char[] cbuf,
int offset,
int len)
This method is heavily encoding-dependant, so it needs
to be deferred to sub-classes
|
output2ByteChar, outputMultiByteChar, outputStrictMultiByteChar, outputSurrogates_closeTarget, _releaseBuffers, calcSurrogate, constructName, constructName, fastWriteAttrValue, flush, flushBuffer, getAscii, getAscii, getAscii, getOutputPtr, throwUnpairedSurrogate, throwUnpairedSurrogate, verifyNameComponent, writeAsEntity, writeAttribute, writeAttribute, writeAttribute, writeAttrValue, writeCData, writeCData, writeCDataContents, writeCDataEnd, writeCDataStart, writeCharacters, writeCharacters, writeComment, writeCommentContents, writeCommentEnd, writeCommentStart, writeDTD, writeDTD, writeEndTag, writeEntityReference, writeLongAttribute, writeName, writeName, writeName, writePI, writePIData, writeRaw, writeRaw, writeRaw, writeRaw, writeRaw, writeSpace, writeSpace, writeStartTagEmptyEnd, writeStartTagEnd, writeStartTagStart, writeTypedValue, writeXmlDeclarationclose, enableXml11, getAbsOffset, getColumn, getRow, guessEncodingBitSize, reportFailedEscaping, reportInvalidChar, reportInvalidEmptyName, reportNwfContent, reportNwfContent, reportNwfName, reportNwfName, throwOutputError, throwOutputErrorpublic Latin1XmlWriter(WriterConfig cfg, OutputStream out)
public int getHighestEncodable()
XmlWritergetHighestEncodable in class SingleByteXmlWriterpublic void writeRaw(char[] cbuf,
int offset,
int len)
throws IOException,
XMLStreamException
ByteXmlWriterwriteRaw in class SingleByteXmlWriterIOExceptionXMLStreamExceptionprotected WName doConstructName(String localName) throws XMLStreamException
doConstructName in class ByteXmlWriterXMLStreamExceptionprotected WName doConstructName(String prefix, String localName) throws XMLStreamException
doConstructName in class ByteXmlWriterXMLStreamExceptionCopyright © 2012-2015 FasterXML. All Rights Reserved.