public class EXIBodyEncoderReordered extends AbstractEXIBodyEncoder
AbstractEXIBodyCoder.ElementContext, AbstractEXIBodyCoder.RuntimeUriContext| Modifier and Type | Field and Description |
|---|---|
protected int |
blockValues |
protected Map<QNameContext,List<ValueAndDatatype>> |
channelValuesAndDatatypes |
protected CodingMode |
codingMode |
protected Deflater |
deflater |
protected DeflaterOutputStream |
deflaterOS |
protected Datatype |
lastDatatype |
protected Value |
lastValue |
protected OutputStream |
os |
bChars, channel, encodingOptions, exiHeader, isXmlSpacePreserve, lastEvent, sePrefix, seUri, stringEncoder, typeEncoderbooleanDatatype, elementContextStack, elementContextStackIndex, errorHandler, exiFactory, fidelityOptions, grammar, grammarContext, gUris, INITIAL_STACK_SIZE, learnedProductions, limitGrammarLearning, maxBuiltInElementGrammars, maxBuiltInProductions, nextUriID, preserveLexicalValues, preservePrefix, runtimeGlobalElements, xsiNilContext, xsiTypeContext| Constructor and Description |
|---|
EXIBodyEncoderReordered(EXIFactory exiFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addValueAndDatatype(QNameContext qnc,
ValueAndDatatype vd) |
protected void |
closeBlock() |
protected void |
finalizeStream() |
void |
flush()
Flushes (possibly) remaining bit(s) to output stream
|
protected OutputStream |
getStream() |
protected void |
initBlock() |
void |
initForEachRun() |
protected boolean |
isTypeValid(Datatype datatype,
Value value) |
void |
setOutputChannel(EncoderChannel encoderChannel) |
void |
setOutputStream(OutputStream os) |
protected void |
writeValue(QNameContext valueContext) |
checkPendingCharacters, encode1stLevelEventCode, encode2ndLevelEventCode, encode3rdLevelEventCode, encodeAttribute, encodeAttribute, encodeAttributeList, encodeAttributeXsiNil, encodeAttributeXsiType, encodeCharacters, encodeCharactersForce, encodeComment, encodeDocType, encodeEndDocument, encodeEndElement, encodeEntityReference, encodeLocalName, encodeNamespaceDeclaration, encodeNamespacePrefix, encodeProcessingInstruction, encodeQName, encodeQNamePrefix, encodeSchemaInvalidAttributeEventCode, encodeStartDocument, encodeStartElement, encodeStartElement, encodeUri, getGlobalAttribute, getGlobalAttribute, writeStringaddUri, declarePrefix, declarePrefix, getCurrentGrammar, getElementContext, getGlobalStartElement, getNumberOfUris, getPrefix, getUri, getUri, getURI, getXsiNilContext, getXsiTypeContext, isBuiltInStartTagGrammarWithAtXsiTypeOnly, popElement, pushElement, setErrorHandler, throwWarning, updateCurrentRule, updateElementContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetErrorHandlerprotected OutputStream os
protected Deflater deflater
protected DeflaterOutputStream deflaterOS
protected CodingMode codingMode
protected int blockValues
protected Value lastValue
protected Datatype lastDatatype
protected Map<QNameContext,List<ValueAndDatatype>> channelValuesAndDatatypes
public EXIBodyEncoderReordered(EXIFactory exiFactory) throws EXIException
EXIExceptionpublic void initForEachRun()
throws EXIException,
IOException
initForEachRun in class AbstractEXIBodyEncoderEXIExceptionIOExceptionprotected void initBlock()
protected void addValueAndDatatype(QNameContext qnc, ValueAndDatatype vd)
public void setOutputStream(OutputStream os) throws EXIException, IOException
EXIExceptionIOExceptionpublic void setOutputChannel(EncoderChannel encoderChannel)
protected boolean isTypeValid(Datatype datatype, Value value)
isTypeValid in class AbstractEXIBodyEncoderprotected void writeValue(QNameContext valueContext) throws IOException
writeValue in class AbstractEXIBodyEncoderIOExceptionprotected OutputStream getStream()
protected void closeBlock()
throws IOException
IOExceptionprotected void finalizeStream()
throws IOException
IOExceptionpublic void flush()
throws IOException
EXIBodyEncoderflush in interface EXIBodyEncoderflush in class AbstractEXIBodyEncoderIOException - IO exceptionCopyright © 2018 Siemens AG. All rights reserved.