Poco::FastInfoset

class FISContentHandler

File Information

Library: FastInfoset
Package: SAX
Header: Poco/FastInfoset/FISContentHandler.h

Description

FISContentHandler extends the XML ContentHandler with type specific character chunks.

Using a FISContentHandler registered with a FastInfosetParser, an application can read data from a Fast Infoset document in binary encoded form.

Using the FISContentHandler interface of a FastInfosetWriter, an application can directly write encoded or binary data.

Inheritance

Direct Base Classes: Poco::XML::ContentHandler

All Base Classes: Poco::XML::ContentHandler

Known Derived Classes: FastInfosetWriter

Member Summary

Member Functions: binaryData, encodedData

Inherited Functions: characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping

Destructor

~FISContentHandler protected virtual

~FISContentHandler();

Member Functions

binaryData virtual

virtual void binaryData(
    const char * buffer,
    std::size_t size
) = 0;

Handle binary data.

encodedData virtual

virtual void encodedData(
    Poco::Int16 value
) = 0;

Handle a 16-bit signed integer value.

encodedData virtual

virtual void encodedData(
    Poco::Int32 value
) = 0;

Handle a 32-bit signed integer value.

encodedData virtual

virtual void encodedData(
    Poco::Int64 value
) = 0;

Handle a 64-bit signed integer value.

encodedData virtual

virtual void encodedData(
    bool value
) = 0;

Handle a boolean value.

encodedData virtual

virtual void encodedData(
    float value
) = 0;

Handle a single-precision floating point value.

encodedData virtual

virtual void encodedData(
    double value
) = 0;

Handle a double-precision floating point value.

encodedData virtual

virtual void encodedData(
    const Poco::UUID & uuid
) = 0;

Handle a UUID.

Securely control IoT edge devices from anywhere   Connect a Device