public abstract class AbstractEXIBodyCoder extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEXIBodyCoder.ElementContext |
class |
AbstractEXIBodyCoder.RuntimeUriContext |
| Modifier and Type | Field and Description |
|---|---|
protected BooleanDatatype |
booleanDatatype |
protected AbstractEXIBodyCoder.ElementContext[] |
elementContextStack |
protected int |
elementContextStackIndex |
protected ErrorHandler |
errorHandler |
EXIFactory |
exiFactory |
protected FidelityOptions |
fidelityOptions |
protected Grammars |
grammar |
protected GrammarContext |
grammarContext |
protected int |
gUris |
static int |
INITIAL_STACK_SIZE |
protected int |
learnedProductions |
protected boolean |
limitGrammarLearning
EXI Profile parameters
|
protected int |
maxBuiltInElementGrammars |
protected int |
maxBuiltInProductions |
protected int |
nextUriID |
protected boolean |
preserveLexicalValues |
protected boolean |
preservePrefix |
protected Map<QNameContext,StartElement> |
runtimeGlobalElements |
protected QNameContext |
xsiNilContext |
protected QNameContext |
xsiTypeContext |
| Constructor and Description |
|---|
AbstractEXIBodyCoder(EXIFactory exiFactory) |
public final EXIFactory exiFactory
protected final Grammars grammar
protected final GrammarContext grammarContext
protected final FidelityOptions fidelityOptions
protected final boolean preservePrefix
protected final boolean preserveLexicalValues
protected ErrorHandler errorHandler
protected final BooleanDatatype booleanDatatype
protected AbstractEXIBodyCoder.ElementContext[] elementContextStack
protected int elementContextStackIndex
public static final int INITIAL_STACK_SIZE
protected Map<QNameContext,StartElement> runtimeGlobalElements
protected QNameContext xsiTypeContext
protected QNameContext xsiNilContext
protected final int gUris
protected int nextUriID
protected final boolean limitGrammarLearning
protected final int maxBuiltInElementGrammars
protected final int maxBuiltInProductions
protected int learnedProductions
public AbstractEXIBodyCoder(EXIFactory exiFactory) throws EXIException
EXIExceptionprotected QNameContext getXsiTypeContext()
protected QNameContext getXsiNilContext()
protected final boolean isBuiltInStartTagGrammarWithAtXsiTypeOnly(Grammar g)
protected final StartElement getGlobalStartElement(QNameContext qnc)
protected final Grammar getCurrentGrammar()
protected final void updateCurrentRule(Grammar newCurrentGrammar)
protected final AbstractEXIBodyCoder.ElementContext getElementContext()
protected final void updateElementContext(AbstractEXIBodyCoder.ElementContext elementContext)
public void setErrorHandler(ErrorHandler errorHandler)
protected void initForEachRun()
throws EXIException,
IOException
EXIExceptionIOExceptionprotected final void declarePrefix(NamespaceDeclaration nsDecl)
protected void pushElement(Grammar updContextGrammar, StartElement se)
protected final AbstractEXIBodyCoder.ElementContext popElement()
protected AbstractEXIBodyCoder.RuntimeUriContext addUri(String uri)
public int getNumberOfUris()
public AbstractEXIBodyCoder.RuntimeUriContext getUri(String namespaceUri)
public AbstractEXIBodyCoder.RuntimeUriContext getUri(int namespaceUriID)
protected void throwWarning(String message)
Copyright © 2018 Siemens AG. All rights reserved.