#include <XmlSerializer.h>
Public Member Functions | |
XmlSerializer (std::ostream &os, std::string encoding="utf") | |
XmlSerializer (std::string encoding="utf") | |
~XmlSerializer (void) | |
void | docdecl (std::string dd) |
void | startDocument (std::string encoding, bool standalone) |
XmlSerializer & | startTag (std::string nsp, std::string name) |
XmlSerializer & | attribute (std::string nsp, std::string name, std::string value) |
XmlSerializer & | endTag (std::string nsp, std::string name) |
void | endDocument () |
void | entityRef (std::string name) |
bool | getFeature (std::string name) |
std::string | getPrefix (std::string nsp, bool create) |
std::string | getPrefix (std::string nsp, bool includeDefault, bool create) |
void | ignorableWhitespace (std::string s) |
void | setFeature (std::string name, bool value) |
void | setPrefix (std::string prefix, std::string nsp) |
void | flush () |
std::string | getNamespace () |
std::string | getName () |
int | getDepth () |
XmlSerializer & | text (std::string txt) |
XmlSerializer & | text (std::string txt, int start, int len) |
void | cdsect (std::string data) |
void | comment (std::string comment) |
void | processingInstruction (std::string pi) |
Definition at line 33 of file XmlSerializer.h.
XmlSerializer::XmlSerializer | ( | std::ostream & | os, | |
std::string | encoding = "utf" | |||
) |
Definition at line 28 of file XmlSerializer.cpp.
XmlSerializer::XmlSerializer | ( | std::string | encoding = "utf" |
) |
Definition at line 39 of file XmlSerializer.cpp.
XmlSerializer::~XmlSerializer | ( | void | ) |
Definition at line 50 of file XmlSerializer.cpp.
void XmlSerializer::docdecl | ( | std::string | dd | ) |
Definition at line 156 of file XmlSerializer.cpp.
void XmlSerializer::startDocument | ( | std::string | encoding, | |
bool | standalone | |||
) |
Definition at line 290 of file XmlSerializer.cpp.
Referenced by Schema::SchemaValidator::instance(), and WsdlPull::WsdlInvoker::invoke().
XmlSerializer & XmlSerializer::startTag | ( | std::string | nsp, | |
std::string | name | |||
) |
Definition at line 314 of file XmlSerializer.cpp.
References getPrefix().
Referenced by WsdlPull::WsdlInvoker::invoke().
XmlSerializer & XmlSerializer::attribute | ( | std::string | nsp, | |
std::string | name, | |||
std::string | value | |||
) |
Definition at line 365 of file XmlSerializer.cpp.
References getPrefix().
Referenced by WsdlPull::WsdlInvoker::invoke().
XmlSerializer & XmlSerializer::endTag | ( | std::string | nsp, | |
std::string | name | |||
) |
Definition at line 420 of file XmlSerializer.cpp.
Referenced by endDocument(), and WsdlPull::WsdlInvoker::invoke().
void XmlSerializer::endDocument | ( | ) |
void XmlSerializer::entityRef | ( | std::string | name | ) |
Definition at line 174 of file XmlSerializer.cpp.
bool XmlSerializer::getFeature | ( | std::string | name | ) |
Definition at line 183 of file XmlSerializer.cpp.
std::string XmlSerializer::getPrefix | ( | std::string | nsp, | |
bool | create | |||
) |
Definition at line 191 of file XmlSerializer.cpp.
Referenced by attribute(), setPrefix(), and startTag().
std::string XmlSerializer::getPrefix | ( | std::string | nsp, | |
bool | includeDefault, | |||
bool | create | |||
) |
void XmlSerializer::ignorableWhitespace | ( | std::string | s | ) |
void XmlSerializer::setFeature | ( | std::string | name, | |
bool | value | |||
) |
Definition at line 259 of file XmlSerializer.cpp.
void XmlSerializer::setPrefix | ( | std::string | prefix, | |
std::string | nsp | |||
) |
Definition at line 269 of file XmlSerializer.cpp.
References getPrefix().
Referenced by getPrefix(), Schema::SchemaValidator::instance(), and WsdlPull::WsdlInvoker::invoke().
void XmlSerializer::flush | ( | ) |
Definition at line 413 of file XmlSerializer.cpp.
Referenced by endDocument(), and WsdlPull::WsdlInvoker::invoke().
std::string XmlSerializer::getNamespace | ( | void | ) |
Definition at line 463 of file XmlSerializer.cpp.
std::string XmlSerializer::getName | ( | ) |
Definition at line 469 of file XmlSerializer.cpp.
int XmlSerializer::getDepth | ( | ) |
Definition at line 475 of file XmlSerializer.cpp.
XmlSerializer & XmlSerializer::text | ( | std::string | txt | ) |
XmlSerializer & XmlSerializer::text | ( | std::string | txt, | |
int | start, | |||
int | len | |||
) |
Definition at line 488 of file XmlSerializer.cpp.
void XmlSerializer::cdsect | ( | std::string | data | ) |
Definition at line 495 of file XmlSerializer.cpp.
void XmlSerializer::comment | ( | std::string | comment | ) |
Definition at line 504 of file XmlSerializer.cpp.
void XmlSerializer::processingInstruction | ( | std::string | pi | ) |
Definition at line 512 of file XmlSerializer.cpp.