diff --git a/alib2xml/src/sax/SaxComposeInterface.cpp b/alib2xml/src/sax/SaxComposeInterface.cpp index a283ef4d8755956103fc15668b0a2b564375008e..2c495057c1e8b5a24b9a7a87913aed35010622c3 100644 --- a/alib2xml/src/sax/SaxComposeInterface.cpp +++ b/alib2xml/src/sax/SaxComposeInterface.cpp @@ -110,6 +110,11 @@ void SaxComposeInterface::xmlSAXUserCompose(xmlTextWriterPtr writer, const ext:: namespace { -auto SaxComposeInterfaceString = registration::AbstractRegister < sax::SaxComposeInterface, std::string, const ext::deque < sax::Token > & > ( sax::SaxComposeInterface::composeMemory ); +auto SaxComposeInterfaceString = registration::AbstractRegister < sax::SaxComposeInterface, std::string, const ext::deque < sax::Token > & > ( sax::SaxComposeInterface::composeMemory, "in" ).setDocumentation ( +"Composes the XML to a string.\n\ +\n\ +@param in list of xml tokens\n\ +@return resulting XML as string\n\ +@throws CommonException when an error occurs (e.g. xml tokens incorrectly nested)" ); } /* namespace */ diff --git a/alib2xml/src/sax/SaxParseInterface.cpp b/alib2xml/src/sax/SaxParseInterface.cpp index 8e3874970edd53efe5ca74291f7e93c462c0c5d2..0a1971fefc402bafdcd30d8bd2ff823c91005d9b 100644 --- a/alib2xml/src/sax/SaxParseInterface.cpp +++ b/alib2xml/src/sax/SaxParseInterface.cpp @@ -127,6 +127,11 @@ int SaxParseInterface::xmlSAXUserParse(xmlTextReaderPtr reader, ext::deque<Token namespace { -auto SaxParseInterfaceToken = registration::AbstractRegister < sax::SaxParseInterface, ext::deque < sax::Token >, const std::string & > ( sax::SaxParseInterface::parseMemory ); +auto SaxParseInterfaceToken = registration::AbstractRegister < sax::SaxParseInterface, ext::deque < sax::Token >, const std::string & > ( sax::SaxParseInterface::parseMemory, "xmlIn" ).setDocumentation ( +"Parses the string containing XML.\n\ +\n\ +@param xmlIn input XML\n\ +@return parsed list of xml tokens\n\ +@throws CommonException when an error occurs (e.g. XML is not valid)" ); } /* namespace */