LibreOffice Module forms (master) 1
|
#include <serialization_urlencoded.hxx>
Public Member Functions | |
CSerializationURLEncoded () | |
virtual void | serialize () override |
start the serialization process More... | |
virtual css::uno::Reference< css::io::XInputStream > | getInputStream () override |
get the serialized bytes. More... | |
Public Member Functions inherited from CSerialization | |
virtual | ~CSerialization () |
void | setSource (const css::uno::Reference< css::xml::dom::XDocumentFragment > &aFragment) |
sets the XObject that is to serialized More... | |
virtual void | serialize ()=0 |
start the serialization process More... | |
virtual css::uno::Reference< css::io::XInputStream > | getInputStream ()=0 |
get the serialized bytes. More... | |
Private Member Functions | |
void | serialize_node (const css::uno::Reference< css::xml::dom::XNode > &aNode) |
Static Private Member Functions | |
static bool | is_unreserved (char) |
static void | encode_and_append (std::u16string_view aString, OStringBuffer &aBuffer) |
Private Attributes | |
css::uno::Reference< css::io::XPipe > | m_aPipe |
Additional Inherited Members | |
Protected Attributes inherited from CSerialization | |
css::uno::Reference< css::xml::dom::XDocumentFragment > | m_aFragment |
Definition at line 32 of file serialization_urlencoded.hxx.
CSerializationURLEncoded::CSerializationURLEncoded | ( | ) |
Definition at line 41 of file serialization_urlencoded.cxx.
References create(), and getProcessComponentContext().
|
staticprivate |
Definition at line 72 of file serialization_urlencoded.cxx.
References aBuffer, is_unreserved(), and OUStringToOString().
Referenced by serialize_node().
|
overridevirtual |
get the serialized bytes.
reads up to buffer->getLength() bytes and returns the number of bytes read. returns -1 on error
Implements CSerialization.
Definition at line 175 of file serialization_urlencoded.cxx.
References m_aPipe.
Referenced by CSubmissionGet::submit().
|
staticprivate |
Definition at line 54 of file serialization_urlencoded.cxx.
Referenced by encode_and_append().
|
overridevirtual |
start the serialization process
Implements CSerialization.
Definition at line 161 of file serialization_urlencoded.cxx.
References CSerialization::m_aFragment, m_aPipe, and serialize_node().
Referenced by CSubmissionGet::submit().
|
private |
Definition at line 110 of file serialization_urlencoded.cxx.
References aName, encode_and_append(), i, m_aPipe, pData, and serialize_node().
Referenced by serialize(), and serialize_node().
|
private |
Definition at line 35 of file serialization_urlencoded.hxx.
Referenced by getInputStream(), serialize(), and serialize_node().