API for decoding EXI stream body.
More...
#include "contentHandler.h"
Go to the source code of this file.
|
errorCode | processNextProduction (EXIStream *strm, SmallIndex *nonTermID_out, ContentHandler *handler, void *app_data) |
| Process the next grammar production in the Current Grammar. More...
|
|
errorCode | decodeQName (EXIStream *strm, QName *qname, QNameID *qnameID) |
| Decodes a QName from the EXI stream. More...
|
|
errorCode | decodeUri (EXIStream *strm, SmallIndex *uriId) |
| Decodes the URI part of a QName from the EXI stream. More...
|
|
errorCode | decodeLn (EXIStream *strm, Index uriId, Index *lnId) |
| Decodes the Local name part of a QName from the EXI stream. More...
|
|
errorCode | decodePfxQname (EXIStream *strm, QName *qname, SmallIndex uriId) |
| Decodes the prefix component of the QName from the EXI stream In case of Preserve.prefixes the QName type contains a prefix also. More...
|
|
errorCode | decodePfx (EXIStream *strm, SmallIndex uriID, SmallIndex *pfxId) |
| Decodes the Prefix part of a NS event from the EXI stream. More...
|
|
errorCode | decodeStringValue (EXIStream *strm, QNameID qnameID, String *value) |
| Decodes a string value from the EXI stream. More...
|
|
errorCode | decodeEventContent (EXIStream *strm, Production *prodHit, ContentHandler *handler, SmallIndex *nonTermID_out, void *app_data) |
| Decodes the content of EXI event. More...
|
|
errorCode | decodeValueItem (EXIStream *strm, Index typeId, ContentHandler *handler, SmallIndex *nonTermID_out, QNameID localQNameID, void *app_data) |
| Decodes the value content item of an EXI event. More...
|
|
errorCode | decodeNSEvent (EXIStream *strm, ContentHandler *handler, SmallIndex *nonTermID_out, void *app_data) |
| Decodes NS event. More...
|
|
errorCode | decodeSEWildcardEvent (EXIStream *strm, ContentHandler *handler, SmallIndex *nonTermID_out, void *app_data) |
| Decodes SE(*) event. More...
|
|
errorCode | decodeATWildcardEvent (EXIStream *strm, ContentHandler *handler, SmallIndex *nonTermID_out, void *app_data) |
| Decodes AT(*) event. More...
|
|
- Date
- Sep 7, 2010
- Author
- Rumen Kyusakov
- Version
- 0.5
- [Revision] $Id: bodyDecode.h 328 2013-10-30 16:00:10Z kjussakov $
Definition in file bodyDecode.h.
- Parameters
-
[in,out] | strm | EXI stream representation |
[in] | handler | application content handler; stores the callback functions |
[out] | nonTermID_out | nonTerminal ID after the content decoding |
[in] | app_data | Application data to be passed to the content handler callbacks |
- Returns
- Error handling code
Definition at line 1423 of file bodyDecode.c.
- Parameters
-
[in,out] | strm | EXI stream representation |
[in] | prodHit | the current grammar production |
[in] | handler | application content handler; stores the callback functions |
[out] | nonTermID_out | nonTerminal ID after the content decoding |
[in] | app_data | Application data to be passed to the content handler callbacks |
- Returns
- Error handling code
Definition at line 910 of file bodyDecode.c.
- Parameters
-
[in,out] | strm | EXI stream representation |
[in] | uriId | The URI id in the URI string table |
[out] | lnId | The LN id in the Local name string table |
- Returns
- Error handling code
Definition at line 768 of file bodyDecode.c.
- Parameters
-
[in,out] | strm | EXI stream representation |
[in] | handler | application content handler; stores the callback functions |
[out] | nonTermID_out | nonTerminal ID after the content decoding |
[in] | app_data | Application data to be passed to the content handler callbacks |
- Returns
- Error handling code
Definition at line 1266 of file bodyDecode.c.
- Parameters
-
[in,out] | strm | EXI stream representation |
[in] | uriID | The URI id in the URI string table |
[out] | pfxId | The prefix id in the Prefix string table |
- Returns
- Error handling code
Definition at line 834 of file bodyDecode.c.
- Parameters
-
[in,out] | strm | EXI stream representation |
[out] | qname | qname that holds the prefix |
[in] | uriId | The URI id in the URI string table |
- Returns
- Error handling code
Definition at line 805 of file bodyDecode.c.
- Parameters
-
[in,out] | strm | EXI stream representation |
[out] | qname | the QName decoded |
[out] | qnameID | the QNameID in the string tables |
- Returns
- Error handling code
Definition at line 729 of file bodyDecode.c.
- Parameters
-
[in,out] | strm | EXI stream representation |
[in] | handler | application content handler; stores the callback functions |
[out] | nonTermID_out | nonTerminal ID after the content decoding |
[in] | app_data | Application data to be passed to the content handler callbacks |
- Returns
- Error handling code
Definition at line 1288 of file bodyDecode.c.
- Parameters
-
[in,out] | strm | EXI stream representation |
[in] | qnameID | The uri/ln ids in the URI string table |
[out] | value | the string decoded |
- Returns
- Error handling code
Definition at line 860 of file bodyDecode.c.
- Parameters
-
[in,out] | strm | EXI stream representation |
[out] | uriId | The URI id in the URI string table |
- Returns
- Error handling code
Definition at line 743 of file bodyDecode.c.
- Parameters
-
[in,out] | strm | EXI stream representation |
[in] | typeId | index of the type in the SimpleTypeTable |
[in] | handler | application content handler; stores the callback functions |
[out] | nonTermID_out | nonTerminal ID after the content decoding |
[in] | localQNameID | the local uri/ln IDs |
[in] | app_data | Application data to be passed to the content handler callbacks |
- Returns
- Error handling code
BEGIN type validation
END type validation
Definition at line 1011 of file bodyDecode.c.
Returns the terminal symbol of the production i.e. the EXI Event Type;
- Parameters
-
[in] | strm | EXI stream of bits |
[out] | nonTermID_out | unique identifier of right-hand side Non-terminal |
[in] | handler | content handler callbacks |
[in] | app_data | Application data to be passed to the content handler callbacks |
- Returns
- Error handling code
Definition at line 31 of file bodyDecode.c.