public class EXIBodyEncoderInOrderSC extends EXIBodyEncoderInOrder
All productions of the form LeftHandSide : SC Fragment are evaluated as follows:
AbstractEXIBodyCoder.ElementContext, AbstractEXIBodyCoder.RuntimeUriContext| Modifier and Type | Field and Description |
|---|---|
protected EXIBodyEncoderInOrderSC |
scEncoder |
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 |
|---|
EXIBodyEncoderInOrderSC(EXIFactory exiFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeAttribute(QName at,
Value value)
Supplies an attribute with the according value.
|
void |
encodeAttribute(String uri,
String localName,
String prefix,
Value value)
Supplies an attribute.
|
void |
encodeAttributeXsiNil(Value nil,
String pfx)
Supplies an xsi:nil attribute.
|
void |
encodeAttributeXsiType(Value type,
String pfx)
Supplies an xsi:type case.
|
void |
encodeCharacters(Value chars)
Supplies characters as Value.
|
void |
encodeComment(char[] ch,
int start,
int length)
Supplies the text of a comment.
|
void |
encodeDocType(String name,
String publicID,
String systemID,
String text)
Supplies content items to represent a DOCTYPE definition
|
void |
encodeEndDocument()
Reports the end of a set of XML events.
|
void |
encodeEndElement()
Supplies the end tag of an element.
|
protected void |
encodeEndSC() |
void |
encodeEntityReference(String name)
Supplies the name of an entity reference
|
void |
encodeNamespaceDeclaration(String uri,
String prefix)
Namespaces are reported as a discrete Namespace event.
|
void |
encodeProcessingInstruction(String target,
String data)
Supplies the target and data for an underlying processing instruction.
|
void |
encodeStartDocument()
Reports the beginning of a set of XML events
|
void |
encodeStartElement(String uri,
String localName,
String prefix)
Supplies the start of an element.
|
protected void |
encodeStartElementNoSC(String uri,
String localName,
String prefix) |
protected void |
encodeStartSC(String uri,
String localName,
String prefix) |
void |
initForEachRun() |
void |
setErrorHandler(ErrorHandler errorHandler) |
setOutputChannel, setOutputStream, writeValuecheckPendingCharacters, encode1stLevelEventCode, encode2ndLevelEventCode, encode3rdLevelEventCode, encodeAttributeList, encodeCharactersForce, encodeLocalName, encodeNamespacePrefix, encodeQName, encodeQNamePrefix, encodeSchemaInvalidAttributeEventCode, encodeStartElement, encodeUri, flush, getGlobalAttribute, getGlobalAttribute, isTypeValid, writeStringaddUri, declarePrefix, declarePrefix, getCurrentGrammar, getElementContext, getGlobalStartElement, getNumberOfUris, getPrefix, getUri, getUri, getURI, getXsiNilContext, getXsiTypeContext, isBuiltInStartTagGrammarWithAtXsiTypeOnly, popElement, pushElement, throwWarning, updateCurrentRule, updateElementContextprotected EXIBodyEncoderInOrderSC scEncoder
public EXIBodyEncoderInOrderSC(EXIFactory exiFactory) throws EXIException
EXIExceptionpublic void initForEachRun()
throws EXIException,
IOException
initForEachRun in class AbstractEXIBodyEncoderEXIExceptionIOExceptionpublic void setErrorHandler(ErrorHandler errorHandler)
setErrorHandler in interface EXIBodyEncodersetErrorHandler in class AbstractEXIBodyCodererrorHandler - error handlerpublic void encodeStartDocument()
throws EXIException,
IOException
EXIBodyEncoderencodeStartDocument in interface EXIBodyEncoderencodeStartDocument in class AbstractEXIBodyEncoderEXIException - EXI exceptionIOException - IO exceptionpublic void encodeEndDocument()
throws EXIException,
IOException
EXIBodyEncoderencodeEndDocument in interface EXIBodyEncoderencodeEndDocument in class AbstractEXIBodyEncoderEXIException - EXI exceptionIOException - IO exceptionprotected void encodeEndSC()
throws EXIException,
IOException
EXIExceptionIOExceptionpublic void encodeStartElement(String uri, String localName, String prefix) throws EXIException, IOException
EXIBodyEncoderProvides access to the namespace URI, local name , and prefix representation of the start tag.
encodeStartElement in interface EXIBodyEncoderencodeStartElement in class AbstractEXIBodyEncoderuri - element namespace URIlocalName - element local-nameprefix - element prefix (can be null according to fidelity options)EXIException - EXI exceptionIOException - IO exceptionprotected void encodeStartSC(String uri, String localName, String prefix) throws EXIException, IOException
EXIExceptionIOExceptionprotected void encodeStartElementNoSC(String uri, String localName, String prefix) throws EXIException, IOException
EXIExceptionIOExceptionpublic void encodeEndElement()
throws EXIException,
IOException
EXIBodyEncoderencodeEndElement in interface EXIBodyEncoderencodeEndElement in class AbstractEXIBodyEncoderEXIException - EXI exceptionIOException - IO exceptionpublic void encodeAttribute(String uri, String localName, String prefix, Value value) throws EXIException, IOException
EXIBodyEncoderProvides access to the namespace URI, local name, prefix, and value of the attribute.
encodeAttribute in interface EXIBodyEncoderencodeAttribute in class AbstractEXIBodyEncoderuri - attribute namespace URIlocalName - attribute local-nameprefix - attribute prefix (can be null according to fidelity options)value - attribute valueEXIException - EXI exceptionIOException - IO exceptionpublic void encodeAttribute(QName at, Value value) throws EXIException, IOException
EXIBodyEncoderProvides access to the namespace URI, local name, prefix, and value of the attribute.
encodeAttribute in interface EXIBodyEncoderencodeAttribute in class AbstractEXIBodyEncoderat - attribute's qnamevalue - attribute valueEXIException - EXI exceptionIOException - IO exceptionpublic void encodeNamespaceDeclaration(String uri, String prefix) throws EXIException, IOException
EXIBodyEncoderencodeNamespaceDeclaration in interface EXIBodyEncoderencodeNamespaceDeclaration in class AbstractEXIBodyEncoderuri - namespace URIprefix - namespace prefixEXIException - EXI exceptionIOException - IO exceptionpublic void encodeAttributeXsiNil(Value nil, String pfx) throws EXIException, IOException
EXIBodyEncoderencodeAttributeXsiNil in interface EXIBodyEncoderencodeAttributeXsiNil in class AbstractEXIBodyEncodernil - xsi:nil valuepfx - xsi:nil prefixEXIException - EXI exceptionIOException - IO exceptionpublic void encodeAttributeXsiType(Value type, String pfx) throws EXIException, IOException
EXIBodyEncoderencodeAttributeXsiType in interface EXIBodyEncoderencodeAttributeXsiType in class AbstractEXIBodyEncodertype - xsi:type valuepfx - xsi:type prefixEXIException - EXI exceptionIOException - IO exceptionpublic void encodeCharacters(Value chars) throws EXIException, IOException
EXIBodyEncoderencodeCharacters in interface EXIBodyEncoderencodeCharacters in class AbstractEXIBodyEncoderchars - character valuesEXIException - EXI exceptionIOException - IO exceptionpublic void encodeDocType(String name, String publicID, String systemID, String text) throws EXIException, IOException
EXIBodyEncoderencodeDocType in interface EXIBodyEncoderencodeDocType in class AbstractEXIBodyEncodername - doc-type namepublicID - doc-type publicIDsystemID - doc-type systemIDtext - doc-type testEXIException - EXI exceptionIOException - IO exceptionpublic void encodeEntityReference(String name) throws EXIException, IOException
EXIBodyEncoderencodeEntityReference in interface EXIBodyEncoderencodeEntityReference in class AbstractEXIBodyEncodername - entity reference nameEXIException - EXI exceptionIOException - IO exceptionpublic void encodeComment(char[] ch,
int start,
int length)
throws EXIException,
IOException
EXIBodyEncoderencodeComment in interface EXIBodyEncoderencodeComment in class AbstractEXIBodyEncoderch - comment character arraystart - comment character array startlength - comment character array lengthEXIException - EXI exceptionIOException - IO exceptionpublic void encodeProcessingInstruction(String target, String data) throws EXIException, IOException
EXIBodyEncoderencodeProcessingInstruction in interface EXIBodyEncoderencodeProcessingInstruction in class AbstractEXIBodyEncodertarget - processing instruction targetdata - processing instruction dataEXIException - EXI exceptionIOException - IO exceptionCopyright © 2018 Siemens AG. All rights reserved.