public abstract class AbstractEXIBodyDecoder extends AbstractEXIBodyCoder implements EXIBodyDecoder
AbstractEXIBodyCoder.ElementContext, AbstractEXIBodyCoder.RuntimeUriContext| Modifier and Type | Field and Description |
|---|---|
protected String |
attributePrefix |
protected QNameContext |
attributeQNameContext |
protected Value |
attributeValue |
protected DecoderChannel |
channel |
protected Event |
nextEvent |
protected EventType |
nextEventType |
protected Grammar |
nextGrammar |
protected int |
numberOfUriContexts |
protected StringDecoder |
stringDecoder |
protected TypeDecoder |
typeDecoder |
booleanDatatype, elementContextStack, elementContextStackIndex, errorHandler, exiFactory, fidelityOptions, grammar, grammarContext, gUris, INITIAL_STACK_SIZE, learnedProductions, limitGrammarLearning, maxBuiltInElementGrammars, maxBuiltInProductions, nextUriID, preserveLexicalValues, preservePrefix, runtimeGlobalElements, xsiNilContext, xsiTypeContext| Constructor and Description |
|---|
AbstractEXIBodyDecoder(EXIFactory exiFactory) |
addUri, declarePrefix, declarePrefix, getCurrentGrammar, getElementContext, getGlobalStartElement, getNumberOfUris, getPrefix, getUri, getUri, getURI, getXsiNilContext, getXsiTypeContext, isBuiltInStartTagGrammarWithAtXsiTypeOnly, popElement, setErrorHandler, throwWarning, updateCurrentRule, updateElementContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecodeAttribute, decodeAttributeXsiNil, decodeAttributeXsiType, decodeCharacters, decodeComment, decodeDocType, decodeEndDocument, decodeEndElement, decodeEntityReference, decodeNamespaceDeclaration, decodeProcessingInstruction, decodeStartDocument, decodeStartElement, getDeclaredPrefixDeclarations, getElementPrefix, getElementQNameAsString, next, setInputChannel, setInputStream, updateInputChannel, updateInputStreamprotected Event nextEvent
protected Grammar nextGrammar
protected EventType nextEventType
protected DecoderChannel channel
protected final int numberOfUriContexts
protected final TypeDecoder typeDecoder
protected final StringDecoder stringDecoder
protected QNameContext attributeQNameContext
protected String attributePrefix
protected Value attributeValue
public AbstractEXIBodyDecoder(EXIFactory exiFactory) throws EXIException
EXIExceptionprotected final void pushElement(Grammar updContextGrammar, StartElement se)
pushElement in class AbstractEXIBodyCoderprotected void initForEachRun()
throws EXIException,
IOException
initForEachRun in class AbstractEXIBodyCoderEXIExceptionIOExceptionprotected QNameContext decodeQName(DecoderChannel channel) throws IOException
IOExceptionprotected AbstractEXIBodyCoder.RuntimeUriContext decodeUri(DecoderChannel channel) throws IOException
IOExceptionprotected QNameContext decodeLocalName(AbstractEXIBodyCoder.RuntimeUriContext uc, DecoderChannel channel) throws IOException
IOExceptionprotected String decodeQNamePrefix(AbstractEXIBodyCoder.RuntimeUriContext uc, DecoderChannel channel) throws IOException
IOExceptionprotected String decodeNamespacePrefix(AbstractEXIBodyCoder.RuntimeUriContext uc, DecoderChannel channel) throws IOException
IOExceptionprotected final EventType decodeEventCode() throws EXIException, IOException
EXIExceptionIOExceptionpublic String getAttributePrefix()
EXIBodyDecodergetAttributePrefix in interface EXIBodyDecoderString for prefixpublic String getAttributeQNameAsString()
EXIBodyDecoder
QName ::= PrefixedName | UnprefixedName
PrefixedName ::= Prefix ':' LocalPart
UnprefixedName ::= LocalPart
getAttributeQNameAsString in interface EXIBodyDecoderString for qnamepublic Value getAttributeValue()
EXIBodyDecodergetAttributeValue in interface EXIBodyDecoderValue for attribute valueprotected void updateInvalidValueAttribute(int ec)
throws EXIException
EXIExceptionprotected int decode2ndLevelEventCode()
throws EXIException,
IOException
EXIExceptionIOExceptionprotected int decode3rdLevelEventCode()
throws EXIException,
IOException
EXIExceptionIOExceptionprotected final void decodeStartDocumentStructure()
throws EXIException
EXIExceptionprotected final void decodeEndDocumentStructure()
throws EXIException,
IOException
EXIExceptionIOExceptionprotected final QNameContext decodeStartElementStructure() throws IOException
IOExceptionprotected final QNameContext decodeStartElementNSStructure() throws IOException
IOExceptionprotected final QNameContext decodeStartElementGenericStructure() throws IOException
IOExceptionprotected final QNameContext decodeStartElementGenericUndeclaredStructure() throws IOException
IOExceptionprotected final AbstractEXIBodyCoder.ElementContext decodeEndElementStructure() throws EXIException, IOException
EXIExceptionIOExceptionprotected final AbstractEXIBodyCoder.ElementContext decodeEndElementUndeclaredStructure() throws EXIException, IOException
EXIExceptionIOExceptionprotected final void decodeAttributeXsiNilStructure()
throws EXIException,
IOException
EXIExceptionIOExceptionprotected final void decodeAttributeXsiTypeStructure()
throws EXIException,
IOException
EXIExceptionIOExceptionprotected final void handleElementPrefix(QNameContext qnc) throws IOException
IOExceptionprotected final void handleAttributePrefix(QNameContext qnc) throws IOException
IOExceptionprotected final void checkDefaultPrefixNamespaceDeclaration(QNameContext qnc)
protected final Datatype decodeAttributeStructure() throws EXIException, IOException
EXIExceptionIOExceptionprotected final void decodeAttributeNSStructure()
throws EXIException,
IOException
EXIExceptionIOExceptionprotected final void decodeAttributeAnyInvalidValueStructure()
throws EXIException,
IOException
EXIExceptionIOExceptionprotected final void decodeAttributeGenericStructure()
throws EXIException,
IOException
EXIExceptionIOExceptionprotected final void decodeAttributeGenericUndeclaredStructure()
throws EXIException,
IOException
EXIExceptionIOExceptionprotected final Datatype decodeCharactersStructure() throws EXIException
EXIExceptionprotected final void decodeCharactersGenericStructure()
throws EXIException
EXIExceptionprotected final void decodeCharactersGenericUndeclaredStructure()
throws EXIException
EXIExceptionprotected final NamespaceDeclaration decodeNamespaceDeclarationStructure() throws EXIException, IOException
EXIExceptionIOExceptionprotected final char[] decodeEntityReferenceStructure()
throws EXIException,
IOException
EXIExceptionIOExceptionprotected final char[] decodeCommentStructure()
throws EXIException,
IOException
EXIExceptionIOExceptionprotected final ProcessingInstruction decodeProcessingInstructionStructure() throws EXIException, IOException
EXIExceptionIOExceptionprotected final DocType decodeDocTypeStructure() throws EXIException, IOException
EXIExceptionIOExceptionpublic void decodeStartSelfContainedFragment()
throws EXIException,
IOException
EXIBodyDecoderdecodeStartSelfContainedFragment in interface EXIBodyDecoderEXIException - EXI exceptionIOException - IO exceptionCopyright © 2018 Siemens AG. All rights reserved.