Poco::FastInfoset

class FISDocumentHandler

File Information

Library: FastInfoset
Package: Writer
Header: Poco/FastInfoset/FISDocumentHandler.h

Description

The FISDocumentHandler interface allows for setting and querying the vocabulatory used for a document.

Inheritance

Known Derived Classes: FastInfosetWriter

Member Summary

Member Functions: getDocumentVocabulary, setDocumentVocabulary, setExternalVocabulary, setWriteXMLDeclaration

Destructor

~FISDocumentHandler protected virtual

virtual ~FISDocumentHandler();

Destroys the FISDocumentHandler.

Member Functions

getDocumentVocabulary virtual

virtual DocumentVocabulary & getDocumentVocabulary() = 0;

Returns the documentVocabulary.

getDocumentVocabulary virtual

virtual const DocumentVocabulary & getDocumentVocabulary() const = 0;

Returns the documentVocabulary as a const object.

setDocumentVocabulary virtual

virtual void setDocumentVocabulary(
    const DocumentVocabulary & voc
) = 0;

Sets the documentVocabulary.

setExternalVocabulary virtual

virtual void setExternalVocabulary(
    const std::string & uri,
    const DocumentVocabulary & voc
) = 0;

Sets the location of the external dictionary and its content. The content is required so that the writer can create a diff to the finally set initial vocabulary and encode only the difference.

setWriteXMLDeclaration virtual

virtual void setWriteXMLDeclaration(
    bool val
) = 0;

Sets a boolean which defines if the xml declaration header should be written.

Securely control IoT edge devices from anywhere   Connect a Device