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
virtual ~FISDocumentHandler();
Destroys the FISDocumentHandler.
Member Functions
getDocumentVocabulary
virtual DocumentVocabulary & getDocumentVocabulary() = 0;
Returns the documentVocabulary.
getDocumentVocabulary
virtual const DocumentVocabulary & getDocumentVocabulary() const = 0;
Returns the documentVocabulary as a const object.
setDocumentVocabulary
virtual void setDocumentVocabulary(
const DocumentVocabulary & voc
) = 0;
Sets the documentVocabulary.
setExternalVocabulary
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 void setWriteXMLDeclaration(
bool val
) = 0;
Sets a boolean which defines if the xml declaration header should be written.