public class EXIBodyDecoderInOrderSC extends EXIBodyDecoderInOrder
AbstractEXIBodyCoder.ElementContext, AbstractEXIBodyCoder.RuntimeUriContext| Modifier and Type | Field and Description |
|---|---|
protected EXIBodyDecoderInOrderSC |
scDecoder |
attributePrefix, attributeQNameContext, attributeValue, channel, nextEvent, nextEventType, nextGrammar, numberOfUriContexts, stringDecoder, typeDecoderbooleanDatatype, elementContextStack, elementContextStackIndex, errorHandler, exiFactory, fidelityOptions, grammar, grammarContext, gUris, INITIAL_STACK_SIZE, learnedProductions, limitGrammarLearning, maxBuiltInElementGrammars, maxBuiltInProductions, nextUriID, preserveLexicalValues, preservePrefix, runtimeGlobalElements, xsiNilContext, xsiTypeContext| Constructor and Description |
|---|
EXIBodyDecoderInOrderSC(EXIFactory exiFactory) |
| Modifier and Type | Method and Description |
|---|---|
QNameContext |
decodeAttribute()
Parses attribute and returns qualified name.
|
QNameContext |
decodeAttributeXsiNil()
Parses xsi:nil attribute
|
QNameContext |
decodeAttributeXsiType()
Parses xsi:type attribute
|
Value |
decodeCharacters()
Decodes characters and reports them.
|
char[] |
decodeComment()
Parses comment with associated characters and provides comment text.
|
DocType |
decodeDocType()
Parses DOCTYPE with information items (name, publicID, systemID, text).
|
void |
decodeEndDocument()
Indicates the end of a set of XML events
|
QNameContext |
decodeEndElement()
Reads EXI end element and returns qualified name.
|
char[] |
decodeEntityReference()
Parses EntityReference and returns ER name.
|
NamespaceDeclaration |
decodeNamespaceDeclaration()
Parses namespace declaration retrieving associated URI and prefix.
|
ProcessingInstruction |
decodeProcessingInstruction()
Parses processing instruction with associated target and data.
|
void |
decodeStartDocument()
Indicates the beginning of a set of XML events
|
QNameContext |
decodeStartElement()
Reads EXI start element and returns qualified name.
|
void |
decodeStartSelfContainedFragment()
Reads EXI a self-contained start element.
|
String |
getAttributePrefix()
Returns attribute prefix for (last) attribute as String
|
String |
getAttributeQNameAsString()
Returns qualified name for (last) attribute as String
QName ::= PrefixedName | UnprefixedName
PrefixedName ::= Prefix ':' LocalPart UnprefixedName ::= LocalPart |
Value |
getAttributeValue()
Provides attribute value
|
List<NamespaceDeclaration> |
getDeclaredPrefixDeclarations()
Prefix declarations for current context (element)
|
String |
getElementPrefix()
Returns element prefix for current element as String.
|
String |
getElementQNameAsString()
Returns qualified name for element name as String
QName ::= PrefixedName | UnprefixedName
PrefixedName ::= Prefix ':' LocalPart UnprefixedName ::= LocalPart |
void |
initForEachRun() |
EventType |
next()
Reports the next available EXI event-type or
null if no more
EXI event is available. |
void |
skipSCElement(long skip) |
getChannel, readAttributeContent, readAttributeContent, setInputChannel, setInputStream, updateInputChannel, updateInputStreamcheckDefaultPrefixNamespaceDeclaration, decode2ndLevelEventCode, decode3rdLevelEventCode, decodeAttributeAnyInvalidValueStructure, decodeAttributeGenericStructure, decodeAttributeGenericUndeclaredStructure, decodeAttributeNSStructure, decodeAttributeStructure, decodeAttributeXsiNilStructure, decodeAttributeXsiTypeStructure, decodeCharactersGenericStructure, decodeCharactersGenericUndeclaredStructure, decodeCharactersStructure, decodeCommentStructure, decodeDocTypeStructure, decodeEndDocumentStructure, decodeEndElementStructure, decodeEndElementUndeclaredStructure, decodeEntityReferenceStructure, decodeEventCode, decodeLocalName, decodeNamespaceDeclarationStructure, decodeNamespacePrefix, decodeProcessingInstructionStructure, decodeQName, decodeQNamePrefix, decodeStartDocumentStructure, decodeStartElementGenericStructure, decodeStartElementGenericUndeclaredStructure, decodeStartElementNSStructure, decodeStartElementStructure, decodeUri, handleAttributePrefix, handleElementPrefix, pushElement, updateInvalidValueAttributeaddUri, declarePrefix, declarePrefix, getCurrentGrammar, getElementContext, getGlobalStartElement, getNumberOfUris, getPrefix, getUri, getUri, getURI, getXsiNilContext, getXsiTypeContext, isBuiltInStartTagGrammarWithAtXsiTypeOnly, popElement, setErrorHandler, throwWarning, updateCurrentRule, updateElementContextprotected EXIBodyDecoderInOrderSC scDecoder
public EXIBodyDecoderInOrderSC(EXIFactory exiFactory) throws EXIException
EXIExceptionpublic void initForEachRun()
throws EXIException,
IOException
initForEachRun in class EXIBodyDecoderInOrderEXIExceptionIOExceptionpublic void skipSCElement(long skip)
throws IOException
IOExceptionpublic EventType next() throws EXIException, IOException
EXIBodyDecodernull if no more
EXI event is available.next in interface EXIBodyDecodernext in class EXIBodyDecoderInOrderEventType for next EXI eventEXIException - EXI exceptionIOException - IO exceptionpublic void decodeStartDocument()
throws EXIException
EXIBodyDecoderdecodeStartDocument in interface EXIBodyDecoderdecodeStartDocument in class EXIBodyDecoderInOrderEXIException - EXI exceptionpublic void decodeEndDocument()
throws EXIException,
IOException
EXIBodyDecoderdecodeEndDocument in interface EXIBodyDecoderdecodeEndDocument in class EXIBodyDecoderInOrderEXIException - EXI exceptionIOException - IO exceptionpublic QNameContext decodeStartElement() throws EXIException, IOException
EXIBodyDecoderStart element appearing as expected event.
decodeStartElement in interface EXIBodyDecoderdecodeStartElement in class EXIBodyDecoderInOrderQNameContext for qualified nameEXIException - EXI exceptionIOException - IO exceptionpublic void decodeStartSelfContainedFragment()
throws EXIException,
IOException
EXIBodyDecoderdecodeStartSelfContainedFragment in interface EXIBodyDecoderdecodeStartSelfContainedFragment in class AbstractEXIBodyDecoderEXIException - EXI exceptionIOException - IO exceptionpublic QNameContext decodeEndElement() throws EXIException, IOException
EXIBodyDecoderdecodeEndElement in interface EXIBodyDecoderdecodeEndElement in class EXIBodyDecoderInOrderQNameContext for qualified nameEXIException - EXI exceptionIOException - IO exceptionpublic String getElementPrefix()
EXIBodyDecoderNote: IF Preserve.Prefixes set to TRUE ONLY callable after all NS events
getElementPrefix in interface EXIBodyDecodergetElementPrefix in class EXIBodyDecoderInOrderString for prefixpublic String getElementQNameAsString()
EXIBodyDecoder
QName ::= PrefixedName | UnprefixedName
PrefixedName ::= Prefix ':' LocalPart
UnprefixedName ::= LocalPart
getElementQNameAsString in interface EXIBodyDecodergetElementQNameAsString in class EXIBodyDecoderInOrderString for qnamepublic QNameContext decodeAttributeXsiNil() throws EXIException, IOException
EXIBodyDecoderdecodeAttributeXsiNil in interface EXIBodyDecoderdecodeAttributeXsiNil in class EXIBodyDecoderInOrderEXIException - EXI exceptionIOException - IO exceptionpublic QNameContext decodeAttributeXsiType() throws EXIException, IOException
EXIBodyDecoderdecodeAttributeXsiType in interface EXIBodyDecoderdecodeAttributeXsiType in class EXIBodyDecoderInOrderQNameContext for qualified nameEXIException - EXI exceptionIOException - IO exceptionpublic QNameContext decodeAttribute() throws EXIException, IOException
EXIBodyDecoderdecodeAttribute in interface EXIBodyDecoderdecodeAttribute in class EXIBodyDecoderInOrderQNameContext for qnameEXIException - EXI exceptionIOException - IO exceptionpublic String getAttributePrefix()
EXIBodyDecodergetAttributePrefix in interface EXIBodyDecodergetAttributePrefix in class AbstractEXIBodyDecoderString for prefixpublic String getAttributeQNameAsString()
EXIBodyDecoder
QName ::= PrefixedName | UnprefixedName
PrefixedName ::= Prefix ':' LocalPart
UnprefixedName ::= LocalPart
getAttributeQNameAsString in interface EXIBodyDecodergetAttributeQNameAsString in class AbstractEXIBodyDecoderString for qnamepublic Value getAttributeValue()
EXIBodyDecodergetAttributeValue in interface EXIBodyDecodergetAttributeValue in class AbstractEXIBodyDecoderValue for attribute valuepublic List<NamespaceDeclaration> getDeclaredPrefixDeclarations()
EXIBodyDecodergetDeclaredPrefixDeclarations in interface EXIBodyDecodergetDeclaredPrefixDeclarations in class EXIBodyDecoderInOrderpublic NamespaceDeclaration decodeNamespaceDeclaration() throws EXIException, IOException
EXIBodyDecoderdecodeNamespaceDeclaration in interface EXIBodyDecoderdecodeNamespaceDeclaration in class EXIBodyDecoderInOrderNamespaceDeclaration ns declarationEXIException - EXI exceptionIOException - IO exceptionpublic Value decodeCharacters() throws EXIException, IOException
EXIBodyDecoderdecodeCharacters in interface EXIBodyDecoderdecodeCharacters in class EXIBodyDecoderInOrderValue for XML characters itemEXIException - EXI exceptionIOException - IO exceptionpublic DocType decodeDocType() throws EXIException, IOException
EXIBodyDecoderdecodeDocType in interface EXIBodyDecoderdecodeDocType in class EXIBodyDecoderInOrderDocType for DOCTYPE information itemsEXIException - EXI exceptionIOException - IO exceptionpublic char[] decodeEntityReference()
throws EXIException,
IOException
EXIBodyDecoderdecodeEntityReference in interface EXIBodyDecoderdecodeEntityReference in class EXIBodyDecoderInOrderString for ER nameEXIException - EXI exceptionIOException - IO exceptionpublic char[] decodeComment()
throws EXIException,
IOException
EXIBodyDecoderdecodeComment in interface EXIBodyDecoderdecodeComment in class EXIBodyDecoderInOrderString for comment textEXIException - EXI exceptionIOException - IO exceptionpublic ProcessingInstruction decodeProcessingInstruction() throws EXIException, IOException
EXIBodyDecoderdecodeProcessingInstruction in interface EXIBodyDecoderdecodeProcessingInstruction in class EXIBodyDecoderInOrderString for PI target and dataEXIException - EXI exceptionIOException - IO exceptionCopyright © 2018 Siemens AG. All rights reserved.