27 #include "../../se/InlineContent.h"
28 #include "../../xml/Reader.h"
29 #include "../../xml/Writer.h"
41 std::string encondingValue = reader.
getAttr(
"enconding");
42 assert(encondingValue ==
"xml" || encondingValue ==
"base64");
EncodingType getEncoding() const
TESERIALIZATIONEXPORT te::se::InlineContent * ReadInlineContent(te::xml::Reader &reader)
InlineContent is XML or base64 encoded content in some externally-defined format that is included in ...
InlineContent is XML- or base64-encoded encoded content in some externally-defined format that is inc...
This class models a XML reader object.
virtual bool next()=0
It gets the next event to be read.
virtual void writeStartElement(const std::string &qName)
virtual void writeAttribute(const std::string &attName, const std::string &value)
virtual std::string getElementValue() const =0
It returns the element data value in the case of VALUE node.
virtual void writeEndElement(const std::string &qName)
TESERIALIZATIONEXPORT void Save(const te::fe::Filter *filter, te::xml::Writer &writer)
EncodingType
The format type of encoded data.
const std::string & getData() const
virtual void writeValue(const std::string &value)
virtual NodeType getNodeType() const =0
It return the type of node read.
virtual std::string getElementLocalName() const =0
It returns the local part of the element name in the case of an element node.
virtual std::string getAttr(const std::string &name) const =0
It returns the attribute value in the case of an element node with valid attributes.
This class models a XML writer object.