Poco::FastInfoset

class NullRefEncoding

Library: FastInfoset
Package: CodingAlgorithm
Header: Poco/FastInfoset/NullRefEncoding.h

Description

An optimized version of NullEncoding that stores only a reference to the string internally

Inheritance

Direct Base Classes: NullEncoding

All Base Classes: Encoding, NullEncoding

Member Summary

Member Functions: getContent, handle, merge, write

Inherited Functions: canEncode, createContent, encode, getContent, getDecodeMethod, getEncodeChecker, getEncodeMethod, handle, merge, read, type, write

Constructors

NullRefEncoding

NullRefEncoding(
    const Poco::XML::XMLString & xmlStr
);

Creates the NullRefEncoding.

Destructor

~NullRefEncoding virtual

virtual ~NullRefEncoding();

Destroys the NullRefEncoding.

Member Functions

getContent virtual inline

const Poco::XML::XMLString & getContent() const;

Returns the content as string

See also: Poco::FastInfoset::Encoding::getContent()

getContent virtual

Poco::XML::XMLString & getContent();

Returns the content as string

See also: Poco::FastInfoset::Encoding::getContent()

handle virtual

void handle(
    FISContentHandler * pHandler
);

See also: Poco::FastInfoset::NullEncoding::handle()

merge virtual

bool merge(
    const Encoding & enc
);

Merges the provided enc into the current one iff the two encoding types are identical

See also: Poco::FastInfoset::NullEncoding::merge()

write virtual

void write(
    BitStreamWriter & writer
);

See also: Poco::FastInfoset::NullEncoding::write()